Add a Stripe webbook

This tutorial relates to Contact Form 7 – PayPal & Stripe Add-on Pro


Webhook configuration

The Stripe payment gateway can automatically detect purchases in your Stripe account.

Our plugins create a webhook for you, and you simply need to tell Stripe where it is.

1. To add the appropriate webhook endpoints, in your Stripe dashboard go to Developers → Webhooks (direct link). We recommend creating two webhook endpoints: one for test mode and one for live mode. If you create both, you’ll need to repeat the below process after toggling modes.

2. Click + Add Endpoint

3. Add the following URL:

https://example.com/?cf7pp_notice=stripewebhook

Note: Replace “example.com” with your actual site URL.

4. Listen to: Select “Events on your account”

5. Version should be set to “Latest API version”.

6. Select events to listen to: Select All Events or if you want to limit to only the required events you can select the following events:

checkout.session.completed
7. Click add endpoint.

 

 

Here is what it should look like when adding a webhook: