### [How to Enable Stripe Test Mode in WordPress](https://wpforms.com/how-to-enable-stripe-test-mode-in-wordpress/)

**Published:** July 5, 2023
**Author:** Osama Tahir

**Excerpt:** Testing payments is vital to ensure your checkout process is free from bugs and provides a frictionless customer experience. 

Thankfully, you can easily do this in WordPress using WPForms' native Stripe integration. 

Check out our detailed tutorial to learn how you can run tests on your payments without any code.

**Content:**

Do you want to test your Stripe payments in WordPress before taking real transactions?

It’s critical to have a smooth payment process that allows customers to make transactions on your site without any issues.

By testing your payment integration, you can verify your checkout process and fix any issues before launching your form to collect real payments from customers.

In this post, we’ll show you how to enable Stripe test mode in WordPress so you can simulate credit card processing in a safe environment,

[Test Stripe Payments in WordPress Now](https://wpforms.com/pricing/)

### What’s the Purpose of the Stripe Test Mode?

The Stripe test mode gives you a testing environment where you can simulate transactions without incurring real charges. You can use test credit cards to make these simulated transactions with Stripe, allowing you to safely try your checkout process and fine-tune it to ensure the best customer experience.

## How to Enable Stripe Test Mode in WordPress

When you’re ready to test your Stripe payment integration in WordPress, just follow the steps below:

### 1. Install WPForms

WPForms is the best-rated form builder for WordPress that lets you create all kinds of payment and order forms.

It comes with a native Stripe integration that lets you perform test transactions. And when you’re ready to accept live payments, you can do so with a click of a button.

Stripe payments are available in all WPForms license levels (including [WPForms Lite](https://wpforms.com/wpforms-lite-vs-pro/)).

While you can test your Stripe payments and accept real transactions in the free version of WPForms, we recommend[ WPForms Pro](https://wpforms.com/pricing/) to unlock tons of advanced features and remove the additional 3% transaction fees.

![WPForms Pricing Page 2023](https://wpforms.com/wp-content/uploads/2022/01/WPForms-149-Plus-Pricing.png)

After choosing a plan that works for you, go ahead and[ install WPForms on your WordPress site](https://wpforms.com/docs/install-wpforms-plugin/).

Great! It’s time to set up the Stripe connection with WPForms and enable test payment mode.

### 2. Enable Stripe Test Mode

Open your WordPress admin menu and click **WPForms » Settings**. Then, navigate to the **Payments** tab.

![Opening the WPForms payments settings](https://wpforms.com/wp-content/uploads/2021/01/open-wpforms-payments-settings.png)

On this screen, you can connect to Stripe and enable the test mode to stop Stripe from processing real payments.

Scroll down and select the checkbox next to **Test Mode**.

![Select test mode](https://wpforms.com/wp-content/uploads/2023/06/select-test-mode-1.png)

After selecting the Test Mode checkbox, you’ll see a modal popup to alert you that you’ll have to reconnect to Stripe when you decide to switch to live payment processing. Click on **OK** to proceed.

![Heads up display Stripe](https://wpforms.com/wp-content/uploads/2023/06/heads-up-display-stripe-1.png)

Now, press the **Save Settings** button to stay in the Test Mode.

![Save settings](https://wpforms.com/wp-content/uploads/2023/06/save-settings-4.png)

All that remains now is to connect your Stripe account with WPForms. To do this, press the blue **Connect with Stripe** button.

![Connect with Stripe](https://wpforms.com/wp-content/uploads/2023/06/connecting-with-stripe.png)

You’ll now be taken to the Stripe login form. Simply enter your Stripe email and password and follow on-screen instructions to establish connection.

![Stripe login form](https://wpforms.com/wp-content/uploads/2023/06/filling-stripe-form.png)

**Note:** You can skip the Stripe login form entirely for making test payments by clicking on the **Skip this form** button at the top. But it’s necessary to fill out this form and establish connection with Stripe for live payments.

When you’re done, return to the WPForms Payments screen. You’ll notice that the Connection Status now confirms that you’re connected in Test Mode.

![Connection status in Stripe](https://wpforms.com/wp-content/uploads/2023/06/connection-success-stripe-1.png)

The [Stripe webhook](https://wpforms.com/how-to-set-up-wordpress-stripe-webhook-without-woocommerce/) will now configure automatically when you connect your site to Stripe. It will try the autoconfiguration several times in the background.

Excellent! In the next step, we’ll create a payment form for performing tests with Stripe.

### 3. Create a Form to Test Stripe Payments

WPForms makes it incredibly easy to create payment forms. To save time, it gives you over 2,100+ ready-made form templates.

You can create a new form and use a template by going to **WPForms » Add New** from your WordPress dashboard.

![Add new form](https://wpforms.com/wp-content/uploads/2023/05/add-new-form-updated.png)

You’ll now be taken to the form setup screen. Enter a name for your form. This can be anything and is only used for your reference internally.

![Naming a form](https://wpforms.com/wp-content/uploads/2023/06/naming-form.png)

After naming your name, scroll down and select an appropriate template. We’ll use the Stripe payment form template for this example.

![Use the stripe payment form template](https://wpforms.com/wp-content/uploads/2023/06/use-stripe-payment-form-template.png)

After selecting the template, WPForms will take only a few seconds to load it.

Once the templated is loaded, you can make customizations to suit your specific needs.

![Stripe payment form template loaded](https://wpforms.com/wp-content/uploads/2023/06/stripe-payment-form-template-loaded-1.png)

For instance, you can include the actual items that you want to be selling by changing the options under the Multiple Items field in this template.

![Multiple items field options](https://wpforms.com/wp-content/uploads/2023/06/multiple-items-field-options.png)

Remember that you’ll be putting the same form in front of your customers when you’re ready to publish it after testing. So try not to use an incomplete form just because you’re focused on testing it at this stage.

After customizing your form, press the **Save** button at the top.

### 4. Configure Stripe Payments

The Stripe Credit Card field in your form will only process payments (real or test) after you’ve enabled payments from the form builder settings.

Click on **Payments** » **Stripe** on the left of your form builder. Then, click on the **Enable Stripe Payments** toggle button.

![Enabling Stripe payments Stripe addon](https://wpforms.com/wp-content/uploads/2023/02/enable-stripe-payments-1.png)

When you’ve done that, you’ll see additional options appear for payment processing with Stripe. These settings are optional but it’s a good idea to configure them.

You can also test [recurring subscription payments](https://wpforms.com/how-to-accept-recurring-payments-on-your-wordpress-forms/) if that’s the payment method you want to test. By default, Stripe will only charge one-time payments.

Perfect! The form is now ready for testing. Make sure to press **Save** before proceeding.

### 5. Preview the Form and Perform Tests

You don’t have to publish your form during the testing phase, so you can safely try it out without worrying about your customers discovering it.

Simply press the **Preview** button at the top next to Save to enter the preview mode of your form.

![Testing Stripe form](https://wpforms.com/wp-content/uploads/2023/06/testing-stripe-form.png)

You can simulate payments by using special test card values provided by Stripe.

#### List of Stripe Test Credit Card Numbers

These cards can be used with any CVV and any future date as the expiration date. Note that American Express cards require a 4-digit CVV, while all the other requires have a 3-digit CVV.

**Card Type****Number**Visa Credit4242424242424242Visa Debit4000056655665556Mastercard Credit5555555555554444Mastercard 2-Series2223003122003222Mastercard Debit5200828282828210Mastercard Prepaid5105105105105100American Express378282246310005Visa Credit (Canada)4000001240000000Visa Credit (Germany)4000002760000016Visa Credit (UK)4000008260000000Visa Debit (UK)4000058260000005After filling out your complete form and entering test card values, press the **Submit** button.

Congratulations! You just created your first test payment entry.

But how can you view your test payment data? We’ll cover the easy way to do that in the next step.

### 6. View Your Test Payment Data

WPForms gives you a dedicated payments screen that keeps track of all of your test and live payments for your reference.

To access the payments screen, click on **WPForms » Payments**.

![WPForms payments summary](https://wpforms.com/wp-content/uploads/2023/05/wpforms-payments-summary.png)

Inthe Payments Summary screen, you can switch between live and test payment data. Click on the **Test Data** toggle next to the date picker, and WPForms will now only display the test payments you’ve made.

![Test Data option in Payments page](https://wpforms.com/wp-content/uploads/2019/09/payments-test-data-3.png)

If you want to see additional details about any specific test entry, scroll down to the payments table and click on an entry you’re interested in.

![Individual test entry](https://wpforms.com/wp-content/uploads/2023/06/individual-test-entry.png)

You can now see complete payment details and entry summary for that specific submission.

![Viewing full details of a test payment entry](https://wpforms.com/wp-content/uploads/2023/06/full-details-test-payment.png)

Feel free to test your form repeatedly by trying different card payment methods and simulating different situations.

When you’re satisfied and ready to publish your form to start accepting live transactions from customers, just follow the next step.

### 7. Publish Your Form and Collect Real Payments

In order to allow Stripe to process real transactions, we must first switch it to live payment mode.

This can be done by returning to **WPForms » Settings** from your WordPress admin menu and then selecting the **Payments** tab.

Now, deselect the **Test Mode** checkbox.

![Deactivate Stripe test mode](https://wpforms.com/wp-content/uploads/2023/06/deactivate-test-mode.png)

Switching from Test Mode to Live Transactions requires you to reconnect with Stripe.

As before, click on the blue **Connect with Stripe** button and submit the Stripe login form to reestablish connection in live mode this time.

![Connect with stripe](https://wpforms.com/wp-content/uploads/2023/06/Stripe_connect-e1686063441648.png)

Click on **Save Settings.**

Now, return to your Stripe payment form by navigating to **WPForms » All Forms** and selecting the form you created earlier.

![Edit the Stripe test form](https://wpforms.com/wp-content/uploads/2023/06/edit-stripe-test-form.png)

After you click on the form, you’ll find yourself inside the form builder interface again. To publish this form, click on the **Embed** button at the top.

![Embed your form with the embed button](https://wpforms.com/wp-content/uploads/2023/03/Embed-Button.png)

WPForms gives you the flexibility to directly embed your form on an existing page or create a new one from scratch specifically for your form.

We’ll select **Create New Page** here.

![Embed form in new page](https://wpforms.com/wp-content/uploads/2023/02/create-new-page.png)

Enter a name for your page and click on the orange **Let’s Go** button.

![wpforms name your page box](https://wpforms.com/wp-content/uploads/2022/09/WPForms-Name-Your-Page.png)

This will take you to the WordPress block editor. The form will already be embedded inside a block within your page. If you want, you can make further changes to the page content and even [customize the styling of your form.](https://wpforms.com/how-to-style-wpforms-using-the-block-editor/)

When you’re satisfied with how the page and your form look, go ahead and press the **Publish** button.

![Publishing your payment form](https://wpforms.com/wp-content/uploads/2023/04/publish-payment-form.png)

Brilliant! Your form is now published, so you can easily collect credit card payments via Stripe from real customers.

![Publishing the Stripe test form](https://wpforms.com/wp-content/uploads/2023/06/publishing-stripe-test-form.png)

And there you have it! You’re now all set to enable Stripe Test Mode in WordPress.

### Next, Start a Monthly Giving Program

Now that you can test and work with Stripe payments within WordPress, you may want to consider [starting a monthly giving program](https://wpforms.com/start-a-monthly-giving-program/) to consistently generate donations for your cause.

Also, if you’re struggling to create enticing lead generation campaigns and not getting the results you expect, it may be time to consider using a[ powerful lead generation tool](https://wpforms.com/23-best-lead-generation-tools-to-skyrocket-your-sales/) that can take care of all the legwork for you.

[Test Stripe Payments in WordPress Now](https://wpforms.com/pricing/)

Ready to build your form? Get started today with the easiest WordPress form builder plugin. [WPForms Pro](https://wpforms.com/pricing) includes lots of free templates and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on [Facebook](https://facebook.com/wpforms) and [Twitter](https://twitter.com/easywpforms) for more free WordPress tutorials and guides.

**Categories:** WordPress Tutorials

---

