razorpay / razorpay-ruby

Razorpay Ruby SDK
https://rubygems.org/gems/razorpay
MIT License
64 stars 59 forks source link

'amount' field in order and payment response is 100x the actual amount #152

Open anto-beslie-zynerd opened 2 years ago

anto-beslie-zynerd commented 2 years ago

When fetching Payment or Order details through functions, like Razorpay::Payment.fetch('payment_id'), the amount returned in the Payment object is always 100 times the actual amount. Any reason for doing this?

ankitdas13 commented 1 year ago

@anto-beslie-zynerd apologise for the late response. Could you let us know if this issue has been resolved? If not, please let us know and it would be helpful if you share the currency or response of that payment id.

ankitdas13 commented 1 year ago

@anto-beslie-zynerd could you please confirm once?