Docs
Dashboard

CartPaymentSessionInitializeError

Union

Possible results returned for cart payment session initialize error.

#

Possible Types


CartNotFoundError
CartNotFoundError

This exception is thrown when a cart with the specified ID cannot be found.

PaymentGatewayChannelMismatchError
PaymentGatewayChannelMismatchError

This exception is thrown when the payment gateway cannot be used with the cart due to channel mismatch.

PaymentGatewayNotFoundError
PaymentGatewayNotFoundError

This exception is thrown when a payment gateway is not found.

PaymentGatewaySessionInitializeFailedError
PaymentGatewaySessionInitializeFailedError

This exception is thrown when initializing the payment session fails at the provider.

PaymentGatewayUnavailableError
PaymentGatewayUnavailableError

This exception is thrown when the payment gateway is not available for the cart context.