#mohamade

1 messages · Page 1 of 1 (latest)

quiet dragonBOT
rich spade
#

hello!

1- Is my understanding correct that Stripe does not handle proration for metered pricing when the user upgrades in the middle of the billing cycle and we should handle charging and invoices for the user in our backend?

yes, Stripe doesn't handle proration for metered pricing

2- You know the Stripe, i need one advice, when a user in our application change his plan, which one is better (when all our prices are metered), create a new subscription (using session checkout) and edit it in the webhook or just edit the old Subscription with the new product/prices?

It's up to you. I'd suggest trying both flows to see which works best for you

3- Session checkout (subscription mode): Am i correct by saying that we can not pass the current existing subscription to the session checkout? and session checkout will always create a new subscription? Why I am asking because when user creates account in our system we in the back create the subscription for him but in trial mode and no payment information at that time, at the end of trial we want to ask the user to actually subscribe to the same plan or different one (we need promotion/coupon so we can not use SetupIntent) but we do not want session checkout to create another subscription.

Yes, Checkout is for the customer to subscribe to a new Subscription - The customer can still subscribe to a Subscription with a trial using Checkout. If you don't want to collect the payment method upfront, you can choose to pass in payment_method_collection=if_required : https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection

No, you can't pass a current existing subscription.