Description Usage Arguments Details
Run this at the start of every stripeR session.
1 | stripeR_init(live = FALSE)
|
live |
TRUE If the payments should be against your live Stripe account. |
Set up your Stripe API keys first via:
options('stripeR.secret_test') <- SECRET_TEST_KEY
options('stripeR.secret_live') <- SECRET_LIVE_KEY
options('stripeR.public_test') <- PUBLIC_TEST_KEY
options('stripeR.public_live') <- PUBLIC_LIVE_KEY
Then run stripeR_init()
to initialise your Stripe API session.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.