stripe-firebase-extensions icon indicating copy to clipboard operation
stripe-firebase-extensions copied to clipboard

Expose pause_collection in Subscription document

Open abierbaum opened this issue 2 years ago • 1 comments

Feature request

  • Extension name: firestore-stripe-payments

Is your feature request related to a problem? Please describe.

I do not see any details in a subscription document that lets you know payment is paused.

Describe the solution you'd like

Expose the pause_collection data from the Stripe Subscription object. (see: https://stripe.com/docs/api/subscriptions/update#update_subscription-pause_collection)

Describe alternatives you've considered

Considered calling the Stripe API directly, but have been trying to keep all Stripe details within the extension.

Additional context

None.

abierbaum avatar Oct 26 '22 22:10 abierbaum

Did you ever figure this out? I'm actually trying to determine when a customer pauses their subscription as well. Seems like a huge bug that a customer can sign up to the subscription and then pause it for 6+ months and get it for free. Any workarounds?

scole954387 avatar Apr 17 '23 00:04 scole954387