Business::OnlinePayment::USAePay - USA ePay backend for Business::OnlinePayment
use Business::OnlinePayment; my $tx = new Business::OnlinePayment("USAePay"); $tx->content( login => 'igztOatyqbpd1wsxijl4xnxjodldwdxR', #USAePay source key password => 'abcdef', #USAePay PIN action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', invoice_number => '100100', name => 'Tofu Beast', card_number => '46464646464646', expiration => '11/08', address => '1234 Bean Curd Lane, San Francisco', zip => '94102', ); $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 was developed against USAePay's CGI Gateway API v2.9.5 and also tested against v2.17.1 without problems. See http://wiki.usaepay.com/developer/transactionapi for details.
Original author: Jeff Finucane <jeff@cmh.net>
Current maintainer: Ivan Kohler <ivan-usaepay@freeside.biz>
Copyright (C) 2012 Freeside Internet Services, Inc. (http://freeside.biz/)
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Need a complete, open-source back-office and customer self-service solution? The Freeside software includes support for credit card and electronic check processing with USAePay and over 50 other gateways, invoicing, integrated trouble ticketing, and customer signup and self-service web interfaces.
http://freeside.biz/freeside/
perl(1). Business::OnlinePayment.
To install Business::OnlinePayment::USAePay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::USAePay
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::USAePay
For more information on module installation, please visit the detailed CPAN module installation guide.