Business::OnlinePayment::PaymentsGateway - PaymentsGateway.Net backend for Business::OnlinePayment
use Business::OnlinePayment; my $tx = new Business::OnlinePayment("PaymentsGateway"); $tx->content( type => 'CHECK', login => 'test', password => 'test', action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', invoice_number => '100100', name => 'Tofu Beast', account_number => '12345', routing_code => '123456789', bank_name => 'First National Test Bank', ); $tx->submit(); if($tx->is_success()) { print "Card processed successfully: ".$tx->authorization."\n"; } else { print "Card was rejected: ".$tx->error_message."\n"; }
For detailed information see Business::OnlinePayment.
This module only implements 'ECHECK' (ACH) transactions at this time. Credit card transactions are not (yet) supported.
This module implements the interface documented in the "PaymentsGateway.net Integration Guide, Version 2.1, September 2002"
Ivan Kohler <ivan-paymentsgateway@420.am>
perl(1). Business::OnlinePayment
To install Business::OnlinePayment::PaymentsGateway, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::PaymentsGateway
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::PaymentsGateway
For more information on module installation, please visit the detailed CPAN module installation guide.