#Iliyan
1 messages ยท Page 1 of 1 (latest)
Hello, I don't fully understand your question. Are you getting an error when you try to use some currency with these customers?
Can you send me the request ID of a time that you got an error if so? https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It's not an error but customers are by default created with EUR currency and I need them to be with USD
I am using this api request https://stripe.com/docs/api/customers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
there's this setting when creating a customer through the UI
is there an API equivalent?
Unfortunately not at the moment, it looks like that field is dashboard only for the time being. I can put in a feature request to expose this through the API though
Can I ask what your use case for this is? I can think of why this will be helpful but can include your use case too
We currently support just a single currency, there's probably a way to handle that
based on what is the customer's default currency set?
If you only support one currency, the customer should have this field set on them to that currency after their first transaction. Are you running in to something where they have another currency set on them?
Is it possible to accept cards in any currency but have a product/coupons set just for a single one?
and have autoconversion between the card currency and the product currency
Hi there ๐ taking over for @ripe parcel
Give me a few minutes to get caught up.
You can define how much to take off in each currency using this field: https://stripe.com/docs/api/coupons/object#coupon_object-currency_options
is that what you're looking for?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
nope, sorry maybe I am explaining this badly
Stripe.StripeException: The price specified supports currencies of usd which doesn't include the expected currency of eur.
I am getting this exception because the product has a single price which is in USD
but the customer's currency is EUR (and I have no idea how that is set)
If you want to use your product/price for both currencies youll need to set an amount in each currency here: https://stripe.com/docs/api/prices/object#price_object-currency_options
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but is it possible to have a customer's default currency set to USD?
and if they pay with a card that's in EUR have autoconversion to USD?
Sorry for the wait. I'm juggling a few other threads.
Taking a look. now
So the presentment currency (e.g. the currency that the customer's card issuer is sending the funds in) will always be what the card issuer is sending to Stripe. If you have a Product in EUR and the customer pays in USD, it will be automatically converted to USD upon arrival