Business::OnlinePayment::IATSPayments - IATS Payments backend for Business::OnlinePayment
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"; }
Content required: type, login, action, amount, card_number, expiration.
Content required: type, login, action, amount, name, account_number, routing_code.
For detailed information see Business::OnlinePayment.
See Business::OnlinePayment for the complete list. The following methods either override the methods in Business::OnlinePayment or provide additional functions.
Returns the response error code.
Returns the response error number.
The following actions are valid
Normal Authorization Credit
Business::OnlinePayment::IATSPayments uses iATS WebServices ProcessLink 4.0 and (for tokenization support) iATS WebServices CustomerLink 4.0.
Ivan Kohler <ivan-iatspayments@freeside.biz>
perl(1). Business::OnlinePayment.
To install Business::OnlinePayment::IATSPayments, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::IATSPayments
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::IATSPayments
For more information on module installation, please visit the detailed CPAN module installation guide.