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
Describe the bug
We rollbacked to Adyen Web v6.0.3 (release before PR #2811 was merged). ApplePay modal on that version shows the amount properly when trying to purchase something. However, upon sending a /payment request to Adyen, we get a response:
Since ApplePay component deals with decimal amount, and we send in minor unit requests to Adyen backend, our current assumption is that the backend isn't checking the amounts properly (comparing Apple token's decimal amount to our minor units amount). I'm not sure where the issue lies.
If we trick the modal into showing the amount in minor units (say 10,000 for a 100 ISK transaction), then 100 ISK is charged.
However, from a customer standpoint, confirm to pay an amount 100x than what it is, not really happening :)
To Reproduce
Steps to reproduce the behavior:
Implement a website with the Adyen Drop-In component.
Initiate a transaction using ISK as the currency.
Set the amount.value as the payment value in minor units (e.g., 10,000 for a 100 ISK transaction).
Go through with the payment.
Payment will be denied.
Expected behavior
Payment processed normally.
Desktop (please complete the following information):
Tested on MacOS (Macbook Pro M1) in Safari browser.
Additional context
This issue should be very easy to reproduce by configuring a payment in ISK and going through with it.
Describe the bug
We rollbacked to Adyen Web v6.0.3 (release before PR #2811 was merged). ApplePay modal on that version shows the amount properly when trying to purchase something. However, upon sending a
/payment
request to Adyen, we get a response:Since ApplePay component deals with decimal amount, and we send in minor unit requests to Adyen backend, our current assumption is that the backend isn't checking the amounts properly (comparing Apple token's decimal amount to our minor units amount). I'm not sure where the issue lies.
If we trick the modal into showing the amount in minor units (say 10,000 for a 100 ISK transaction), then 100 ISK is charged.
However, from a customer standpoint, confirm to pay an amount 100x than what it is, not really happening :)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Payment processed normally.
Desktop (please complete the following information):
Additional context
This issue should be very easy to reproduce by configuring a payment in ISK and going through with it.
Originally posted by @dimitri-dev in #2922 (comment)
The text was updated successfully, but these errors were encountered: