Hosted Payments Package Error Codes
During development you may obtain a URL and display a payment page at which an error message is displayed. An error code is provided in order to assist with troubleshooting (see example below). Common error codes and the potential cause for the error are listed below.
Note that error codes are subject to change and under no circumstances should you base any application logic on error codes returned. If you cannot identify the issue from the list below please contact devsupport@paymentexpress.com

Error Codes
|
Code |
Description |
|
IC |
Invalid Key or Username. Also check that if a TxnId is being supplied that it is unique. |
|
ID |
Invalid transaction type. Ensure that the transaction type is either Auth or Purchase. |
|
IK |
Invalid UrlSuccess. Ensure that the URL being supplied does not contain a query string. |
|
IL |
Invalid UrlFail. Ensure that the URL being supplied does not contain a query string. |
|
IM |
Invalid PxPayUserId. |
|
IN |
Blank PxPayUserId. |
|
IP |
Invalid parameter. Ensure that only documented properties are being supplied. |
|
IQ |
Invalid TxnType. Ensure that the transaction type being submitted is either "Auth" or "Purchase". |
|
IT |
Invalid currency. Ensure that the CurrencyInput is correct and in the correct format e.g. "USD". |
|
IU |
Invalid AmountInput. Ensure that the amount is in the correct format e.g. "20.00". |
|
NF |
Invalid Username. |
|
NK |
Request not found. Check the key and the mcrypt library if in use. |
|
NL |
User not enabled. Contact DPS. |
|
NM |
User not enabled. Contact DPS. |
|
NN |
Invalid MAC. |
|
NO |
Request contains non ASCII characters. |
|
NP |
PXPay Closing Request tag not found. |
|
NQ |
User not enabled for PxPay. Contact DPS. |
|
NT |
Key is not 64 characters. |