isTransactionCompleted method

Future<bool> isTransactionCompleted({
  1. required PaywayCheckTransaction transaction,
})

isValidate

will return true if transaction completed otherwise false

Implementation

Future<bool> isTransactionCompleted(
    {required PaywayCheckTransaction transaction}) async {
  var result = await this.checkTransaction(transaction: transaction);
  return (result.status == 0);
}