esec(3)
NAME
Business::OnlinePayment::eSec - eSec backend for Busi
ness::OnlinePayment
SYNOPSIS
use Business::OnlinePayment;
my $tx = new Business::OnlinePayment("eSec");
$tx->content(
type => 'CC',
login => 'test', #EPS_MERCHANT
action => 'Authorization Only',
description => 'Business::OnlinePayment test',
amount => '49.95',
invoice_number => '100100',
name => 'Tofu Beast',
card_number => '4007000000027',
expiration => '09/02',
);
$tx->submit();
if($tx->is_success()) {
print "Card processed successfully: ".$tx->authorization."0;
} else {
print "Card was rejected: ".$tx->error_message."0;
}
DESCRIPTION
For detailed information see Business::OnlinePayment.
NOTE COMPATIBILITY
This module implements eSec's API verison 2. See
http://www.esec.com.au/sep/content/eps_support/inte
grate/integrate_use.html for details.
AUTHOR
Ivan Kohler <ivan-esec@420.am>
SEE ALSO
- perl(1). Business::OnlinePayment.