checkout static method
Sends a CheckoutRequest to Lio and waits until the payment is finished or canceled to execute callback
Implementation
static checkout(
CheckoutRequest request, Function(PaymentResponse response) callback) {
_paymentService!.checkout(request, callback);
}