|
|
@ -31,8 +31,8 @@ |
|
|
console.log(response); |
|
|
console.log(response); |
|
|
if (response.status == "created") { |
|
|
if (response.status == "created") { |
|
|
let options = { |
|
|
let options = { |
|
|
"key": "[[${keyId}]]", |
|
|
|
|
|
//"key": "rzp_test_tDkHFEqWXmuEi8", // Enter the Key ID generated from the Dashboard |
|
|
|
|
|
|
|
|
// "key": "[[${keyId}]]", |
|
|
|
|
|
"key": "rzp_test_tDkHFEqWXmuEi8", // Enter the Key ID generated from the Dashboard |
|
|
"amount": response.amount, // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise |
|
|
"amount": response.amount, // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise |
|
|
"currency": "INR", |
|
|
"currency": "INR", |
|
|
"name": "Greater Chennai Corporation", |
|
|
"name": "Greater Chennai Corporation", |
|
|
@ -54,7 +54,7 @@ |
|
|
text: "Congratulations! Payment completed successfully.", |
|
|
text: "Congratulations! Payment completed successfully.", |
|
|
icon: "success", |
|
|
icon: "success", |
|
|
confirmButtonText: "OK" |
|
|
confirmButtonText: "OK" |
|
|
}).then((result) => { |
|
|
|
|
|
|
|
|
}).then((result) => { |
|
|
|
|
|
|
|
|
if (result.isConfirmed) { |
|
|
if (result.isConfirmed) { |
|
|
$('#pageLoader').show(); |
|
|
$('#pageLoader').show(); |
|
|
@ -71,7 +71,7 @@ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
}, |
|
|
}, |
|
|
"prefill": { |
|
|
"prefill": { |
|
|
"name": "", |
|
|
"name": "", |
|
|
|