New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero currency converter #1463
Comments
@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. |
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: