Query: business::onlinepayment::tclink
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TCLink(3pm) User Contributed Perl Documentation TCLink(3pm)NAMEBusiness::OnlinePayment::TCLink - TrustCommerce backend for Business::OnlinePaymentSYNOPSISuse Business::OnlinePayment; my $tx = new Business::OnlinePayment("TCLink"); $tx->content( type => 'VISA', login => '99999', password => '', action => 'Normal Authorization', amount => '49.95', first_name => 'Dan', last_name => 'Helfman', address => '123 Anystreet', city => 'Anywhere', state => 'UT', zip => '84058', card_number => '4111111111111111', expiration => '09/05', ); $tx->submit(); if($tx->is_success()) { print "Card processed successfully: ".$tx->authorization." "; } else { print "Card was rejected: ".$tx->error_message." "; }SUPPORTED TRANSACTION TYPESVisa, MasterCard, American Express, Discover, Novus, Diner's Club, Carte Blanche, Japan Card, Enroute, CC 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.DESCRIPTIONFor detailed information see Business::OnlinePayment.NOTETo settle an authorization-only transaction (where you set action to 'Authorization Only'), submit the transaction id code in the field "order_number" with the action set to "Post Authorization". You can get the transaction id from the authorization by calling the order_number method on the object returned from the authorization. You must also submit the amount field with a value less than or equal to the amount specified in the original authorization.COMPATIBILITYThis module relies on Net::TCLink for interacting with the TrustCommerce payment engine. See http://www.trustcommerce.com/tclink.html for details.AUTHORDan Helfman <dan@trustcommerce.com> Derived from code by Jason Kohles and Ivan Kohler.SEE ALSOperl(1). Business::OnlinePayment. Net::TCLink. perl v5.8.8 2003-01-10 TCLink(3pm)
Similar Topics in the Unix Linux Community |
---|
The Ten Ways Twitter Will Permanently Change American Business |
Use awk or sed to parse delimited string |
AIX | Jual Obat Aborsi |
HP-UX | Obat Aborsi |
Sco | Obat Penggugur Kandungan |