|
|
@@ -90,7 +90,7 @@ const Index = () => { |
|
|
|
}, |
|
|
|
// "locale":"<locale>", |
|
|
|
// "eserviceid":"<eserviceid>", |
|
|
|
"returnurl": window.location.hostname+"/paymentPage/success" |
|
|
|
"returnurl": "http://"+window.location.hostname+"/paymentPage/success" |
|
|
|
}, |
|
|
|
onSuccess: function(responseData){ |
|
|
|
/* |
|
|
@@ -105,17 +105,7 @@ const Index = () => { |
|
|
|
} |
|
|
|
|
|
|
|
const cancelPayment = () => { |
|
|
|
HttpUtils.post({ |
|
|
|
url: paymentPath + cancelPaymentUrl, |
|
|
|
params: { |
|
|
|
"transactionid": paymentData.transactionid, |
|
|
|
"webtoken": paymentData.webtoken, |
|
|
|
"paymentid": paymentid |
|
|
|
}, |
|
|
|
onSuccess: function () { |
|
|
|
navigate("/dashboard"); |
|
|
|
} |
|
|
|
}); |
|
|
|
navigate("/dashboard"); |
|
|
|
} |
|
|
|
|
|
|
|
const getIcon = () => { |
|
|
|