Stripe API Credentials
The first step to using Stripe with Ninja Forms is getting your API credentials. Please see the guides below for assistance.
Collecting Payment With Stripe
Note: Credit card fields have been deprecated in the builder as of v3.0.13 (12 February 2018). These fields will now appear in the Stripe Checkout modal automatically and do not need to be added to the form.
There are many ways to collect Stripe payments with Ninja Forms Stripe. You can have
- A fixed payment on each form where every user pays the exact same amount
- A dynamic payment (changes per user based on quantity or other factors)
- Add a user to a recurring payment plan
- Any combination of the above
For example, you can add a collect payment action for a static “starter” fee, and ALSO add the user to a recurring payment plan at the same time.
To get started, in the form builder, open your “Emails and Actions” menu and click “Add New Action.”
Choose the “Collect Payment” action
Choose “Stripe” as your payment gateway.
You can change between Live and Test Mode keys under the Advanced Settings of the Stripe / Collect Payment Action.
Stripe also provides a list of test credit cards that you can use:
Test Card Example: