Skip to main content
Log inSign up
Anchor to SubscriptionBillingAttemptErrorCode

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.

•

The amount is too small.

Anchor to AUTHENTICATION_ERRORAUTHENTICATION_ERROR
•

There was an error during the authentication.

Anchor to BUYER_CANCELED_PAYMENT_METHODBUYER_CANCELED_PAYMENT_METHOD
•

Payment method was canceled by buyer.

Anchor to CARD_NUMBER_INCORRECTCARD_NUMBER_INCORRECT
•

Card number was incorrect.

•

Customer is invalid.

•

Customer was not found.

Anchor to EXPIRED_PAYMENT_METHODEXPIRED_PAYMENT_METHOD
•

Payment method is expired.

•

Fraud was suspected.

•

Insufficient funds.

Anchor to INSUFFICIENT_INVENTORYINSUFFICIENT_INVENTORY
•

Not enough inventory found.

Anchor to INVALID_CUSTOMER_BILLING_AGREEMENTINVALID_CUSTOMER_BILLING_AGREEMENT
•

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

Anchor to INVALID_PAYMENT_METHODINVALID_PAYMENT_METHOD
•

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

Anchor to INVALID_SHIPPING_ADDRESSINVALID_SHIPPING_ADDRESS
•

The shipping address is either missing or invalid.

Anchor to INVENTORY_ALLOCATIONS_NOT_FOUNDINVENTORY_ALLOCATIONS_NOT_FOUND
•

No inventory location found or enabled.

Anchor to INVOICE_ALREADY_PAIDINVOICE_ALREADY_PAID
•

A payment has already been made for this invoice.

Anchor to PAYMENT_METHOD_DECLINEDPAYMENT_METHOD_DECLINED
•

Payment method was declined by processor.

Anchor to PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIGPAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG
•

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

Anchor to PAYMENT_METHOD_NOT_FOUNDPAYMENT_METHOD_NOT_FOUND
•

Payment method was not found.

Anchor to PAYMENT_PROVIDER_IS_NOT_ENABLEDPAYMENT_PROVIDER_IS_NOT_ENABLED
•

Payment provider is not enabled.

Anchor to PAYPAL_ERROR_GENERALPAYPAL_ERROR_GENERAL
•

Paypal Error General.

Anchor to PURCHASE_TYPE_NOT_SUPPORTEDPURCHASE_TYPE_NOT_SUPPORTED
•

Purchase Type is not supported.

•

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

•

Transient error, try again later.

•

There was an unexpected error during the billing attempt.


Was this section helpful?