withCheckoutError(op: () => Promise<CheckoutSessionResult>): Promise<CheckoutSessionResult>
Wrap a checkout operation, converting PaymentUserError to { error } result and swallowing unexpected errors as null. Used by both provider adapters.
op: () => Promise<CheckoutSessionResult>
Promise<CheckoutSessionResult>