File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -482,15 +482,16 @@ function check_tcompayway_response()
482
482
483
483
// Return if is error during installation
484
484
// Back to homepage
485
- if (!isset ($ _POST ['ShoppingCartID ' ])) {
486
- $ text = '<html><meta charset="utf-8"><body><center> ' ;
487
- $ text .= __ ('Redirecting... ' , 'tcom-payway-wc ' );
488
- $ text .= '</center><script>setTimeout(function(){ window.location.replace(" ' . home_url () . '"); },1500);</script></body></html> ' ;
485
+ // commented due of infinite loop
486
+ //if (!isset($_POST['ShoppingCartID'])) {
487
+ // $text = '<html><meta charset="utf-8"><body><center>';
488
+ // $text .= __('Redirecting...', 'tcom-payway-wc');
489
+ // $text .= '</center><script>setTimeout(function(){ window.location.replace("' . home_url() . '"); },1500);</script></body></html>';
489
490
490
- echo $ text ;
491
+ // echo $text;
491
492
492
- exit ;
493
- }
493
+ // exit;
494
+ // }
494
495
495
496
if (!$ _POST ['Amount ' ]) {
496
497
$ amount = 0 ;
You can’t perform that action at this time.
0 commit comments