Stripe Checkout Integration
Integrate Stripe and Zesty.io to easily collect fees or donations.
Stripe Checkout makes collecting a fee or donation easier than ever.
First, make sure you set up your API Keys in the Stripe Settings:
Once you've set up your API keys, you can add the necessary code:
You should see a button that looks like this:
Stripe Button Example
When clicked it will bring a modal that looks like this:
Stripe Checkout Modal Example
Note: Zesty will automatically use your test Stripe API key if you are on the development preview URL (the one that looks like abcdef-dev.preview.zestyio.com).
After the card details are submitted the user will be redirected to the URL you specify in the
success_redirectvalue (if successful), or to the
failure_redirectURL if unsuccessful.
Note that the endpoint for the form
actionis slightly different (
This is a workaround for Stripe having set plan prices. If you submit a new subscription (via Zesty) with a interval of
monthand a price of
999. It will check if a plan
monthly-9.99exsits. If it doesn't, it will create it. Either way, it will create a new subscription to that plan. See the below the code example below. Note: the endpoint for this is also slightly different (