Home Stripe Webhook
Post
Cancel

Stripe Webhook

Why Webhook?

  • To ensure security, Stripe hosts the payment session, which means our server remains unaware of the payment session’s status as it takes place exclusively on the Stripe website. To address this, we can leverage Stripe’s webhook to initiate calls to our backend API, allowing us to update our order information accordingly.
  • here is the diagram about how webhook is working on our server and frontend. strip

  • Button 组件的话,用 child 比较好。
This post is licensed under CC BY 4.0 by the author.