fix: pass currency to razorpay checkout

This commit is contained in:
Jannat Patel 2022-05-31 12:51:02 +05:30
parent 0f7d8e7903
commit fdff13cb29
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ $(document).ready(function(){
var options = {
"key": "{{ api_key }}",
"amount": cint({{ amount }} * 100), // 2000 paise = INR 20
"currency": "{{ currency }}",
"name": "{{ title }}",
"description": "{{ description }}",
"subscription_id": "{{ subscription_id }}",

View file

@ -17,6 +17,7 @@ expected_keys = (
"payer_name",
"payer_email",
"order_id",
"currency"
)