-
-
15 Feb 2014 20:55:14 UTC
- Distribution: Business-OnlinePayment-IATSPayments
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (197 / 197 / 0)
- Kwalitee
Bus factor: 1- 90.00% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (6.93KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Ivan Kohler
- Dependencies
- Business::OnlinePayment
- Data::Dumper
- SOAP::Lite
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- SYNOPSIS
- SUPPORTED TRANSACTION TYPES
- DESCRIPTION
- METHODS AND FUNCTIONS
- COMPATIBILITY
- AUTHORS
- SEE ALSO
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.
Module Install Instructions
To install Business::OnlinePayment::IATSPayments, copy and paste the appropriate command in to your terminal.
cpanm Business::OnlinePayment::IATSPayments
perl -MCPAN -e shell install Business::OnlinePayment::IATSPayments
For more information on module installation, please visit the detailed CPAN module installation guide.