#Stealth-invoice-currency
1 messages · Page 1 of 1 (latest)
@tired dome hi! not sure what you mean. The preview uses the currencies of the Prices you use (either within subscription_items , or the Prices on the subscription you're getting the upcoming invoice of)
Hey. All our prices are in EUR. However, we have customers whose currency is not EUR. We will charge them in EUR but would like to display prices and preview invoice in their local currency.
What would be the best way to achieve that? Creating different prices for each currency seems quite ineffective.
we have customers whose currency is not EUR
can you explain that a bit? To be clear, there is a 'lock' on Customer objects in Stripe for currency, if you have a Customercus_xxxwith a EUR subscription you can't charge them invoices in USD. https://support.stripe.com/questions/setting-a-customers-default-currency
Creating different prices for each currency seems quite ineffective.
hmm that's the only way though, it's how it works! Stripe doesn't do any automatic currency conversion, you as the merchant choose the amounts and currencies you charge your customers in!
Oh, I see. I know we can charge only in EUR. I was hoping there is a way to display price in different currencies, even though it is always charged in EUR.
Preview some of the features available in our prebuilt, hosted payment page.
Does this example here has price item for each country?
That is what we want to achieve with our custom solution.
yes that example assumes you have multiple Prices, and it's switching between them when you change the customer
the idea being you would have business logic to choose the correct Price to use for a given customer, when creating the CheckoutSession
I agree it's confusing and you're the second person in a week to be confused by that, I wouldn't have built the demo that way myself as it makes it look like we do automatic conversion, but we don't
aha. so user is always charged in currency defined in price? There is no way to set price with manual conversions (for example, manually define that item is EUR=10€ or USD=12$, etc... but charge them in EUR?
define that item is EUR=10€ or USD=12$, etc... but charge them in EUR?
I really don't understand what you mean by that actually. But the amount the customer is charged is defined by the Price yes! If you want to charge them $10, you pass a Price withunit_amount:1000currency:"usd"and if you want to charge them €10 you pass a Price withunit_amount:1000currency:"eur"