AudienceView Connect

Test Gateway

To access the Test Gateway - Credit, Test Gateway - Debit, Test Gateway - Gift Card and Test Gateway - Room Charge payment gateways, navigate to the Registry application System::Configuration::Payment Gateways node.

Field Description
delay_time_ms The time delay used to simulate transaction processing time, in milliseconds.
library_path The absolute path to respective AudienceView 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 (e.g. Credit or Debit).
process_strategy Identifies how the payment is to be processed:
  • External: Process payment external third party.
  • Account: Process payments as an AudienceView internal account.
  • Gift Card: Process payment as an AudienceView gift certificate.
  • Gift Certificate: Process payment as an AudienceView 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: Requires AudienceView to queue the requests to the terminals.
Round Robin: Gateway can queue 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