withCheckoutError(op: () => Promise<CheckoutSessionResult>): Promise<CheckoutSessionResult>
Wrap a checkout operation, converting PaymentUserError to { error } and letting unexpected failures propagate. Used by both provider adapters.
op: () => Promise<CheckoutSessionResult>
Promise<CheckoutSessionResult>