UC IATS Payment Gateway for Ubercart


OVERVIEW
This module prodvides connectivity to the IATS payment gateway for Ubercart.  IATS has provided a set of php based API classes which this module uses to manage the connection with the gateway.   

The module currently implements standard single payments only, although the IATS gateway does provide support for recurring payments.   If anyone is working on recurring payments for the module, please submit patches.



INSTALL 
Download and unpack the module in your modules directory, visit the module page and enable the module.  Also enable the Credit Card payment method module at this time.

Configure the payment methods /admin/store/settings/payment/edit/methods enabling payment method "Credit Card" selecting IATS as the default gateway.

Configure the payment gateway settings at /admin/store/settings/payment/edit/gateways  
You need to add the Agent Code and Password provided by IATS 

You will want to install the secure pages module (http://drupal.org/project/securepages), and make sure that your site is running all creditcard data via https (SSL).

Run some test transations and you should be good to go.

TEST MODE
You can run the gateway in test mode, but you should know that while in test mode the gateway will transmit card info via unencypted http.   IATS has provided test credentials and will send different gateway responses based on the dollar amount submitted. 

The test account is 
Agent Code: TEST88 
Password: TEST88

 You can use card number 4111111111111111 which only works for TEST88. You can get
different reject codes by sending different dollar amounts. The amounts and the responses
are listed below.

North America www.iats.ticketmaster.com
UK            www.iatsuk.ticketmaster.com

Amounts and return codes (see module code for description of the returns)
Dollar Amount 1.00 OK: 678594;
Dollar Amount 2.00 REJ: 15;
Dollar Amount 3.00 OK: 678594;
Dollar Amount 4.00 REJ: 15;
Dollar Amount 5.00 REJ: 15;
Dollar Amount 6.00 OK: 678594:X;
Dollar Amount 7.00 OK: 678594:y;
Dollar Amount 8.00 OK: 678594:A;
Dollar Amount 9.00 OK: 678594:Z;
Dollar Amount 10.00 OK: 678594:N;
Dollar Amount 15.00, if CVV2=1234 OK: 678594:Y; if no CVV2: REJ: 19
Dollar Amount 16.00 REJ: 2;
Other Amount REJ: 15.
Dollar Amount -11.00 OK: 111111;
Dollar Amount -12.00 REJ: 15;
For all other refund amount, OK:678594 use 4222222222222220
For all other refund amount, Rej 15: --use 411111111111111

There is a 2nd card number 4222222222222220 which will allow you to process any dollar
amount and get an approval. Both numbers will allow you process refunds also to test
refunds and partial refunds.

TEST88 has also been set up on the UK server. The password for UK is TEST88.
Transactions do not get sent to the bank but if you get this far then everything is working.

The Test88 is available for others, I ATS included, but it not used very frequently and it is
unlikely that any two groups will use it at the same time, so you may see transactions from other people while testing.


AUTHORS AND SPONSORS
This moduled was developed by Mack Hardy (mackh) and Dave Tarc (dtarc) from Affinity Bridge.
Sponsored by the Wilderness Committee http://wildernesscommittee.org
