NAME
Business::OnlinePayment::IATSPayments - IATS Payments backend for Business::OnlinePayment
SYNOPSIS
use Business::OnlinePayment;
my $tx =
new Business::OnlinePayment( 'IATSPayments' );
$tx->content(
login => 'TEST88', # agentCode
password => 'TEST88', #password
type => 'CC',
action => 'Normal Authorization',
amount => '1.00',
first_name => 'Tofu',
last_name => 'Beast',
address => '123 Anystreet',
city => 'Anywhere',
state => 'UT',
zip => '84058',
card_number => '4111111111111111',
expiration => '09/20',
cvv2 => '124',
#optional
description => 'Business::OnlinePayment test',
customer_ip => '1.2.3.4',
invoice_num => 54,
);
$tx->submit();
if($tx->is_success()) {
print "Card processed successfully: ".$tx->authorization."\n";
} else {
print "Card was rejected: ".$tx->error_message."\n";
}
SUPPORTED TRANSACTION TYPES
CC, Visa, MasterCard, American Express, Discover
Content required: type, login, action, amount, card_number, expiration.
Check
Content required: type, login, action, amount, name, account_number, routing_code.
DESCRIPTION
For detailed information see Business::OnlinePayment.
METHODS AND FUNCTIONS
See Business::OnlinePayment for the complete list. The following methods either override the methods in Business::OnlinePayment or provide additional functions.
result_code
Returns the response error code.
error_message
Returns the response error number.
action
The following actions are valid
Normal Authorization
Credit
COMPATIBILITY
Business::OnlinePayment::IATSPayments uses iATS WebServices ProcessLink 4.0 and (for tokenization support) iATS WebServices CustomerLink 4.0.
AUTHORS
Ivan Kohler <ivan-iatspayments@freeside.biz>
SEE ALSO
perl(1). Business::OnlinePayment.