checkPaymentStatus method
Check Payment Status
Implementation
Future<PaymentStatus> checkPaymentStatus({required String hashMac, required String transactionId}) async {
CheckStatusResponse response = await _bedeApi.checkStatus(
request: CheckStatusRequest(mid: _merchantDetails.merchantID, merchantTxnRefNo: [transactionId], hashMac: hashMac),
);
return response.paymentStatus.first;
}