Browse Source

add back FPS auto cancel

CR003
Alex Cheung 8 months ago
parent
commit
fe84a6f046
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/pages/Payment/FPS/FPS.js

+ 2
- 2
src/pages/Payment/FPS/FPS.js View File

@@ -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);


Loading…
Cancel
Save