Error codes currently seen in our products will be in the form of numbers. Those above zero are failures of validation checks carried out by our software while those below zero (negative) are replies from Opayo - formerly SagePay.
Below are brief descriptions of those currently used.
Validation Errors
1001 – Invalid transaction type
1002 – Missing vendor (company name)
1003 – Missing vendor TX code
1004 – Currently unused
1005 – Missing currency
1006 – Invalid currency
1007 - Missing request description
1008 – Missing card holder. T28/3 will auto fill the card holder but ph28 the user must enter the details
1009 – Missing card number
1010 – Missing expiry date
1011 – Missing CV2
1012 – Missing card type
1013 – Invalid card type
1014 – Missing billing surname
1015 – Missing billing first name(s)
1016 – Missing billing address first line
1017 – Missing billing address city
1018 – Missing billing address postcode
1019 – Missing billing address country
1020 – Invalid billing address country
1021 – Missing delivery address surname
1022 – Missing delivery address first name(s)
1023 – Missing delivery address first line
1024 – Missing delivery address city
1025 – Missing delivery address postcode
1026 – Missing delivery address country
1027 – Invalid delivery address country
1028 – Currently unused
1029 – Missing or invalid language setting
Response Error Codes
At some point these will get descriptions rather than the error codes, missing ones are currently unused, the application should already show a more sensible message.
-1 – Not Authorised
-2 – Rejected
-7 – Malformed request, something has probably gone wrong in code.
-8 – Invalid
-9 – Error, something has gone wrong at the Opayo end