Stripe Webhook Api

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

Please ensure you have configured the Stripe API version to:

2023-08-16

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

/umbraco/api/StripeWebhookApi/CheckoutEvents

This will trigger the following notifications

EventNotification

CheckoutSessionAsyncPaymentFailed

CheckoutSessionAsyncPaymentSucceeded

CheckoutSessionCompleted

CheckoutSessionExpired

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