#slobfntsy_docs

1 messages ยท Page 1 of 1 (latest)

fleet driftBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1309482093956300891

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

strange drift
#

๐Ÿ‘‹ happy to help

obtuse garden
#

Hi

#

I hope you have good day

strange drift
#

would you mind sharing the request ID?

obtuse garden
#

ok let me ask a coleague to create one that will fail with the error

#

give me few moments

#

req_Cims2YOmemd1uS

strange drift
#

the price you're passing is price_1QNu5H2RoPUP7utLd0tdQiHO

#

and its currency is SEK

obtuse garden
#

or its just matter of product price configuration so the product should define price in EUR as well so this to be supported ?

strange drift
#

so you can't set the currency of the checkout session to be EUR

#

the price and the checkout session need to have the same currency

obtuse garden
#

i see and the target currency for the connected account is decided based on country that they select in onboard

strange drift
#

nothing to do with that

#

the problem with the request you shared is that the checkout.currency is eur whereas the checkout.line_items.data[0].price.currency is SEK

obtuse garden
#

yes i understand that , it was just additional question , for sake of simplicity we let connected accounts to define prices for their products and as it is stands now , we let the user define one price with currency related to the country they selected in the onboard

#

that will in turn limit the options in the checkout like we see now

fleet driftBOT
fleet turret
#

to be clear an account can accept payment in almost any currency(presentment currency), it doesn't have to be limited to the currency it can settle in (settlement currency)

obtuse garden
#

@fleet turret Hi thanks for the clarification

#

basicly like @strange drift already pointed out "the price and the checkout session need to have the same currency" should always be true

fleet turret
#

yes they do, and both of those are the presentment currency, they're not related to settlement. a SE Stripe account can present a payment in USD, it will just be converted to SEK when paid out to their bank account

obtuse garden
#

Im just confused since "presentment" currency is not something we can set as a separate field , it is actually the "currency" field in the price object model correct ?

fleet turret
#

yes

obtuse garden
#

great thank you !