GitHub

DaffCartExpiredPaymentTokenError

An error thrown when the payment token used for the payment method update has expired. This happens when the a place order request happens too long after payment update. The payment must be updated again before an order can be placed.

import { DaffCartExpiredPaymentTokenError } from '@daffodil/cart/driver'
class DaffCartExpiredPaymentTokenError extends DaffInheritableError implements DaffError {
  readonly code: string
  message: string
}

Properties

Name Type Description
code string
message string