Anchor to section titled 'undefined'

SubscriptionBillingAttemptErrorCode
enum

The possible error codes associated with making billing attempts. The error codes supplement the error_message to provide consistent results and help with dunning management.


value-amounttoosmall
AMOUNT_TOO_SMALL

The amount is too small.

value-authenticationerror
AUTHENTICATION_ERROR

There was an error during the authentication.

value-buyercanceledpaymentmethod
BUYER_CANCELED_PAYMENT_METHOD

Payment method was canceled by buyer.

value-cardnumberincorrect
CARD_NUMBER_INCORRECT

Card number was incorrect.

value-customerinvalid
CUSTOMER_INVALID

Customer is invalid.

value-customernotfound
CUSTOMER_NOT_FOUND

Customer was not found.

value-expiredpaymentmethod
EXPIRED_PAYMENT_METHOD

Payment method is expired.

value-fraudsuspected
FRAUD_SUSPECTED

Fraud was suspected.

value-insufficientfunds
INSUFFICIENT_FUNDS

Insufficient funds.

value-insufficientinventory
INSUFFICIENT_INVENTORY

Not enough inventory found.

value-invalidcustomerbillingagreement
INVALID_CUSTOMER_BILLING_AGREEMENT

The billing agreement ID or the transaction ID for the customer's payment method is invalid.

value-invalidpaymentmethod
INVALID_PAYMENT_METHOD

Payment method is invalid. Please update or create a new payment method.

value-invalidshippingaddress
INVALID_SHIPPING_ADDRESS

The shipping address is either missing or invalid.

value-inventoryallocationsnotfound
INVENTORY_ALLOCATIONS_NOT_FOUND

No inventory location found or enabled.

value-invoicealreadypaid
INVOICE_ALREADY_PAID

A payment has already been made for this invoice.

value-paymentmethoddeclined
PAYMENT_METHOD_DECLINED

Payment method was declined by processor.

value-paymentmethodincompatiblewithgatewayconfig
PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG

Payment method cannot be used with the current payment gateway test mode configuration.

value-paymentmethodnotfound
PAYMENT_METHOD_NOT_FOUND

Payment method was not found.

value-paymentproviderisnotenabled
PAYMENT_PROVIDER_IS_NOT_ENABLED

Payment provider is not enabled.

value-paypalerrorgeneral
PAYPAL_ERROR_GENERAL

Paypal Error General.

value-purchasetypenotsupported
PURCHASE_TYPE_NOT_SUPPORTED

Purchase Type is not supported.

Gateway is in test mode and attempted to bill a live payment method.

value-transienterror
TRANSIENT_ERROR

Transient error, try again later.

value-unexpectederror
UNEXPECTED_ERROR

There was an unexpected error during the billing attempt.


Was this section helpful?

A code corresponding to a payment error during processing.


Was this section helpful?
Map
SubscriptionBillingAttemptErrorCode

Fields from