stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionBillingAttemptErrorCode

AdminTypes.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.

Signature:

export declare enum SubscriptionBillingAttemptErrorCode 

Enumeration Members

Member Value Description
AmountTooSmall "AMOUNT_TOO_SMALL" The amount is too small.
AuthenticationError "AUTHENTICATION_ERROR" There was an error during the authentication.
BuyerCanceledPaymentMethod "BUYER_CANCELED_PAYMENT_METHOD" Payment method was canceled by buyer.
CustomerInvalid "CUSTOMER_INVALID" Customer is invalid.
CustomerNotFound "CUSTOMER_NOT_FOUND" Customer was not found.
ExpiredPaymentMethod "EXPIRED_PAYMENT_METHOD" Payment method is expired.
InvalidCustomerBillingAgreement "INVALID_CUSTOMER_BILLING_AGREEMENT" The billing agreement ID or the transaction ID for the customer’s payment method is invalid.
InvalidPaymentMethod "INVALID_PAYMENT_METHOD" Payment method is invalid. Please update or create a new payment method.
InvalidShippingAddress "INVALID_SHIPPING_ADDRESS" The shipping address is either missing or invalid.
InventoryAllocationsNotFound "INVENTORY_ALLOCATIONS_NOT_FOUND" No inventory location found or enabled.
InvoiceAlreadyPaid "INVOICE_ALREADY_PAID" A payment has already been made for this invoice.
PaymentMethodDeclined "PAYMENT_METHOD_DECLINED" Payment method was declined by processor.
PaymentMethodIncompatibleWithGatewayConfig "PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG" Payment method cannot be used with the current payment gateway test mode configuration.
PaymentMethodNotFound "PAYMENT_METHOD_NOT_FOUND" Payment method was not found.
PaymentProviderIsNotEnabled "PAYMENT_PROVIDER_IS_NOT_ENABLED" Payment provider is not enabled.
TestMode "TEST_MODE" Gateway is in test mode and attempted to bill a live payment method.
TransientError "TRANSIENT_ERROR" Transient error, try again later.
UnexpectedError "UNEXPECTED_ERROR" There was an unexpected error during the billing attempt.