Business::OnlinePayment::NMI - Network Merchants backend for Business::OnlinePayment
use Business::OnlinePayment; my $tx = new Business::OnlinePayment("NMI"); $tx->content( login => 'mylogin', password => 'mypass', 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.
Normal Authorization, Authorization Only, Post Authorization, Void, Credit.
Normal Authorization, Void, Credit.
Credit is handled using NMI's 'refund' action, which applies the credit against a specific payment.
Post Authorization, Void, and Credit require order_number to be set with the transaction ID of the previous authorization.
order_number
This module implements the NMI Direct Post API, June 2007 revision.
Mark Wells <mark@freeside.biz>
Based in part on Business::OnlinePayment::USAePay by Jeff Finucane <jeff@cmh.net>.
perl(1). Business::OnlinePayment.
Need a complete, open-source back-office and customer self-service solution? The Freeside software includes support for credit card and electronic check processing, integrated trouble ticketing, and customer signup and self-service web interfaces.
http://freeside.biz/freeside/
To install Business::OnlinePayment::NMI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::NMI
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::NMI
For more information on module installation, please visit the detailed CPAN module installation guide.