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
The .Net SDK seems to be sending the incorrect amount to the InitiateAuthentication method. If I send a decimal defined with 1 decimal place, it sends an authentication amount that is 10 times too small.
The .Net SDK seems to be sending the incorrect amount to the InitiateAuthentication method. If I send a decimal defined with 1 decimal place, it sends an authentication amount that is 10 times too small.
e.g.
When I see the 3D Secure 2 challenge popup it will show that it is authenticating for the amount of 10.00 Euro!
However if in the above code I declare amountToAuthenticatefor as 100.00M (notice 2nd decimal place) it will correctly authenticate for 100.00 Euro.
What is the reason for this bahaviour? Is this a bug? Or the SDK shifting the decimal to ensure 2 characters after the decimal?
The text was updated successfully, but these errors were encountered: