OrderTransactionErrorCode

A standardized error code, independent of the payment provider.

Show definition

# A standardized error code, independent of the payment provider.
enum OrderTransactionErrorCode {
  # The payment method was invalid.
  AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD

# The maximum amount has been captured. AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED

# The maximum amount has been refunded. AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED

# The maximum of 10 authorizations has been captured for an order. AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED

# The maximum of 10 refunds has been processed for an order. AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED

# The order was canceled, which canceled all open authorizations. AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED

# The order was not confirmed within three hours. AMAZON_PAYMENTS_STALE

# Call the card issuer. CALL_ISSUER

# The card was declined. CARD_DECLINED

# There is an error in the gateway or merchant configuration. CONFIG_ERROR

# The card is expired. EXPIRED_CARD

# The address does not match the card number. INCORRECT_ADDRESS

# The CVC does not match the card number. INCORRECT_CVC

# The card number is incorrect. INCORRECT_NUMBER

# The entered PIN is incorrect. INCORRECT_PIN

# The ZIP or postal code does not match the card number. INCORRECT_ZIP

# The format of the CVC is incorrect. INVALID_CVC

# The format of the expiry date is incorrect. INVALID_EXPIRY_DATE

# The format of the card number is incorrect. INVALID_NUMBER

# The card has been reported as lost or stolen, and the card issuer has # requested that the merchant keep the card and call the number on the back. PICK_UP_CARD

# There was an error while processing the payment. PROCESSING_ERROR

# A real card was used but the gateway was in test mode. TEST_MODE_LIVE_CARD

# The gateway or merchant configuration doesn't support a feature, such as network tokenization. UNSUPPORTED_FEATURE }

Values

UNSUPPORTED_FEATURE

The gateway or merchant configuration doesn't support a feature, such as network tokenization.

AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED

The maximum amount has been captured.

AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED

The maximum amount has been refunded.

AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED

The maximum of 10 authorizations has been captured for an order.

AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED

The maximum of 10 refunds has been processed for an order.

AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED

The order was canceled, which canceled all open authorizations.

AMAZON_PAYMENTS_STALE

The order was not confirmed within three hours.

CALL_ISSUER

Call the card issuer.

CARD_DECLINED

The card was declined.

CONFIG_ERROR

There is an error in the gateway or merchant configuration.

EXPIRED_CARD

The card is expired.

INCORRECT_ADDRESS

The address does not match the card number.

INCORRECT_CVC

The CVC does not match the card number.

INCORRECT_NUMBER

The card number is incorrect.

INCORRECT_PIN

The entered PIN is incorrect.

INCORRECT_ZIP

The ZIP or postal code does not match the card number.

INVALID_CVC

The format of the CVC is incorrect.

INVALID_EXPIRY_DATE

The format of the expiry date is incorrect.

INVALID_NUMBER

The format of the card number is incorrect.

PICK_UP_CARD

The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.

PROCESSING_ERROR

There was an error while processing the payment.

TEST_MODE_LIVE_CARD

A real card was used but the gateway was in test mode.

AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD

The payment method was invalid.

Sign up for a Partner account to get started.

Sign up