Business::FraudDetect

From Freeside
Revision as of 14:55, 19 July 2009 by SitboCnobo (talk | contribs)

Jump to: navigation, search

tranquilizer drug http samsung e 105 ringtones phil collins music ringtones for the motorola razor screen movie recorder furuno radar queue yuba college white girl sex redway entel pcs ringtone real hookers kryptonite let go m flo pictures from movie kill bill vol. 1 ceramic cat gifts domain sitemap alcazar video links adverse reactions of adderall asian ts movies amoxicillin prescribing information review video workout nuke video editing site schwinn nero ultra edition serial number pharmacy resume sample tech scottsdale hospital north maiden breeder 2 torrent petit baigneur lion attacks man video url chemical brothers mp3 lorazepam dosing top mela movie links index erasure take a chance on me video inspirational break up quotes gas cans tattoo sketches animated funny music video buy gold coins jaw breaker the movie los angeles fitness program right of first refusal contract real estate debt collector

preCharge API

https://helpdesk.precharge.net/index.php?_m=downloads&_a=downloadfile&downloaditemid=1

proposed Business::OnlinePayment fraud detection API

 my $transaction = Business::OnlinePayment(
   $gateway,
   'fraud_detection' => 'preCharge',
   'preCharge_id' =>,
   'preCharge_security_1' => ,
   'preCharge_security_2 => 
 );

OO

Business::FraudDetect::preCharge @ISA Business::OnlinePayment::HTTPS in order to use the HTTPS base class stuff. It can be written just like a Business::OnlinePayment gateway module, with a new action "Fraud Detect". That way gateways which support internal fraud detection can just add the new action.

When passed a fraud_detection argument, Business::OnlinePayment would look for a matching Business::FraudDetect::$module and then a Business::OnlinePayment::$module, and then run a "Fraud Detect" transaction against it, then run the real transaction if the fraud detection came back okay.

Packaging

The new modules should go in the Business-OnlinePayment distribution (checked into CVS for now, uploaded to CPAN upon project completion), so that an installation of Business::OnlinePayment gives you Business::FraudDetect::preCharge as well.