#Gautam
1 messages · Page 1 of 1 (latest)
Hi there
yes
So you can install the Stripe package in your backend using npm
Then you write your webhook handler code in your backend
There isn't an npm package specifically for webhooks
In terms of an integration guide, you want to follow: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
You can also refer to our quickstart: https://stripe.com/docs/billing/quickstart?client=react
Which actually has React examples
Hmm actually the quickstart is only for Stripe Checkout
You want to create a custom flow here?
Is it necessary to use the WebHooks?
For Subscriptions, yes.
And in general they are highly recommended.
But you need to be able to handle async actions with Subscriptions, like when a renewal payment fails you need to stop provisioning access.
Also webhooks is used in the the server side code or Client side code?
Server side
See: https://stripe.com/docs/webhooks and https://stripe.com/docs/webhooks/quickstart for how to build your webhook handler
Thank you very much for help.