Skip to content
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

[BUG] ISK formatting issue #3986

Closed
Thithip opened this issue Sep 5, 2024 · 0 comments · Fixed by #3987
Closed

[BUG] ISK formatting issue #3986

Thithip opened this issue Sep 5, 2024 · 0 comments · Fixed by #3987
Labels

Comments

@Thithip
Copy link
Contributor

Thithip commented Sep 5, 2024

Summary

When processing a payment in ISK (Iceland) currency, the amount displayed on the Stripe Widget is wrong by adding two extra zeros.
The amount here is 2000 ISK, but the Stripe Widget displays 200000 ISK:
isk_issue

Thanks to this documentation, ISK is now a zero-decimal currency since the 14 of April 2023, but we still need to add the two zeros at the end of the amount.

iOS version

17.5

SDK version

23.28.3

Other information

This issue seems to be similar to this one: #3747

As I've tried the solution used for the issue with IDR currency, I've made a PR: #3987
I only mimic the fix you've made months ago, but please check if I've right understood the documentation about this currency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant