Better Payment 0.11.1 API
    Preparing search index...

    Enumeration PaymentErrorCode

    Provider-independent error codes.

    Every failure result carries code (one of these values) next to errorCode, the provider's raw code. Branch on code; log errorCode.

    Index
    CANCELLED_BY_CUSTOMER: "CANCELLED_BY_CUSTOMER"

    The customer left the payment page

    CARD_DECLINED: "CARD_DECLINED"

    The issuer declined without a more specific reason ("do not honour")

    DUPLICATE_ORDER: "DUPLICATE_ORDER"

    The order id was already used

    EXPIRED_CARD: "EXPIRED_CARD"

    Card is expired or the expiry date is wrong

    FRAUD_SUSPECTED: "FRAUD_SUSPECTED"

    Suspected fraud, or the card was reported lost or stolen

    INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS"

    Not enough balance or credit limit

    INVALID_CARD: "INVALID_CARD"

    Card number, BIN or issuer is not valid

    INVALID_CVC: "INVALID_CVC"

    CVC/CVV is wrong

    INVALID_HASH: "INVALID_HASH"

    A callback's signature did not verify; treat it as forged

    INVALID_REQUEST: "INVALID_REQUEST"

    The request was rejected before reaching the provider (missing or invalid fields)

    LIMIT_EXCEEDED: "LIMIT_EXCEEDED"

    Amount or transaction-count limit exceeded

    NETWORK_ERROR: "NETWORK_ERROR"

    No response from the provider; the outcome is unknown (status is pending)

    PROVIDER_ERROR: "PROVIDER_ERROR"

    Provider, bank or merchant configuration problem (terminal, system error, timeout)

    THREEDS_FAILED: "THREEDS_FAILED"

    3D Secure authentication failed or was not completed

    UNKNOWN: "UNKNOWN"

    Not mapped yet; see errorCode for the provider's raw code