.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Business::OnlinePayment::TransactionCentral 3pm" .TH Business::OnlinePayment::TransactionCentral 3pm "2022-12-13" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Business::OnlinePayment::TransactionCentral \- Transaction Central backend module for Business::OnlinePayment .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Business::OnlinePayment; \& \& #### \& # One step transaction, the simple case. \& #### \& \& my $tx = new Business::OnlinePayment("TransactionCentral"); \& $tx\->content( \& type => \*(AqCC\*(Aq, \& login => \*(Aq10011\*(Aq, #MerchantID \& password => \*(AqKK48NPYEJHMAH6DK\*(Aq, #Regkey \& action => \*(AqNormal Authorization\*(Aq, \& description => \*(AqBusiness::OnlinePayment test\*(Aq, \& amount => \*(Aq49.95\*(Aq, \& name => \*(AqTofu Beast\*(Aq, \& address => \*(Aq123 Anystreet\*(Aq, \& city => \*(AqAnywhere\*(Aq, \& state => \*(AqUT\*(Aq, \& zip => \*(Aq84058\*(Aq, \& phone => \*(Aq420\-867\-5309\*(Aq, \& email => \*(Aqtofu.beast@example.com\*(Aq, \& card_number => \*(Aq4012000000001\*(Aq, \& expiration => \*(Aq08/06\*(Aq, \& cvv2 => \*(Aq1234\*(Aq, #optional \& ); \& $tx\->submit(); \& \& if($tx\->is_success()) { \& print "Card processed successfully: ".$tx\->authorization."\en"; \& } else { \& print "Card was rejected: ".$tx\->error_message."\en"; \& } \&=head1 DESCRIPTION .Ve .PP This is a Business::OnlinePayment backend module for the Transaction Central (MerchantAnywhere, PRIMerchants) gateway. It is only useful if you have a merchant account with MerchantAnywhere / PRIMerchants: .PP http://www.merchantanywhere.com/ http://www.merchantanywhere.com/ecshop/TC_elink.htm .PP http://www.primerchants.com/ http://www.primerchants.com/info/transactioncentral.asp .SH "SUPPORTED TRANSACTION TYPES" .IX Header "SUPPORTED TRANSACTION TYPES" .SS "\s-1CC,\s0 Visa, MasterCard, American Express, Discover" .IX Subsection "CC, Visa, MasterCard, American Express, Discover" Content required: type, login, password, action, amount, card_number, expiration, name, address, zip. .SS "\s-1ECHECK\s0" .IX Subsection "ECHECK" Content required: type, login, password, action, amount, account_number, routing_code, name .SH "PREREQUISITES" .IX Header "PREREQUISITES" .Vb 1 \& URI::Escape \& \& Net::SSLeay _or_ ( Crypt::SSLeay and LWP ) .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" For detailed information see Business::OnlinePayment. .SH "NOTE" .IX Header "NOTE" The newest publicly available documentation is available at: .PP http://www.merchantanywhere.com/ecshop/TC%20Interface%20NEW.pdf .PP It is somewhat out-of-date and contains a few discrepancies. Google \&\*(L"TCInterfaceGuide\*(R" for current documentation. .SH "AUTHOR" .IX Header "AUTHOR" Ivan Kohler .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright (C) 2006 by Ivan Kohler Copyright (C) 2007 Freeside Internet Services, Inc. .PP This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBperl\fR\|(1). Business::OnlinePayment.