#edgarsantiago93.

1 messages · Page 1 of 1 (latest)

weak agateBOT
jolly goblet
#

Hello! What's the error?

hazy lynx
#

Hello! im using the upcomingInvoiceApi and getting this
The price specified supports currencies of cad which doesn't include the expected currency of usd

#

i looked around SO and got this

Customers are single currency, meaning that you can only have subscriptions (and invoices, balances etc) in one currency. Once the default currency for the customer is set, it cannot be changed. If you need Subscriptions in two currencies, you will need to manage two Stripe Customers for your real-world customer.

This does not restrict your ability to create one-time payments for that Customer (such as with the Payment Intents API) in any supported currency.

#

but im not sure if thats defined on the docs or why would that happen

jolly goblet
#

That's mostly correct. A Customer can only have one "active" currency at a time. For example, a Customer can have multiple USD Subscriptions active at once, but they can't have a USD and a CAD Subscription active at the same time.

#

They can have a USD Sub first, then it gets canceled, and then they can have a CAD Sub. Or vice versa.

hazy lynx
#

oohh i see, that makes sense! so in order to "switch" currencies beyond just displaying a diferent one to the user, theyd have to cancel their currnet one

jolly goblet
#

Yep.

hazy lynx
#

awesome, ill add an extra check for existing subscriptions, thank you!

jolly goblet
#

Actually...