fixes on tran flow
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user