Test and go live

Testing overview

To access the CommWeb payment gateway test simulator, type "TEST" as a prefix to the Merchant ID supplied by your payment service provider. If the Merchant ID supplied already has "TEST" as the first 4 letters, you are already using the test simulator, and your payment service provider will send you another Merchant ID when you are ready to process live transactions.

The test simulator is configured to generate predictable results based on the transaction request and card details you supply.

You can trigger specific transaction responses, e.g. the CommWeb payment gateway Response Code and Card Security Code validation, as well as Address Verification response codes. You can also test features like Wallet functionality.

Commence live payments

After you have tested your integration and received your production merchant ID, you can process live transactions. To move your integration from the test profile to the production profile, you will need to update the following with the new values for your production profile:

  • Merchant ID
  • API Password

You should perform several live test transactions, using a real credit card, through your production profile, and validate that transactions settle correctly into the expected bank account.

Contact your payment service provider if you need more information on commencing live payments.

Card transaction test details

Standard test data – all supported regions

Use the standard test data unless specific test details for your acquirer and region are provided in the sections below.

Details
Test Cards Card Number 3-D Secure Enrolled
Mastercard
5123450000000008 Y
2223000000000007 Y
5111111111111118 N
2223000000000023 N
Visa
4508750015741019 Y
4012000033330026 N
American Express
345678901234564 Y
371449635398431 N
Diners Club
30123400000000 Y
36259600000012 N
JCB
3528000000000007 Y
3528111100000001 N
Discover 6011003179988686 Y
6011963280099774 N
Maestro 5000000000000000005 Y
5666555544443333 N
UATP
(UATP cards do not support CSC/CVV and 3DS)
135492354874528 N
135420001569134 N

 

Expiry Date Transaction Response Gateway Code
01 / 39
APPROVED
05 / 39
DECLINED
04 / 27
EXPIRED_CARD
08 / 28
TIMED_OUT
01 / 37 ACQUIRER_SYSTEM_ERROR
02 / 37 UNSPECIFIED_FAILURE
05 / 37 UNKNOWN

 

CSC/CVV CSC/CVV Response Gateway Code
100
MATCH
101
NOT_PROCESSED
102
NO_MATCH
For American Express cards
1000 MATCH
1010 NOT_PROCESSED
1020 NO_MATCH

 

Billing Address Street AVS Response Gateway Code
Alpha St
ADDRESS_MATCH
Gamma St
NOT_VERIFIED
November St
NO_MATCH
Romeo St
SERVICE_NOT_AVAILABLE_RETRY
Sierra St
SERVICE_NOT_SUPPORTED
Uniform St
NOT_AVAILABLE
Whiskey St
ZIP_MATCH
X-ray St
ADDRESS_ZIP_MATCH
Kilo St NAME_MATCH
Oscar St NAME_ADDRESS_MATCH
Lima St NAME_ZIP_MATCH
0 (Zero) St NOT_REQUESTED

For more details on 3-D Secure authentication, see Implementing a 3DS Integration.

American Express acquirer links – all supported regions

Details
Test Card Card Number
American Express
345678901234564

 

Expiry Date Transaction Response Gateway Code
01 / 39
APPROVED
04 / 19
04 / 38
UNSPECIFIED_FAILURE
04 / 37
DECLINED
05 / 18
05 / 37
EXPIRED_CARD
11 / 19
11 / 38
ACQUIRER_SYSTEM_ERROR

 

CSC/CVV CSC/CVV Response Gateway Code
0000
MATCH
1111
NO_MATCH
2222
NOT_PROCESSED

 

Billing Address Street AVS Response Gateway Code
Alpha St
ADDRESS_MATCH
Mike St
ADDRESS_ZIP_MATCH
Uniform St
NOT_AVAILABLE
Kilo St
NAME_MATCH
November St
NO_MATCH
Zulu St
ZIP_MATCH
Romeo St
SERVICE_NOT_AVAILABLE_RETRY
Sierra St
SERVICE_NOT_SUPPORTED
Love St NAME_ZIP_MATCH
Olive St NAME_ADDRESS_MATCH
0 (Zero) St NOT_REQUESTED

Acquirer Links - Mexico

Details
Test Cards Card Number 3-D Secure Enrolled
Visa
4012000033330026 No
Mastercard
5424180279791732
5200030000000004
2223000000000007
Yes
Visa
4002260000000000 No
Mastercard
2223000000000023 No
Merchants who are not implementing 3-D Secure can use any of the cards.

 

Expiry Date Transaction Response Gateway Code
01 / 39
APPROVED
04 / 28
DECLINED
02 / 30
EXPIRED_CARD
03 / 31
ACQUIRER_SYSTEM_ERROR
01 / 30
INSUFFICIENT_FUNDS

 

  • Mexican banks do not currently support CSC/CVV matching. You can pass the CSC/CVV value and it will be processed by the issuer, but a specific match response will not be returned.
  • Address Verification (AVS) is not supported for all acquirers. Check with your payment service provider.

Acquirer Links - France and Germany

Details
Test Cards Card Number 3-D Secure Enrolled
Mastercard
5123456789012346
2223000000000007
Yes

Visa
4012000033330026 No
JCB
3566007770017510 No
Maestro
6759010012345678914 Yes

 

Expiry Date Transaction Response Gateway Code
01 / 39
APPROVED
01 / 28
DECLINED
08 / 29
TIMED_OUT
03 / 28
EXPIRED_CARD
09 / 29
ACQUIRER_SYSTEM_ERROR

 

CSC/CVV CSC/CVV Response Gateway Code
000
MATCH
111
NO_MATCH
222
NOT_PROCESSED
333
NOT_PRESENT
444
NOT_PRESENT

 

Billing Address Street AVS Response Gateway Code
Alpha St
ADDRESS_MATCH
X-ray St
ADDRESS_ZIP_MATCH
Uniform St
NOT_AVAILABLE
Whiskey St
ZIP_MATCH
November St
NO_MATCH

Cielo Acquirer Links - Brazil

Details
Test Cards Card Number 3-D Secure Enrolled
Mastercard
5123456789012346
2223000000000007
Yes

Visa
4012000033330026 No
JCB
3566007770017510 No
Maestro
6759010012345678914 Yes

 

Expiry Date Transaction Response Gateway Code
01 / 39
APPROVED
01 / 28
DECLINED
08 / 29
TIMED_OUT
03 / 28
EXPIRED_CARD
09 / 29
ACQUIRER_SYSTEM_ERROR

 

CSC/CVV CSC/CVV Response Gateway Code
000
MATCH
111
NO_MATCH
222
NOT_PROCESSED
333
NOT_PRESENT
444
NOT_PRESENT

3-D Secure authentication

For details on how to test 3-D Secure authentication functionality using a 3DS emulator, see Test 3DS Integration.

Browser payments

The CommWeb payment gateway provides a browser payment simulator to simulate the payment provider's website. For more details, see Testing Browser Payments.

Copyright © 2023 Commonwealth Bank of Australia