Open trent-codecov opened 2 months ago
I think I have found what I am looking for https://docs.stripe.com/billing/subscriptions/pending-updates This describes the issue we are having, how to implement this fix, and other scenarios to build for.
https://docs.stripe.com/billing/subscriptions/pending-updates-reference
Initial implementation didn't work, getting errors that are blocking the subscription upgrades. Including this param conflicts with other params on the .modify() call, so I need to look at those, see what they are doing and whether they can be changed or removed.
partially reverted my change, removed payment_behavior. Going to assign this to the sprint that aligns with my next support rotation.
Slack thread
The flow with Stripe and our plan system is not healthy - I have the feeling there is something we are missing with our stripe integration that will make this work the way we want.
an upgrade invalidates the current subscription. When something errors with the upgrade, we are unable to recreate or fallback to the previous subscription. we've run into this issue twice now where customer has annual plan, customer upgrades, payment method fails on the upgrade, but the result is that the customer is bumped back down to free tier, losing the other seats that they paid for on the annual plan.
My summary and plan from the slack thread: