Skip to main content

PaymentErrorCode

An enumeration of possible error codes for payment operations.

enum PaymentErrorCode {
BILLING_ADDRESS_NOT_SET
GRAPHQL_ERROR
INVALID
NOT_FOUND
REQUIRED
UNIQUE
PARTIAL_PAYMENT_NOT_ALLOWED
SHIPPING_ADDRESS_NOT_SET
INVALID_SHIPPING_METHOD
SHIPPING_METHOD_NOT_SET
PAYMENT_ERROR
NOT_SUPPORTED_GATEWAY
INSUFFICIENT_STOCK
}

Values

PaymentErrorCode.BILLING_ADDRESS_NOT_SET

PaymentErrorCode.GRAPHQL_ERROR

PaymentErrorCode.INVALID

PaymentErrorCode.NOT_FOUND

PaymentErrorCode.REQUIRED

PaymentErrorCode.UNIQUE

PaymentErrorCode.PARTIAL_PAYMENT_NOT_ALLOWED

PaymentErrorCode.SHIPPING_ADDRESS_NOT_SET

PaymentErrorCode.INVALID_SHIPPING_METHOD

PaymentErrorCode.SHIPPING_METHOD_NOT_SET

PaymentErrorCode.PAYMENT_ERROR

PaymentErrorCode.NOT_SUPPORTED_GATEWAY

PaymentErrorCode.INSUFFICIENT_STOCK

Member Of

PaymentError object

Was this page helpful?