#jan_code
1 messages ยท Page 1 of 1 (latest)
๐ 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/1242463307009490986
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ can you share the ID of a request where you're creating a Payment Intent like that?
pm_1PIrhJKZJqVGx1Wt2oFM0rzl
That's the ID of a Payment Method, can you help me understand how that's related here?
Was that created by one of the Payment Intents that experienced the behavior you described?
If so, the request to create that Payment Intent did not include any metadata, and explicitly had the currency set to usd:
https://dashboard.stripe.com/test/logs/req_V380fW8cC3yWWc
It doesn't seem to align with the code that you shared.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
But why? I mean, I set the currency to 'eur' and added metadata
I don't know. Did you save and deploy the code after making the changes?
The list of supported presentment currencies based on country is available here:
https://docs.stripe.com/currencies#presentment-currencies
But we aren't changing the currency in that request.
We're being sent a value of usd for the currency.
It seems like the code that you shared is not the same as the code making the request, and I'm not sure why that would be offhand. My best guess would be that the server wasn't restarted, or maybe there are multiple paths to create a Payment Intent and they behave differently right now.