#h0x4rsh
1 messages · Page 1 of 1 (latest)
So that user can pay first and proceed with the updated subscription & i can show the details about the plan on that screen for what user is about to move
You can show the details in your app, and then just charge the saved payment method. Less actions needed from the customer
Although if I upgrade to a different plan with a different price it shows the payment intent screen
How are you performing this update?
Do let me know if I'm wrong.
What I'm doing is :-
-
I create a subscription with the payment behaviour as default incomplete
-
Return the latestInvoice.paymentIntent.clientSecret to the client.
-
User is shown with a payment intent screen then user approves the payment.
-
If a user is on let's say subscribed to plan1 with a monthly price & decides to move to yearly price of the same plan
I use subscription.update() with the new price.
It updates the plan on the stripe dashboard but doesn't show the payment sheet
Yes, that's correct.
But upgrade for the same plan with different price doesn't show up the payment sheet. My end goal is to allow the users to subscribe and upgrade to the plans and pay the amount instantly
Sorry, I don't follow the issue.
My end goal is to allow the users to subscribe and upgrade to the plans and pay the amount instantly
What do you mean by pay the amount? Be charged on saved payment method, or be presented with a PaymentSheet?
Can you please confirm
But upgrade for the same plan with different price doesn't show up the payment sheet. My end goal is to allow the users to subscribe and upgrade to the plans and pay the amount instantly
Is this normal ?
Plans is a deprecated object, I don't exactly know if it works the same way as items and Prices. Could you please share the Subscription ID?