You are viewing beta documentation for Formie 4.x.
Payments
Stripe
Follow the below steps to connect to the Stripe API.
Step 1. Create the Integration
- Navigate to Formie → Settings → Payments.
- Click the New Integration button.
- Select Stripe as the Integration Provider.
Step 2. Connect to the Stripe API
- Go to your Stripe Developers - API Keys page in your Stripe dashboard.
- On the top-right of your screen, ensure the Test Mode lightswitch is in the off position if you wish to use Live details, or on if you wish to use Test details.
- Copy the Publishable Key from Stripe and paste in the Publishable Key field in Formie.
- Copy the Secret Key from Stripe and paste in the Secret Key field in Formie.
- We strongly recommend you use
.envvariables to store these keys.
Step 3. Test Connection
- Save this integration.
- Click on the Refresh button in the right-hand sidebar.
Step 4. Configure Webhooks (for subscriptions)
- In order for subscriptions to work, you must populate some settings for webhooks.
- In Stripe, on the left-hand sidebar menu, click Developers.
- On the top sub-menu, click Webhooks.
- Click the Create an event destination button.
- Copy the Redirect URI from the Formie integration settings and paste in the Endpoint URL in Stripe.
- Click the Select Events button under the "Select events to listen to" heading.
- We recommend emitting all possible events, but the required events are:
customer.subscription.createdcustomer.subscription.deletedcustomer.subscription.updatedinvoice.createdinvoice.payment_failedinvoice.payment_succeededpayment_intent.succeededpayment_intent.payment_failedpayment_intent.canceledplan.deletedplan.updated
- Once created look for the Signing secret item and click Reveal Secret.
- Copy the Signing secret from Stripe and paste in the Webhook Signing Secret field in Formie.
Step 5. Field Setting
- Go to the form you want to enable this integration on.
- Add a Payment field to your form.
- Select Stripe for the Payment Provider.
Your form must use the Ajax (Client-side) submission method when using the Stripe payment integration in your form.
The Stripe payment integration supports both once-off payments and subscription-based payments.
Last updated: June 2, 2026, 3:49:56 PM