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