Hosted Payment Errors

Error codes returned by Customized Checkout and Embedded Components

Codes are returned in the standard response envelope on StartSession, GetResult, and Ack calls.

Check the CODE field on every response. 0000 means the request succeeded. Any other value indicates a validation error, session issue, or gateway problem. The TEXT field contains a human-readable message that distinguishes between errors sharing the same code.

For card declines returned from the card network, see Credit Card Declines. For authentication errors (1001, 9128), see Authentication.

Session and Sequencing

Errors that indicate the session doesn't exist, has expired, or is being accessed out of order.

CodeMessageDescription
9004TIMED OUTThe session was inactive for 15 minutes and was closed by the gateway.
9005CANCELLEDThe customer clicked Cancel on the hosted page, abandoning the payment.
9006MISSING SECUREID / INVALID SECUREID / INVALID SECUREID OR REFNUMGetResult or Ack was called without a SECUREID, or with one the gateway doesn't recognize.
9007NOT APPROVEDAck was attempted on a transaction that was declined.
9008NOT CAPTUREDThe capture request to the processor failed.
9015NO RESULT - DO NOT POLL / CANCELLED SEQGetResult was called before the customer completed the hosted page (polling), or called out of sequence. A second polling occurrence cancels the session.

Input Validation

Errors that indicate a required field is missing or malformed.

CodeMessageDescription
9001SECUREID NOT ALLOWED / CANNOT OVERRIDE URLSSECUREID was sent on StartSession (not allowed on create), or SUCCESSURL/FAILUREURL was sent on a terminal without DYNAMICURL enabled.
9010INVALID ACTIONThe ACTION value is not recognized.
9011MISSING REQUESTIDREQUESTID was not provided.
9012CANNOT MIX REQUESTID AND INVOICE / INVALID REQUESTID / DUPLICATE REQUESTID (INVALID REQUESTID/INVOICE / DUPLICATE REQUESTID/INVOICE when the deprecated INVOICE field is sent)Both REQUESTID and the deprecated INVOICE field were sent, the REQUESTID is malformed, or the REQUESTID has already been used for this terminal.
9013INVALID REFNUMREFNUM is malformed or too short.
9014MISSING CUST EMAIL / INVALID CUST EMAILCUSTEMAIL is missing or malformed.
9016MISSING CUST NAMESchedule sessions only: the cardholder name was left blank on the payment page.
9021MISSING REFNUMAck was called without a SECUREID or REFNUM.
9022ACCESS DENIED PWPassword does not match on a session-level operation.
1036INVALID INV / INVALID INV LENThe invoice number contains invalid characters or is the wrong length.
1037USERFEE TOO SMALLCustomerPay USERFEE is below the required minimum for the transaction amount.
1041INVALID SOURCEThe SOURCE field contains invalid characters.
1043INVALID CUSTEMAILCUSTEMAIL isn't a valid email address.
8422INVALID CUSTIDCUSTID contains invalid characters or is too long.

Amount and Fee Validation

CodeMessageDescription
9024INVALID AMT FORMATAMT is missing a decimal point.
9025INVALID AMT / AMT NOT ALLOWEDAMT exceeds the terminal's maximum or is 0.00 on a payment session (INVALID AMT); or AMT was sent on a TOKEN session or alongside SCHEDID (AMT NOT ALLOWED).
9026INVALID PLATFEE FORMATPLATFEE is missing a decimal point.
9028PLATFEE NOT ALLOWEDThe terminal does not have ENABLE PLAT FEE set.
9029INVALID PLATCHRG FORMATPLATCHRG is missing a decimal point.
9030INVALID PLATCHRG AMOUNTPLATCHRG exceeds AMT.
9031PLATCHRG NOT ALLOWEDThe terminal does not have ENABLE PLAT CHRG set.
9032INVALID USERFEE FORMATUSERFEE is missing a decimal point.
9034USERFEE NOT ALLOWEDThe terminal does not have USER FEE enabled or the merchant is not CustomerPay-enabled.
9036CANNOT MIX PLATFORM WITH PLATFEE OR PLATCHRGPLATFORM was sent alongside PLATFEE or PLATCHRG. Use one or the other.
1011INVALID AMT / INVALID USERFEE / INVALID PLATFEE / INVALID PLATCHRGAn amount field contains invalid characters (including a minus sign) or is too long.
1013AMT TOO HIGH / USERFEE TOO HIGH / PLATFEE TOO HIGH / PLATCHRG TOO HIGHAn amount exceeds the gateway maximum.
1040ONLY PLATFEE OR PLATCHRGBoth PLATFEE and PLATCHRG were sent. Only one is allowed per transaction.

Reconciliation Detail

CodeMessageDescription
8421PROGRAM FMT INVALIDPROGRAM isn't in group format, or an entry is missing its Name or AMT. Inside a SPLIT entry, also returned when the Name is malformed.
8422PROGRAM AMT INVALID / PLAYER AMT INVALID / ACCOUNT AMT INVALIDInside a SPLIT entry: an entry's AMT is malformed, zero or negative.
8423PLAYER FMT INVALIDPLAYER isn't in group format, or an entry is missing its id or AMT. Inside a SPLIT entry, also returned when the id is malformed.
8424ACCOUNT FMT INVALID / PROGRAM SUM TOO LARGE / PLAYER SUM TOO LARGE / ACCOUNT SUM TOO LARGEACCOUNT isn't in group format, or an entry is missing its DESC or AMT (inside a SPLIT entry, also when the DESC is malformed); or, inside a SPLIT entry, a group's entries add up to more than that split's amount.

Setup

CodeMessageDescription
9106INVALID REDIRECT URLSUCCESSURL or FAILUREURL is not HTTPS.
1090INVALID HPP SETUPThe terminal's hosted payment configuration is incomplete. Contact [email protected].
1091HPP NOT ALLOWEDThe terminal is not permitted to use hosted payments.

Gateway Errors

CodeMessageDescription
9100SESSION ERROR / GATEWAY ERRORInternal gateway error. Retry the call.
9900SYSTEM ERRORUnexpected gateway exception. Retry on the alternate gateway server (svrasvrb).

How to Handle

  • Session errors (9004, 9006) — show "session expired, please try again" and restart the flow with a fresh StartSession.
  • Customer cancel (9005) — the customer chose to leave the payment page. Return them to your checkout.
  • Sequencing errors (9015) — your integration is polling GetResult too early. Only call it after the customer is redirected back to your Return URL. See Steps for Customized Checkout.
  • Validation errors (1011, 1013, 1036, 1037, 1040, 1041, 1043, 84218424, 9001, 90109036) — bugs in your integration. Fix the request format.
  • Fee-not-allowed errors (9028, 9031, 9034) — your terminal isn't configured for this fee type. Email [email protected].
  • Setup errors (1090, 1091, 9106) — configuration issues that require SportsPay intervention (except 9106, which is your return URL format).
  • Gateway errors (9100, 9900) — retryable. Retry on the alternate gateway server.

Related


Did this page help you?