isRecoverableFailure property
Whether the sheet remains open and permits the customer to retry.
Implementation
bool get isRecoverableFailure => switch (type) {
PaymentSheetEventType.checkoutLoadFailed ||
PaymentSheetEventType.paymentAttemptFailed =>
true,
_ => false,
};