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

Issue with Icelandic(ISK) currency and Adyen not following the ISO standard. #1085

Closed
hjalmar opened this issue Apr 11, 2023 · 3 comments
Closed

Comments

@hjalmar
Copy link

hjalmar commented Apr 11, 2023

I'm currently trying to handle Icelandic(ISK) currency with this extension. Adyen deviates from the standard and expects the cent amount to have 2 decimals while commercetools assumes 0. https://docs.adyen.com/development-resources/currency-codes (see the notes box)
image

I have gotten it to work with a workaround of converting the cent amount by padding it with 2 decimals. It seems to work fine with the exception of it being formatted wrong in the commercetools admin. But I'm also not sure and why I'm creating this issue.

Is that the way to go or is there any other, more proper way to handle this case?

The actual cent amount in commercetools 2790. So adyen expects it to be 279000 and why amountPlanned here is formatted as 279,000 because ISK does not have any decimals.
image

@hjalmar
Copy link
Author

hjalmar commented Apr 28, 2023

Anyone have any thoughts on my issue?

@butenkor
Copy link
Collaborator

Hi @hjalmar It does not matter what commercetools assumes since the amount passed to Adyen is taken as is from the payload the Adyen web-component JS generates. If amount does not have the required format please adjust your web components payload before you set it to commercetools.

@merijndebeer-adyen
Copy link
Collaborator

Dear reporter, we would like to notify you that the Adyen x CommerceTools integration has changed ownership. From July 1st 2023, Adyen has taken over support / maintenance tasks for this integration from CommerceTools. Thank you for your product feedback. We will take your suggestion into consideration and prioritize accordingly. If you are experiencing any ongoing issues with this integration please contact Adyen Support and we will make sure you will get the answers you need to get going.

@merijndebeer-adyen merijndebeer-adyen closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants