move from embedded to redirect
This commit is contained in:
@@ -85,14 +85,16 @@ class ConfirmController extends ChangeNotifier {
|
||||
if (transactionController.model.selectedPaymentProcessor.authType == "WEB") {
|
||||
if (context.mounted) {
|
||||
if(kIsWeb){
|
||||
context.push('/gateway-web');
|
||||
// the one we use here depends on when mpgs embedded bug will be fixed
|
||||
// context.push('/gateway-web');
|
||||
context.push('/gateway-redirect');
|
||||
}else {
|
||||
context.push('/gateway');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
await pollTransaction(transactionController.model.receiptData?['id']);
|
||||
context.push('/integration');
|
||||
context.push('/poll');
|
||||
}
|
||||
} else {
|
||||
model.status = response['status'];
|
||||
|
||||
Reference in New Issue
Block a user