fixes on tran flow

This commit is contained in:
2026-03-26 19:53:24 +02:00
parent ce1e73448f
commit 2f01bc0a3e
7 changed files with 51 additions and 30 deletions

View File

@@ -62,17 +62,18 @@ class GatewayController extends ChangeNotifier {
model.status = response['status'];
transactionController.model.paymentStatus = response['paymentStatus'];
finishLoading();
if(model.status == 'SUCCESS') {
transactionController.updateReceiptData(response);
}
notifyListeners();
} catch (e) {
finishLoading();
logger.e(e);
_showErrorSnackBar(
"Network error. Please try again or contact support",
);
}
finishLoading();
}
Future<void> pollTransaction(String uid) async {