mkharibalaji / react-native-adyen-payment

React Native Adyen Payment
https://mkharibalaji.github.io/react-native-adyen-payment/
MIT License
35 stars 35 forks source link

Amounts are not being calculated correctly #4

Closed alex-mission closed 4 years ago

alex-mission commented 4 years ago

It seems that setting the amount as a non-rounded value doesn't give an accurate amount. For example, 6499 actually displays as 64.00.

It looks to be fixed when you parse to Float before the division calculation