razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
124 stars 107 forks source link

[CRITICAL] Payment amt value mapping varies in RazorPay UI #264

Closed samartu-labs closed 4 years ago

samartu-labs commented 4 years ago

The Payment value defined to call Razor component and the value appears in Razor UI varies. Eg. if the amount sent as Rs.1187 in the Razor UI it appear as 11.87 and it deductes same wrong value from bank or any payment method. Refer attached screenshot with code integrated, note the highlighted area in the screenshot razorPay_bug

react-native-cli: 2.0.1 react-native: 0.62.1 Platform: Any Android devive

samartu-labs commented 4 years ago

Closing the issue, since the payment to be sent in Paisa as per Doc integer The transaction amount, expressed in the currency subunit, such as paise (in case of INR). For example, for an actual amount of ₹299.35, the value of this field should be 29935.