Procházet zdrojové kódy

add back FPS auto cancel

master
Alex Cheung před 1 rokem
rodič
revize
fe84a6f046
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/pages/Payment/FPS/FPS.js

+ 2
- 2
src/pages/Payment/FPS/FPS.js Zobrazit soubor

@@ -308,7 +308,7 @@ const Index = () => {
clearInterval(currentTimer.current); clearInterval(currentTimer.current);
setqrCodeTimeout(true) setqrCodeTimeout(true)
setTimeDownCount(0); setTimeDownCount(0);
// cancelPayment()
cancelPayment()
}else{ }else{
setTimeDownCount(timedowncount); setTimeDownCount(timedowncount);
} }
@@ -326,7 +326,7 @@ const Index = () => {
"paymentid": fpsTransctionData.paymentid "paymentid": fpsTransctionData.paymentid
}, },
onSuccess: function(){ onSuccess: function(){
// navigate('/paymentPage/fps/ackpage');
navigate('/paymentPage/fps/ackpage');
let page = '/paymentPage/fps/ackpage'; let page = '/paymentPage/fps/ackpage';
let stateParams = { state: { transactionid: paymentData.transactionid} } let stateParams = { state: { transactionid: paymentData.transactionid} }
navigate(page, stateParams); navigate(page, stateParams);


Načítá se…
Zrušit
Uložit