Stripe Webhook Api

Please ensure you have added the webhook secret as per the configuration.

The minimum Stripe API version is 2024-11-20

If you cannot use this version, please install a newer version of the Stripe.net NuGet package, which matches the Stripe API versions available in your account. Use the Stripe.net changelog to find which version of the NuGet package you need.

NOTE: When upgrading between major versions of the Stripe.net NuGet package, there may be breaking changes, if you encounter these and have a paid license, open a support ticket; otherwise, open an issue on the tracker

You can configure Stripe to send the webhook request to the below api:

/umbraco/api/StripeWebhookApi/CheckoutEvents

This will trigger the following notifications

Event
Notification

CheckoutSessionAsyncPaymentFailed

CheckoutSessionAsyncPaymentSucceeded

To be able to test the Webhook on localhost you need to install the Stripe CLI you can find the instructions on how to configure the CLI to test the Webhook on the Stripe website using the link below, look for step 3 entitled "Test the webhook":

https://stripe.com/docs/webhooks/quickstart?lang=dotnet#run

Last updated