Busine...menTech(3pm)
π NAME π
Business::OnlinePayment::PaymenTech β it's the Chase Paymentech backend for Business::OnlinePayment, bestie. That's the whole vibe. π
β¨ SYNOPSIS β¨
okay so here's the whole flow, no cap β you make the thing, you feed it the deets, you hit submit, and then you check if it ate π
$trans = new Business::OnlinePayment('PaymenTech',
merchant_id => "000111222333",
terminal_id => "001",
currency => "USD", # CAD, MXN
);
$trans->content(
login => "login",
password => "password",
type => "CC",
card_number => "5500000000000004",
expiration => "0211",
address => "123 Anystreet",
city => "Sacramento",
zip => "95824",
action => "Normal Authorization",
amount => "24.99",
);
$trans->submit;
if($trans->is_approved) {
print "Approved: ".$trans->authorization;
} else {
print "Failed: ".$trans->error_message;
}
like, constructor first β merchant_id, terminal_id and currency go in right there, and psst, currency can be "USD", "CAD" or "MXN" (the comment says so, iykyk). π¦
then content gets the actual transaction tea: login, password, type, card_number, expiration, address, city, zip, action, amount. all of it. don't skip any. β¨
then submit. then the vibe check: if is_approved is true you print "Approved: " plus $trans->authorization, and if not you print "Failed: " plus $trans->error_message. iconic. π
πΈ NOTES πΈ
not me having to deliver the sad newsβ¦ π Electronic check processing and recurring billing are not yet supported. fr fr. not yet. that's just how it is right now, bestie. π
π AUTHOR π
Mark Wells, mark@freeside.biz. king behavior, honestly. π«Ά
β SEE ALSO β
perl(1)Business::OnlinePayment
go read those too, they're the supporting cast. π
and that's the whole page, bestie!! π this one's from the User Contributed Perl Documentation, running on perl v5.34.0, dated 2022-06-30 β yeah she's a lil vintage but she still slays. bye ily, go process some payments responsibly πβ¨π
π¦ where this page comes from
- debian bookworm: libbusiness-onlinepayment-paymentech-perl 2.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbusiness-onlinepayment-paymentech-perl 2.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbusiness-onlinepayment-paymentech-perl 2.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbusiness-onlinepayment-paymentech-perl 2.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbusiness-onlinepayment-paymentech-perl 2.07-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms