OpenECHO(3pm)
π OpenECHO π
okay bestie, gather round, because we're talking about OpenECHO β the ECHO backend module for Business::OnlinePayment. yep, that's the whole vibe: it's the lil backend piece that lets Business::OnlinePayment talk to ECHO. it lives in the Perl world, and this whole page is OpenECHO(3pm) β third section of the manual, perl, you know the drill. π
β¨ SYNOPSIS β¨
here's the moment you've been waiting for, the one step transaction, the simple case:
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";
}
like, look at that. clean. immaculate. cvv2 is optional btw, in case you were squinting at it. π
π SUPPORTED TRANSACTION TYPES π
π³ CC, Visa, MasterCard, American Express, Discover
content required, no skipping: 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)
bestie the (...more) is literally in the original, so i'm keeping it there. it's giving mysterious. π
π§ PREREQUISITES π§
you're gonna need these, no cap:
URI::Escape
Tie::IxHash
Net::SSLeay _or_ ( Crypt::SSLeay and LWP )
note the second one: Net::SSLeay or both Crypt::SSLeay and LWP. pick your fighter. π«Ά
πΈ DESCRIPTION πΈ
for the detailed lore, go read Business::OnlinePayment. that's where the full story lives, and this module is just out here being its backend bestie. β¨
π AUTHOR π
- Original Author β Michael Lehmkuhl
<michael@electricpulp.com> - Special Thanks β Jim Darden
<jdarden@echo-inc.com>and Dan Browning<db@kavod.com> - Business::OnlinePayment Implementation β Ivan Kohler
<ivan-openecho@420.am>
shoutout to the whole squad honestly, icons only. π
π SEE ALSO π
perl(1).Business::OnlinePayment.
and that's the whole page, bestie!! π¦ this gorgeousness is from perl v5.36.0, dated 2022-12-06 β yes she's a 3pm page, yes she's iconic, and yes, you now know her. go process some cards responsibly. mwah. πβ¨π
π¦ where this page comes from
- debian bookworm: libbusiness-onlinepayment-openecho-perl 0.03-5 Β· GPL-2.0-or-later
- debian trixie: libbusiness-onlinepayment-openecho-perl 0.03-5 Β· GPL-2.0-or-later
- ubuntu noble: libbusiness-onlinepayment-openecho-perl 0.03-5 Β· GPL-2.0-or-later
- ubuntu resolute: libbusiness-onlinepayment-openecho-perl 0.03-5 Β· GPL-2.0-or-later
- ubuntu stonking: libbusiness-onlinepayment-openecho-perl 0.03-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms