Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anto-beslie-zynerd opened this issue May 23, 2022 · 3 comments
Assignees

Comments

@anto-beslie-zynerd
Copy link

No description provided.

@anto-beslie-zynerd anto-beslie-zynerd changed the title in order 100x of actual 'amount' field in order and payment response is 100x the actual amount May 23, 2022
@anto-beslie-zynerd
Copy link
Author

anto-beslie-zynerd commented May 23, 2022

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
Copy link
Contributor

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants