onFailure method
dynamic
onFailure(
- PaymentFailureResponse response,
- dynamic failureLitener
Registers event listeners for payment failures events
Implementation
onFailure(PaymentFailureResponse response, failureLitener) {
failureLitener(UniPaymentResponse(
response.error!['description'], false, response.error!['reason']));
}