#maximum.comfy
1 messages ยท Page 1 of 1 (latest)
it's charging 100x what it says on the form
Hi ๐
A few questions:
- What form?
- What Stripe products are you using?
- How do you create the Charge/Payment Intent?
payment elements, but I think I just figured it out
USD wants the amount in cents
so I multiply the amount * 100, it does not want that for japanese yen it will charge 100 times the amount ๐
is there a list of currencies stripe wants in cents vs the normal amount? USD and EUR seem to be cents but JPY I need to exclude from that calculation
Yes the amount represents whatever the lowest denomination is for that currrency, which I understand can be tricky when different currencies use different approaches
is there some kind of list I can check before I say yes to supporting another currency
The term "cents" doesn't make sense here. It is just whatever the lowest denomination is.
Our doc on supported currencies has some information and you might find the min/max charge amount table useful for this
https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts
so if I don't see a decimal on there
that's an indication I shouldn't multiply it?
like HUF and JPY shouldn't multiply ^
or how do i read this
Yes that is accurate