Please enable JavaScript to view this site.

AudienceView Unlimited Product Guides

To access the Test Gateway payment gateway navigate to the Registry - System::Configuration::Payment Gateways node.

 

info_outline

Information

For those gateways that support multiple types of payments (Credit or Debit), add a new 'Key' to the Payment Gateways list in the format of PaymentGateway::PaymentType (TestGateway::Credit). For more information, refer to General Configuration - Lists.

 

Field

Description

delay_time_ms

The time delay used to simulate transaction processing time, in milliseconds.

library_path

The absolute path to the payment gateway DLL.

log_file

The absolute path to a file on the local server where payment processing data is saved. Include the file name in the path. If the file does not exist, it will automatically be created.

process_details

For those gateways that support multiple types of payments, this field identifies the type of payment (Credit or Debit).

process_strategy

Identifies how the payment is to be processed:

External: Process payment external third party.

This is the only valid option for this payment gateway.

Account: Process payments as an internal account.

Gift Card: Process payment as a gift card.

Gift Certificate: Process payment as a gift certificate.

rotate_log_file

Y: a new log file will be created each day, with the creation date included as part of its name.

N: a single log file is used.

It is recommended that you use log rotation, as the log file is locked while the application is running and cannot be moved or deleted.

terminal_allocation

Queued: The system queues the requests to the terminals.

Round Robin: Gateway queues the requests on its terminals.

terminal_required

N: Does not require terminal at all.

verbose_log

Y: log file contains detailed information.

N: log file contains summary information.

 

Test Card Numbers

The following table outlines the test card numbers that can be used with the test payment gateway:

VISA

Card Number

Successful result returned

4012888888881881

4242424242424242

4929012345670

Declined error returned

4111111111111111

Expired error returned

4524000000015262

AMEX

Card Number

Successful result returned

340000000000009

341111111111111

378282246310005

371449635398431

378734493671000

Expired result returned

340000000000009

Declined result returned

370000000000006

MasterCard

Card Number

Successful result returned

5105105105105100

5431111111111111

5500000000000004

5555555555551111

5555555555554444

Declined result returned

5194419000000006

Carte Blanche

Card Number

Successful result returned

30000000000004

Diners Club

Card Number

Successful result returned

30000000000004

38520000023237

30569309025904

Discover

Card Number

Successful result returned

6011111111111117

6011299965798194

6011601160116611

6011000990139424

EnRoute

Card Number

Successful result returned

201400000000009

3530111333300000

3088000000000009

3566002020360505