Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

business::frauddetect::precharge(3pm) [debian man page]

FraudDetect::preCharge(3pm)				User Contributed Perl Documentation			       FraudDetect::preCharge(3pm)

NAME
Business::FraudDetect::preCharge - backend for Business::FraudDetect (part of Business::OnlinePayment) SYNOPSIS
use Business::OnlinePayment my $tx = new Business::OnlinePayment ( 'someGateway', fraud_detect => 'preCharge', maximum_fraud_score => 500, preCharge_id => '1000000000000001', preCharge_security1 => 'abcdef0123', preCharge_security2 => '3210fedcba', ); $tx->content( first_name => 'Larry Walton', last_name => 'Sanders', login => 'testdrive', password => '', action => 'Normal Authorization', type => 'VISA', state => 'MA', zip => '02145', country => 'US', phone => '617 555 8900', email => 'lws@sanders.com', ip_address => '18.62.0.6', card_number => '4111111111111111', expiration => '0307', amount => '25.00', ); $tx->submit(); if ($tx->is_success()) { # successful charge my $score = $tx->fraud_score; my $id = $tx->fraud_transaction_id; #returns the preCharge transaction id } else { # unsucessful my $score = $tx->fraud_score; } DESCRIPTION
This module provides a driver for the preCharge Risk Management Solutions API Version 1.7 (16 Jan 2006). See Business::OnlinePayment and Business::FraudDetect for more information. CONSTRUCTION
Whe constructing the Business::OnlinePayment object, three risk management parameters must be included for the preCharge object to be properly constructed. o precharge_id This field is called "merchant_id" in the preCharge API manual o precharge_security1 This field is called "security_1" in the preCharge API manual o precharge_secuirty2 This field is called "security_2" in the preCharge API manual METHODS
This module provides no public methods. AUTHORS
Lawrence Statton <lawrence@cluon.com> Jason Hall <jayce@lug-nut.com> DISCLAIMER
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
http://420.am/business-onlinepayment perl v5.12.4 2011-07-21 FraudDetect::preCharge(3pm)

Check Out this Related Man Page

Business::OnlinePayment::TransactionCentral(3pm)	User Contributed Perl Documentation	  Business::OnlinePayment::TransactionCentral(3pm)

NAME
Business::OnlinePayment::TransactionCentral - Transaction Central backend module for Business::OnlinePayment SYNOPSIS
use Business::OnlinePayment; #### # One step transaction, the simple case. #### my $tx = new Business::OnlinePayment("TransactionCentral"); $tx->content( type => 'CC', login => '10011', #MerchantID password => 'KK48NPYEJHMAH6DK', #Regkey action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', name => 'Tofu Beast', address => '123 Anystreet', city => 'Anywhere', state => 'UT', zip => '84058', phone => '420-867-5309', email => 'tofu.beast@example.com', card_number => '4012000000001', expiration => '08/06', cvv2 => '1234', #optional ); $tx->submit(); if($tx->is_success()) { print "Card processed successfully: ".$tx->authorization." "; } else { print "Card was rejected: ".$tx->error_message." "; } =head1 DESCRIPTION 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: http://www.merchantanywhere.com/ http://www.merchantanywhere.com/ecshop/TC_elink.htm http://www.primerchants.com/ http://www.primerchants.com/info/transactioncentral.asp SUPPORTED TRANSACTION TYPES
CC, Visa, MasterCard, American Express, Discover Content required: type, login, password, action, amount, card_number, expiration, name, address, zip. ECHECK Content required: type, login, password, action, amount, account_number, routing_code, name PREREQUISITES
URI::Escape Net::SSLeay _or_ ( Crypt::SSLeay and LWP ) DESCRIPTION
For detailed information see Business::OnlinePayment. NOTE
The newest publicly available documentation is available at: http://www.merchantanywhere.com/ecshop/TC%20Interface%20NEW.pdf It is somewhat out-of-date and contains a few discrepancies. Google "TCInterfaceGuide" for current documentation. AUTHOR
Ivan Kohler <ivan-transactioncentral@420.am> COPYRIGHT AND LICENSE
Copyright (C) 2006 by Ivan Kohler Copyright (C) 2007 Freeside Internet Services, Inc. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl(1). Business::OnlinePayment. perl v5.8.8 2008-02-27 Business::OnlinePayment::TransactionCentral(3pm)
Man Page