Setting Up Stripe Webhooks (Developer Mode)

Would you like to configure Stripe webhooks via the Developer menu on your Stripe dashboard? Stripe recently launched a new Workbench tool to manage integrations with third-party plugins like WPForms.

This tutorial will cover the steps to set up Stripe webhooks for WPForms through the Developer dashboard in Stripe.

While this method works to set up Stripe webhooks, we recommend using the Stripe Workbench to connect your site. Stripe has mentioned that Workbench replaces the existing Developer dashboard. For more details, see our tutorial on setting up Stripe webhooks.


Creating a Webhook Endpoint in Stripe

First, you’ll need to enable Stripe Webhooks from your WPForms settings page. Please see our tutorial for more details. After enabling Stripe Webhooks, you can then proceed to your Stripe account to create the Webhook endpoint.

In the new tab or window you’ve opened, log in to your Stripe account and open your Stripe dashboard.

When you log in to your Stripe account, you’ll find a Test mode toggle button in the top-right corner of the page. Ensure this toggle aligns with your site’s mode: if your site is in Test Mode, set the toggle to ON, and if your site is in Live Mode, make sure it’s switched OFF.

Test mode toggle button in Stripe

Next, click on the Developers option located at the top-right corner of the page.

Developers option in Stripe

Once the Developers page has opened, click on the Webhooks tab next.

Click on Webhooks tab

In the Webhooks tab, click on the Add an endpoint button to create a new webhook endpoint.

Click on Add an endpoint button

This opens a Listen to Stripe events page where you’ll need to enter details to configure your webhook.

Listen To Stripe events page

First, navigate back to the WPForms settings in your WordPress site. Once there, you’ll need to copy the Webhooks Endpoint by clicking the copy icon.

Copy Webhooks Endpoint from WPForms

Once you’ve copied the Webhooks Endpoint, switch over to your Stripe account and paste the Webhooks Endpoint into the Endpoint URL field.

Endpoint URL field

Next, while the Description field is optional, we recommend entering WPForms to easily identify the webhook’s purpose.

Then, you’ll come across the Listen to and Version options. Leave them as is and click on the + Select events button.

Select events button

In the overlay that opens, check the Select all events checkbox to ensure your Stripe account sends all events.

Select all events checkbox

After checking the Select all events checkbox, click the Add events button to finalize your event selection.

Add events button

Once done, click the Add endpoint button after scrolling down to the bottom of the page.

Add endpoint button

Retrieving Endpoint ID and Signing Secret

Once you’ve set up the webhook, Stripe will navigate you to its dedicated page. Here, you’ll be able to copy both the webhook’s ID and the Signing secret.

Webhook created in Stripe

Find the webhook’s ID displayed on the top-right of the page. Simply click on it to copy.

Copy webhooks ID

After copying the webhook ID, return to your WPForms settings and paste it into the Webhooks Live ID field.

Webhooks Live ID field

Next, head back to your Stripe account and, under the Signing secret heading, click on Reveal.

Click Reveal under Signing secret

After revealing the Signing secret, copy its value and paste it into the Webhooks Live Secret field within your WPForms settings.

Webhooks Live Secret field

Once your keys are in place, click on the Save Settings button.

After setting up Stripe webhooks with WPForms, your payment statuses will sync in real time between WPForms and Stripe. This also allows you to manage refunds and renew subscriptions directly from WPForms, without frequently accessing the Stripe dashboard. If you wish to view specific events triggered by the webhook, visit the webhooks page in your Stripe dashboard.

For more details on refunds, renewals, and understanding payment statuses, refer to our guide on viewing and managing form payments.

That’s it! Now you know how to set up Stripe webhooks with WPForms.

Next, would you like to begin accepting payment on your WordPress site? Be sure to check out our tutorial on creating a payment form in WPForms.

The Best WordPress Drag and Drop Form Builder Plugin

Easy, Fast, and Secure. Join over 6 million website owners who trust WPForms.

Please enable JavaScript in your browser to complete this form.