○ Linking payment provider Stripe to aNewSpring
You can use Stripe to make the payment process for the catalogue a lot easier, because learners will receive an access code for their cours(es) right after their payment has been confirmed. Stripe is known for safely processing online payments, which can help to gain your customers' trust when it comes handling their payment and personal details discretely.
The benefit of Stripe is that you will only start paying once you've sold something.
1) Create an account
You can do this at https://stripe.com/us
2) Send the linking data to aNewSpring
We need the following details. Please fill in this form and send it to aNewSpring at support@anewspring.com.
- Publishable key. After logging in, click Developers --> API keys on top of the page on the right side.
- Secret key. Click the button Reveal key.
- Desired payment methods. Possibilities: iDeal or Credit card.*
- Desired currency. Possibilities: Euro or US Dollars*
- Signing secret. Click Developers and click Webhooks then on . Enter the link to the learning environment followed by /stripe at URL to be called, for example cactuscourse.anewspring.com/stripe. Select the following events to receive in Stripe:
- source.chargeable
- source.failed
- source.canceled
- charge.pending
- charge.succeeded
- charge.refunded
- charge.failed
- checkout.session.completed
- checkout.session.expired
- checkout.session.async_payment_succeeded
- checkout.session.async_payment_failed
- payment_intent.created
- payment_intent.succeeded
- payment_intent.payment_failed
Finally, click the URL and then Click to reveal to find the Signing secret.
*Do let us know if you need the option of another payment method or currency.
3) Activate the payment methods in Stripe
Go to Settings and then Payments methods. Click on the Turn on button for iDEAL and/or Cards.
Please note that if you activate iDeal, you provide us with the '_live_' secret and publishable keys, which can be found under API. The keys with '_test_' are only meant to test the connection. You can find the test results at Logs.
4) Test the Stripe payment process
If you want to test the Stripe payment process with the live keys, you can create a catalogue product for this on the Reseller page. Then you can purchase the product in the catalogue and follow all the steps.
The minimum amount Stripe supports is €0,50. The minimum price of the catalogue product should therefore be €0,50.