#victorbjorklund - customer portal

1 messages · Page 1 of 1 (latest)

reef drift
#

Hi there!

#

Can you share the customer ID (cus_xxx)?

fervent totem
#

cus_LyHZ20mHyhxoCK

reef drift
#

Thanks! This customer already has a premium plan active. So what where you expecting to see in the customer portal?

fervent totem
#

To be able to switch to standard plan. I want them to be able to switch between plans. Maybe I'm totally missunderstanding how it works.

#

How it looks like in the "preview". Something like that Im looking for

rough palm
#

Hey, taking over here. Can you share the ID of the Customer Portal session?

fervent totem
#

Is it this one? bps_1LHqv3FhTCVgY1SVc3VqDT13

rough palm
#

Taking a look!

#

Hmm, not immediately sure. Can you generate a new session and paste the ID here? I'll check the URL

fervent totem
#

From stripe cli

rough palm
#

Hmm, not sure

#

Can you confirm the Price/Product IDs you want to be able upgrade to?

fervent totem
#

Premium plan prod_LkC9HyCt53ZMYd with price price_1L2hlTFhTCVgY1SVenmOCbLu and standard plan prod_Lzmx5HX5Z3S9CW with price price_1LHnNLFhTCVgY1SVDHQjiYGg

rough palm
#

Ok, figured it out

#

Seems it's because the tax behaviour set on the Price objects is different

#

price_1L2hlTFhTCVgY1SVenmOCbLu is exclusive.
price_1LHnNLFhTCVgY1SVDHQjiYGg is inclusive.

fervent totem
#

Ahaa. Makes sense.

rough palm
#

Looking at the source code, that will prevent any updates

#

i.e. you can't switch from an exclusive to an inclusive price

fervent totem
#

Ill try to change it to they are the same.

rough palm
#

Hope that resolves it! I will make sure the docs are updated to list this limitation

fervent totem
#

Thanks! Now it works 🙂 Yea, do that because im sure im not the only one making that mistake when "playing" around to test stuff (guess less common when closer to prod since you probably make sure it inclusive or exclusive then).