#Vijay Deepak

1 messages · Page 1 of 1 (latest)

grizzled tulipBOT
crisp skiff
#

Can you share a cus_xxx where this is problematic?

wild swallow
#

cus_MikQeUe0iBEVQu

crisp skiff
#

This sub I guess? sub_1LzIxOIWPQey6m2YBaTKh4ZC

wild swallow
#

Yes

crisp skiff
#

Can you share the portal session ID? bps_xxx

wild swallow
#

bps_1LzJSxIWPQey6m2YD02wwVru

crisp skiff
#

I suspect it's because the configuration you're using the create the session only offers upgrades to 2 USD prices

#

So that cus_MikQeUe0iBEVQu is a INR customer, and can't subscribe to USD prices

wild swallow
#

I'm not trying to change the currency. This is a INR customer and want to update quantity in INR.

#

This is the configuration i used to create the session:
com.stripe.param.billingportal.SessionCreateParams params = new com.stripe.param.billingportal.SessionCreateParams.Builder()
.setReturnUrl("")
.setCustomer(id)
.build();
com.stripe.model.billingportal.Session portalSession = com.stripe.model.billingportal.Session.create(params);

crisp skiff
#

Yes, but the configuration you're passing when creating the session allows for users to upgrade/downgrade. Because those Price objects are USD, it's preventing the update button from being enabled

wild swallow
#

Thanks for your help. I'll try this.