Seting up Stripe WebHook
Webhook setting is required to make sure some features work.
Webhooks allow Stripe to send messages to your website when certain “events” take place. For example, if a payment is refunded in Stripe, Stripe can automatically send a notification to your webhook to let it know.
Stripe uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer’s bank confirms a payment, a customer disputes a charge, or a recurring payment succeeds. Learn more about stripe webhooks.
- Checkout Form
- Digital Payment (WeChat, Alipay, Apple Pay, Google Pay ...)
- Click Developer -> WebHooks, click
- To get the endpoint Url, we need to go back in Stripe Express Setting tab, and you should see a field
Stripe WebHook, copy the url or click the copy icon.
- Back to stripe end point dialog, paste the endpoint url.
Version, Select your current API version, In the
events to send, type
Payment Intentto select all related events, also type
Sourceto select source events, then save it.
generating a signature for webhook can protect your endpoint to be abused from outside very much.
Copy the value to webhook signature in stripe express setting: