瀏覽代碼

fix bug

master
Anna Ho 1 年之前
父節點
當前提交
d5257a68d4
共有 1 個檔案被更改,包括 2 行新增12 行删除
  1. +2
    -12
      src/pages/Payment/Card/index.js

+ 2
- 12
src/pages/Payment/Card/index.js 查看文件

@@ -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 = () => {


Loading…
取消
儲存