Business::OnlinePayment::E2Payments - E2Payments backend for Business::OnlinePayment
use Business::OnlinePayment; my $tx = new Business::OnlinePayment("E2Payments"); $tx->content( login => 'test', #E2P_CLIENT password => 'testpass', #E2P_PASSWORD description => '138456: Fried Wombat & Tomato Sauce', amount => '49.95', name => 'Bertie Beatle', card_number => '1234123412341234', exp_date => '09/02' ); $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 implements E2Payments API Version 1 (Simple Transaction Mode). See http://www.e2.com.au/ for further subscription details
Aidan Mountford <aidan@oz.to>
perl(1). Business::OnlinePayment.
To install Business::OnlinePayment::E2Payments, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::E2Payments
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::E2Payments
For more information on module installation, please visit the detailed CPAN module installation guide.