cancelPayment static method
Sends a CancelRequest to Lio and waits until the cancelment is finished or canceled to execute callback
Implementation
static cancelPayment(
CancelRequest request, Function(PaymentResponse response) callback) {
_cancelService!.cancelPayment(request, callback);
}