requestPayment method

void requestPayment({
  1. Payload? payload,
  2. BootpayDefaultCallback? onError,
  3. BootpayDefaultCallback? onCancel,
  4. BootpayCloseCallback? onClose,
  5. BootpayDefaultCallback? onIssued,
  6. BootpayConfirmCallback? onConfirm,
  7. BootpayAsyncConfirmCallback? onConfirmAsync,
  8. BootpayDefaultCallback? onDone,
  9. required BuildContext context,
})

Implementation

void requestPayment({
  Payload? payload,
  BootpayDefaultCallback? onError,
  BootpayDefaultCallback? onCancel,
  BootpayCloseCallback? onClose,
  BootpayDefaultCallback? onIssued,
  BootpayConfirmCallback? onConfirm,
  BootpayAsyncConfirmCallback? onConfirmAsync,
  BootpayDefaultCallback? onDone,
  required BuildContext context,
}) {

  _bootpayWebView?.requestPayment(
    payload: payload,
    onCancel: onCancel,
    onError: onError,
    onClose: onClose,
    onIssued: onIssued,
    onConfirm: onConfirm,
    onConfirmAsync: onConfirmAsync,
    onDone: onDone
  );
}