#kurage6566

1 messages · Page 1 of 1 (latest)

pure pumiceBOT
rotund anvil
#

The next time you provide the Customer Portal, you can configure to disable plan change

#

Each Customer Portal takes a Configuration object

amber bison
#

Thank you.
I am sorry, but could you please teach me how I can set this up?

rotund anvil
#

It's to create a BillingPortal.Configuration first, and there you can disable plan changes

amber bison
rotund anvil
#

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

amber bison
#

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?

rotund anvil
#

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

#

Let's try this with flow type = subscription_update . I think it will immediately close after the customer choose a plan

amber bison
#

Thanks! Captain.
I figured this out.
I will try this.

It seems to take a long time, may I continue here later?