|
NAMEBusiness::OnlinePayment::PaymentsGateway - PaymentsGateway.Net backend for Business::OnlinePayment SYNOPSIS 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";
}
DESCRIPTIONFor detailed information see Business::OnlinePayment. NOTEThis module only implements 'ECHECK' (ACH) transactions at this time. Credit card transactions are not (yet) supported. COMPATIBILITYThis module implements the interface documented in the "PaymentsGateway.net Integration Guide, Version 2.1, September 2002" AUTHORIvan Kohler <ivan-paymentsgateway@420.am> SEE ALSOperl(1). Business::OnlinePayment
|