#fedoraus | TOUCHPAD GAMING
1 messages · Page 1 of 1 (latest)
i have chrome extension with connected stripe checkout session
i have recuring payment
how user should cancel his sub?
They can call your backend from the frontend, and you cancel the Subscription using this API:
https://stripe.com/docs/api/subscriptions/cancel
tyty
1 more
question
if i have webhoock payament intent succeed
i i connected this webhoock to my firebase function
this webhoock retrieve the data to me after charging?
that depends on your firebase function. But you should get enough information about the PaymentIntent just from the webhook body request
Bonus: check this complete firebase function about webhooks and other firestore function
https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-payments/functions/src/index.ts#L676
thank you very much!