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
05 / 21
APPROVED
05 / 22
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
10001 Alpha St
ADDRESS_MATCH
10002 Gamma St
NOT_VERIFIED
10003 November St
NO_MATCH
10004 Romeo St
SERVICE_NOT_AVAILABLE_RETRY
10005 Sierra St
SERVICE_NOT_SUPPORTED
10006 Uniform St
NOT_AVAILABLE
10007 Whiskey St
ZIP_MATCH
10008 X-ray St
ADDRESS_ZIP_MATCH
10009 Kilo St NAME_MATCH
10010 Oscar St NAME_ADDRESS_MATCH
10011 Lima St NAME_ZIP_MATCH
10012 Zero St NOT_REQUESTED

American Express Acquirer Link(s) – All Supported Regions

Details
Test Card Card Number
American Express
345678901234564

 

Expiry Date Transaction Response Gateway Code
05 / 21
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 Link(s) - 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 3D-Secure can use any of the cards.

 

Expiry Date Transaction Response Gateway Code
05 / 21
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 Link(s) - 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
05 / 21
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

Acquirer Link(s) - 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
05 / 21
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

3D-Secure Authentication

You can test your integration for 3D-Secure Authentication via the CommWeb payment gateway. This is done through an ACS (Access Control Server) Emulator.

Details

Testing is supported for the following 3D-Secure Authentication schemes:

  • Mastercard SecureCode
  • Verified by Visa
  • American Express SafeKey
  • J/Secure
  • Diners ProtectBuy

To test the 3D-Secure Authentication functionality:

  1. Use a 3D-Secure Enrolled test card (see cards listed in the specific Acquirer sections) when submitting the CHECK_3DS_ENROLLMENT request for your Test Merchant Profile.
  2. Check that you receive a response with 3DSecure.veResEnrolled=Y.
  3. Use the form provided in 3DSecure.authenticationRedirect.simple.htmlBodyContent to redirect the payer's browser to the ACS Emulator page.

    The ACS Emulator redirects the payer's browser back to your website and contains the PARes.

  4. Submit a PROCESS_ACS_RESULT request with the PARes in 3DSecure.paRes.
  5. Use the ID for this 3D-Secure Authentication via the CommWeb payment gateway provided in 3DSecureId in a subsequent transaction request (e.g. PAY or AUTHORIZE).

Automated Clearing House

The CommWeb payment gateway provides an emulator that will return a response with response.gatewayCode=APPROVED for all valid requests for Automated Clearing House payments.

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 © 2020 Commonwealth Bank of Australia