fix: pass currency to razorpay checkout
This commit is contained in:
parent
0f7d8e7903
commit
fdff13cb29
2 changed files with 2 additions and 0 deletions
|
|
@ -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 }}",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ expected_keys = (
|
|||
"payer_name",
|
||||
"payer_email",
|
||||
"order_id",
|
||||
"currency"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue