You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Working with multiple currencies is difficult since there are zero decimal currencies.
We have to create and calculate the conversions and mappings, and it seems like a repetitive task that every Stripe customer has to manage.
@itaied246 We don't have plans to add something like this in the near future at least. We don't want to hardcode the list in the libraries as they would be wrong for all users once we add new currencies that are zero decimal. A possibility would be to add an API for this that the library could hit, so that even as we add new currencies it still stays up to date.
I'll tag as future and we'll see if we gather more interests but we've only seen a handful of asks for something like this over the years.
An API that helps you get all supported currencies (each with properties to determine if it is a zero-decimal or not) will be highly appreciated.
Another additional feature could be the ability to fetch supported currencies based on the different properties listed above.
Is your feature request related to a problem? Please describe.
Working with multiple currencies is difficult since there are zero decimal currencies.
We have to create and calculate the conversions and mappings, and it seems like a repetitive task that every Stripe customer has to manage.
Describe the solution you'd like
Add zero decimal converter function (for example, https://www.npmjs.com/package/zero-decimal-currencies).
I don't want to use external unsupported libraries, I prefer using Stripe's implementation.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: