#desdenova_api
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/1265643011031961674
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
looking into this
if you try a PaymentIntent with amount 60, does it work?
let me try
i'm pretty sure it will work
because it worked with 50 before it just stopped working yesterday
probably because the exchange rate changed
probably because the exchange rate changed
ah yes possible
the minimum aomunt might have changed because of the exchange rate as you said. I don't have a solution except changing the amount or the currency.
according to the docs the min amount for EUR is 0.50 https://docs.stripe.com/currencies
but the error message is pretty clear: Amount must convert to at least 200 fils.
amount: 50,
currency: 'eur',
metadata: { sessionId, email, name },
setup_future_usage: "off_session",
// In the latest version of the API, specifying the `automatic_payment_methods` parameter is optional because Stripe enables its functionality by default.
automatic_payment_methods: {
enabled: true,
},
});```
i obviously specify currency EUR and 50 amount
why do i have to do the conversion?
you don't have to do any conversion, Stripe is doing it for you. but because the exchange rate changed, the 0.50 EUR is now less than 200 fils, so it fails.
i understand why it fails, i explained it myself in the beginning
but this is a bug
if the docs say 50 cents is minimum if currency is eur then this should not fail
if you think this is a bug, you can chat with Stripe Support directly: https://support.stripe.com/contact
i will