-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add missing currency information for Iceland and Bulgaria #2811
Conversation
🦋 Changeset detectedLatest commit: 2f8b203 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
Size Change: +14 B (0%) Total Size: 742 kB
ℹ️ View Unchanged
|
Quality Gate passedIssues Measures |
@@ -10,6 +10,7 @@ const CURRENCY_DECIMALS = { | |||
GHC: 1, | |||
GNF: 1, | |||
KMF: 1, | |||
ISK: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, are you sure that ISK needs to be set as zero decimal currency? In docs it clearly states that even do ISK is zero decimal, it will be used with two decimals https://docs.adyen.com/development-resources/currency-codes/#note
I'm asking this because, after this version, when i'm using dropin with CustomPay button, amount that i provide in ApplePay configuration for ISK is not same as in the version before this release. I will try to make a test on my sandbox environment and create an issue, but if you could verify this before me, even better.
Summary
In v6 we added new locales: Iceland and Bulgaria.
This PR also adds the necessary currency information for these two, non-Euro, countries
Tested scenarios
Manually tested in Chrome, Firefox & Safari that currency is identified and formatted