move from embedded to redirect

This commit is contained in:
2025-11-26 14:58:16 +02:00
parent ab19958f71
commit 28312a4989
3 changed files with 146 additions and 3 deletions

View File

@@ -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'];