You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to be able to cancel/resume/update customer subscriptions directly from my web app, without redirecting the user to the Stripe Customer Portal.
Currently, the only way I can see to make this happen, is to use the Stripe API directly, essentially circumventing the firestore-stripe-payments extension. The Stripe Customer Portal (which can currently be reached via the extension's firestore-stripe-payments-createPortalLink cloud function) offers limited functionality in this regard, and forces the user to leave the original app, which is not always desired.
If my problem can be resolved with the current functionalities of the extension, please point me in the right direction, and consider the feature request resolved.
Thank you for any assistance provided!
The text was updated successfully, but these errors were encountered:
Feature request
Is your feature request related to a problem? Please describe.
I'd like to be able to cancel/resume/update customer subscriptions directly from my web app, without redirecting the user to the Stripe Customer Portal.
Describe the solution you'd like
It'd be neat to have a cloud function (or multiple cloud functions) that come with the extension, and allow for the modification of customer subscriptions. The extension already stores the subscription IDs in firestore, which could be used as an input to the cloud function, in addition to any other arguments for the given API call. For reference, here is the Stripe API doc for the operations I'd like to use:
https://stripe.com/docs/api/subscriptions/update
https://stripe.com/docs/api/subscriptions/cancel
https://stripe.com/docs/api/subscriptions/resume
Describe alternatives you've considered
Currently, the only way I can see to make this happen, is to use the Stripe API directly, essentially circumventing the firestore-stripe-payments extension. The Stripe Customer Portal (which can currently be reached via the extension's firestore-stripe-payments-createPortalLink cloud function) offers limited functionality in this regard, and forces the user to leave the original app, which is not always desired.
If my problem can be resolved with the current functionalities of the extension, please point me in the right direction, and consider the feature request resolved.
Thank you for any assistance provided!
The text was updated successfully, but these errors were encountered: