updating sequence of flows
This commit is contained in:
@@ -84,14 +84,11 @@ class ConfirmController extends ChangeNotifier {
|
||||
if (transactionController.model.selectedPaymentProcessor.authType ==
|
||||
"WEB") {
|
||||
if (context.mounted) {
|
||||
context.push(
|
||||
'/gateway',
|
||||
extra: transactionController.model.receiptData?['targetUrl'],
|
||||
);
|
||||
context.push('/gateway');
|
||||
}
|
||||
} else {
|
||||
await pollTransaction(transactionController.model.receiptData?['id']);
|
||||
context.push('/receipt');
|
||||
context.push('/integration');
|
||||
}
|
||||
} else {
|
||||
model.status = response['status'];
|
||||
|
||||
Reference in New Issue
Block a user