githubEdit

Stripe Webhook Api

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

circle-info

The minimum Stripe API versionarrow-up-right is 2024-11-20

If you cannot use this version, please install a newer version of the Stripe.net NuGet packagearrow-up-right, which matches the Stripe API versions available in your account. Use the Stripe.net changelogarrow-up-right 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 trackerarrow-up-right

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

circle-info

To be able to test the Webhook on localhost you need to install the Stripe CLIarrow-up-right 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#runarrow-up-right

Last updated