Get access to free tutorials, exclusive content and more.

How to Accept Recurring Payments in Stripe with WordPress

As someone who manages or is considering launching a subscription-based service, you know the value of presenting seamless and secure payment options to your customers.

A crucial component of this lies in the ability to accept recurring payments in Stripe, which ensures a steady revenue stream while simultaneously simplifying the payment process and boosting security for your customers.

In this blog post, we’ll guide you step-by-step on how to accept recurring payments in Stripe using Ninja Forms, enabling your WordPress site to deliver a smooth and reliable subscription experience that your customers can trust.

Step 1. Configure the Stripe add-on for Ninja Forms.

After you have installed and activated the Stripe add-on for Ninja Forms on your WordPress site, the next step is to configure your Stripe credentials. Navigate to the Ninja Forms menu from your WordPress dashboard and go to Settings > Stripe.

Configure your Stripe add-on credentials with Ninja Forms, accept recurring payments in stripe

Enter your API keys, which can be found in your Stripe account dashboard.

✨ Make sure to use the correct keys for a test or live mode, depending on your needs.

Step 2.  Create a product subscription in your Stripe account.

Before you can accept recurring payments in Stripe, you will first need to create a product and its subscription before you can add it to your WordPress form.

First, create your Stripe product.

  1. Navigate to https://dashboard.stripe.com/login and login.
  2. Click on Products in the menu bar
  3. Click + Add ProductAdding a product with Stripe
  4. Enter a name for your product in the Name field under Product details
    • Image and Description are optional.
      Entering the Name for your Stripe subscription product

Next, create your subscription.

Within the Pricing Information section of Stripe, select the following:

      1. Under, Pricing model, select Standard Pricing.
      2. Enter the Price you wish to charge for the subscription.
      3. Select Recurring.
      4. Choose your Billing Period ( monthly by default, daily, weekly, monthly, etc.).
      5. Click Save Product.
        Steps to include Stripe Pricing Information
      6. Copy the APP ID
        Where to copy the Stripe product APP ID

How to create a variable subscription.

  1. See Next, create your subscription section ( Steps 1 through 5 ).
  2. Click + Another Price.
  3. When done, click Save Product. 
  4. Copy the APP ID for each product. 

Step 3.  Set up your WordPress form to take recurring payments

Take the APP ID from the product(s) created in the Stripe Set-Up and add them to your Ninja Form.

3A. Individual Subscription

If you are creating a subscription option that is fixed:

  1. Navigate to the Email & Actions section of your form and add the Stripe action
  2. In the Stripe action, open the Advanced drop-down
  3. Paste the APP ID to the Recurring Payment Plan ID field.

    Recurring Payment Plan ID field
  4. Save, Publish, and test your form 😊

3B. Variable Subscription

If you are creating multiple subscription options.

  1. Add the Select field to your form.
  2. Paste the APP IDs to the value field for each product.

    Select field showing where to paste the APP IDs
  3. Open the Email & Actions section of your form and add the Stripe action
  4. Within the Stripe, action open the Advanced drop-down
  5. Add the Select field to the Recurring Payment Plan ID field by way of the merge tag selector

    Select field added via merge tag
  6. Save, Publish, and test your form 😊

Start accepting recurring payments in Stripe today!

By following these steps, you can easily accept recurring payments in Stripe. Offering this feature to your customers not only simplifies their payment experience but also helps you generate a more consistent income stream.

With the Ninja Forms Stripe add-on, you can easily:

The Stripe add-on for Ninja Forms comes included in the Pro membership plan for free. So, don’t wait any longer –With our 14-day money-back guarantee, there’s no risk to transforming your website.