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 want to offer users the option to go through checkout without a payment option, which is already supported with payment_method_collection: "if_required". However, if their trial ends and they haven't provided a payment method, I'd like the subscription to be paused instead of cancelled.
Describe the solution you'd like
I believe the solution is to include the below map into subscription_data, similar to what's being done for trial_period_days. Could be as simple as exposing a field called trial_end_behavior that takes a string and defaults to "cancel".
Feature request
firestore-stripe-paymentsIs your feature request related to a problem? Please describe.
I want to offer users the option to go through checkout without a payment option, which is already supported with
payment_method_collection: "if_required". However, if their trial ends and they haven't provided a payment method, I'd like the subscription to be paused instead of cancelled.Describe the solution you'd like
I believe the solution is to include the below map into
subscription_data, similar to what's being done fortrial_period_days. Could be as simple as exposing a field calledtrial_end_behaviorthat takes a string and defaults to"cancel".Describe alternatives you've considered
I suppose I could wait for the subscription object to get created and then modify it after checkout. Not ideal though.
Additional context
n/a