onPay property
final
"Pay now" on a payment card. Return true when you handled it; false
falls back to the web checkout, when showExternalCheckout allows it.
Implementation
final FutureOr<bool> Function(BuildContext context, PaymentCard payment)? onPay;