#dragon.frost
1 messages · Page 1 of 1 (latest)
You'd utilise webhooks for this
is there a example that uses a webhook for this particular situation?
Well this is a general overview: https://stripe.com/docs/billing/subscriptions/webhooks
But it depends what data you want to save and when?
can we listen to the webhook on the frontend as well?
No they require a server/backend. You can obviously receive notifcation of the initial payment confirmation synchronously as that will be complete on-session by your customer
Will the webook be called instantly everytime? After each purchase I would want to update my database and send that info after the update is successful to the frontend.
What do you think is the best way to do this?