GitHub

CompletionErrorCode

import { CompletionErrorCode } from '@daffodil/driver/shopify'

The code of the error that occurred during a cart completion attempt.

enum CompletionErrorCode {
  Error = CompletionErrorCode.Error,
  InventoryReservationError = CompletionErrorCode.InventoryReservationError,
  PaymentAmountTooSmall = CompletionErrorCode.PaymentAmountTooSmall,
  PaymentCallIssuer = CompletionErrorCode.PaymentCallIssuer,
  PaymentCardDeclined = CompletionErrorCode.PaymentCardDeclined,
  PaymentError = CompletionErrorCode.PaymentError,
  PaymentGatewayNotEnabledError = CompletionErrorCode.PaymentGatewayNotEnabledError,
  PaymentInsufficientFunds = CompletionErrorCode.PaymentInsufficientFunds,
  PaymentInvalidBillingAddress = CompletionErrorCode.PaymentInvalidBillingAddress,
  PaymentInvalidCreditCard = CompletionErrorCode.PaymentInvalidCreditCard,
  PaymentInvalidCurrency = CompletionErrorCode.PaymentInvalidCurrency,
  PaymentInvalidPaymentMethod = CompletionErrorCode.PaymentInvalidPaymentMethod,
  PaymentTransientError = CompletionErrorCode.PaymentTransientError,
}