pay
Payment processing (Stripe, PayPal, etc).
Load with: use pay
Quick example
use pay
result = stne(10)
prn(result)
Functions
Stripe
stne(sk)
Creates a new instance. Takes sk.
stct(c, em)
Performs the operation. Takes c, em.
stgt(c, id)
Performs the operation. Takes c, id.
stpm(c, ty, tok)
Performs the operation. Takes c, ty, tok.
stpmt(c, cid, pmid)
Performs the operation. Takes c, cid, pmid.
stpi(c, am, cur, cid, pmid)
Performs the operation. Takes c, am, cur, cid, pmid.
stpcf(c, id)
Performs the operation. Takes c, id.
pasts(c, cid, prid)
Performs the operation. Takes c, cid, prid.
stsbc(c, sid)
Performs the operation. Takes c, sid.
stpr(c, nm, ds)
Processes or prints. Takes c, nm, ds.
stpr(c, prid, am, cur)
Processes or prints. Takes c, prid, am, cur.
stwhv(c, pd, sg)
Performs the operation. Takes c, pd, sg.
PayPal
ppne(cid, cs, sn)
Creates a new instance. Takes cid, cs, sn.
ppau(c)
Performs the operation. Takes c.
ppor(c, am, cur)
Performs the operation. Takes c, am, cur.
pprca(c, oid)
Performs the operation. Takes c, oid.
pppo(c, em, am, cur)
Performs the operation. Takes c, em, am, cur.
ppwhv(c, hd, bd, sk)
Performs the operation. Takes c, hd, bd, sk.
Generic
paywh(hd, bd, sg)
Performs the operation. Takes hd, bd, sg.
Notes
- Payment processing helpers - Stripe-compatible abstractions.