Payments with Stripe quick start
Accepting recurring payments using Stripe is super easy with Sjabloon. From the pricing page, way down to the receipts for your customer—it’s all included, so you can focus on the core of your app.
To get you going in no-time. Here is a quick-start:
- Get your
public_key
,private_key
and yoursigning_secret
(for “webhooks”) for your Stripe account (be aware of the difference between “test” and “live” in Stripe—use ”test” in your local development first to test) and add these to your credentials by runningEDITOR="vim -f" rails edit:credentials --environment development
(vim
can be replaced by your favourite text editor) - Within your Stripe account add your product’s plans (Sjabloon assumes monthly and annual plans)
- Once done, run
rake stripe:fetch:plans
. This will get all your plans from Stripe and add these to your database - Check http://localhost:5000/pricing to see the result
- You are done! ✨🤑