Open chromonav opened 4 years ago
@chromonav is the issue only that it shows ₹5 or that it ends up accepting ₹5 instead of USD 5?
There are the following issues:
@chromonav is the issue only that it shows ₹5 or that it ends up accepting ₹5 instead of USD 5?
Yes @kennethsequeira if we add the parameter "currency":"{{currency}}" in frappe apps/frappe/frappe/templates/includes/integrations/razorpay_checkout.js with suitable context it works.
Also, currently in the supported currency list, other countries supported by Razorpay are not present.
We have done those necessary changes and would be willing to resolve this bug and raise a pull request. Just not sure how to get started.
@chromonav glad to know you'd like to contribute.
As a starter, you can have a look at the contribution guidelines:
https://github.com/frappe/erpnext/wiki/Contribution-Guidelines
@chromonav will you be raising a PR with your changes?
@kennethsequeira Yes plan to do that tentatively by 15th
razorpay_checkout.js does not have a currency field.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
Create a checkout URL with the following code:
Observed result
The amount is shown in Rupees (Default Currency).
Expected result
Should have been in the currency with which the integration request was made
Additional information
adding
"currency":"{{currency}}",
param inapps/frappe/frappe/templates/includes/integrations/razorpay_checkout.js
would resolve the issue.