#kurage6566
1 messages · Page 1 of 1 (latest)
The next time you provide the Customer Portal, you can configure to disable plan change
Each Customer Portal takes a Configuration object
Thank you.
I am sorry, but could you please teach me how I can set this up?
Sure, this Doc could explain better than me: https://stripe.com/docs/customer-management/integrate-customer-portal
It's to create a BillingPortal.Configuration first, and there you can disable plan changes
Thank you very much.
On the other hand, I want to allow a plan change the first time, and after making the plan change, I don't want to continue to allow plan changes.
I'll post a few pictures.
By the way, you look like Captain Levi.
Wonderful.
Yes so first time you use a Configuration allowing plan changes. Next time you use a Configuration doesn't allow. You would want to control which Configuration to use by your logic
Because I am not good at English,
Please let me send it to you for confirmation.
I think a custom portal session will be created when you press "change plan" at A.
Then, when you change the plan and come back to E, it will be the same session as B, I think.
Therefore, I think that B and E will have the same settings.
Am I misunderstanding something?
Oh I see, so that's one session
No you are correct. In this case it's the same session, so same configuration
hmm
Ok so with this current flow, there is no config to help you hide the option when it comes back to E. It's basically the same as B
I think you can consider a different approach, ie. Customer Portal deeplink https://stripe.com/docs/customer-management/portal-deep-links
Let's try this with flow type = subscription_update . I think it will immediately close after the customer choose a plan
Thanks! Captain.
I figured this out.
I will try this.
It seems to take a long time, may I continue here later?