The ANZ eGate test system allows you to control the outcome of a test transaction by specifically selecting the last two digits of the transaction value. In a dollar value these digits correlate to the cents. Transactions can then be compared to our Response Codes to determine whether to return an approved, declined or error resulted.
Please note that only transactions in whole dollar amounts where the last two digits are both zeros will return an approved result. Most cent amounts will not correspond to a Response Code and will return a result of 'unspecified error' so please only use amounts from Figure 1. You also need to use one of our test card numbers to get an approval.
The amount of a transaction must be converted into units of cents. For example, an amount of $1 must be entered as 100. If the amount was $100.50, this must be entered as 10050.
As a general rule, only transactions processed correctly within test parameters will return a result to the MA site. If an invalid field name or transaction value was used, the transaction will return a 'Payment Server 7' error and you will not see any transaction result in the Order Search screen.
Approved test amounts (Figure 1)
|0||Transaction approve||$ XXX.00|
|1||Transaction could not be processe||$ XXX.10|
|2||Transaction declined - contact issuing bank||$ XXX.05|
|3||No reply from Processing Ho||$ XXX.68*|
|4||Card has expire||$ XXX.33|
|5||Insufficient credi||$ XXX.51|
* Because this test transaction value is designed to mimic a real system outage, you may not be able to process any test transactions for approximately 1-2 minutes after using a test value ending in .68
Test card details to use (Figure 2)
|Card Type||Test Card Number||Expiry Date||Card Sec Code#|
* If the Card Security Code (standard set up) has been set as a mandatory field by the Bank, you may use any value such as 123 or 111, or 1234/1111 for AMEX cards.
Only use AMEX and Diners Club test cards if you have been approved by AMEX and/or Diners as a Merchant and the ANZ eGate support team have been advised of your AMEX/Diners Merchant Number. If the merchant profile has not been set up with these links the test transactions will fail.
Important Note: sufficient testing must be done with your test Merchant ID to ensure that your shopping application is handling approved, declined and error conditions appropriately.
ANZ eGate Response Codes
ANZ eGate returns two Response Codes for each transaction. These are the same for testing and when the ANZ eGate facility goes live.
Transaction Response Code
The Transaction Response Code (also known as the Grouped Code or QSI) shows the overall result of a transaction. The field name for the Transaction Response Code is vpc_TxnResponse.
|1||Transaction could not be processed|
|2||Transaction declined - contact issuing bank|
|3||No reply from Processing Host|
|4||Card has expired|
|6||Error Communicating with Bank|
|7||Message Detail Error|
|8||Transaction declined – transaction type not supported|
|9||Bank Declined Transaction – Do Not Contact Bank|
Acquirer Response Code
This is the specific response from the card issuer.
|1||Refer to Card Issuer|
|2||Refer to Card Issuer|
|4||Pick Up Card|
|5||Do Not Honour|
|7||Pick Up Card|
|14||Invalid Card Number (No such Number)|
|15||No Such Issuer|
|39||No Credit Account|
|41||Card Reported Lost|
|57||Transaction Not Permitted|
|61||Daily limit with card|
|65||Exceeds withdrawal frequency limit|
|91||Bank link error|
|92||Bank link error|
|96||Bank link error|