OpenECHO(3pm)

πŸ“¦
version 0.03 Β· 2 versions
  • 0.03 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.03 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’–βœ¨πŸ’