Business::OnlinePayment::OpenECHO - ECHO backend module for Business::OnlinePayment
Contents
Description
For detailed information see Business::OnlinePayment.
Name
Business::OnlinePayment::OpenECHO - ECHO backend module for Business::OnlinePayment
Prerequisites
URI::Escape
Tie::IxHash
Net::SSLeay _or_ ( Crypt::SSLeay and LWP )
See Also
perl(1). Business::OnlinePayment. perl v5.36.0 2022-12-06 OpenECHO(3pm)
Supported Transaction Types
CC,Visa,MasterCard,AmericanExpress,Discover
Content required: type, login, password, action, amount, first_name, last_name, card_number, expiration.
Check
Content required: type, login, password, action, amount, first_name, last_name, account_number,
routing_code, bank_name. (...more)
Synopsis
use Business::OnlinePayment;
####
# One step transaction, the simple case.
####
my $tx = new Business::OnlinePayment("OpenECHO");
$tx->content(
type => 'VISA',
login => '1234684752',
password => '43400210',
action => 'Normal Authorization',
description => 'Business::OnlinePayment test',
amount => '49.95',
invoice_number => '100100',
customer_id => 'jsk',
first_name => 'Tofu',
last_name => 'Beast',
address => '123 Anystreet',
city => 'Anywhere',
state => 'UT',
zip => '84058',
card_number => '4005550000000019',
expiration => '08/06',
cvv2 => '1234', #optional
referer => 'http://valid.referer.url/',
);
$tx->submit();
if($tx->is_success()) {
print "Card processed successfully: ".$tx->authorization."\n";
} else {
print "Card was rejected: ".$tx->error_message."\n";
}
