<?php
/*******************************
* Example to do a feedback for a validated result
*
*******************************/
require('FraudLabsPro.class.php');
///////////////////////////////
// Create FraudLabs Pro object
// Note: You need to enter the API key during the instantiation
// If you do not have the api key, register it free at http://www.fraudlabspro.com
$flp = new FraudLabsPro('<API_KEY>');
//Execute the fraud check result. This assume you have previous done the validation check
//and obtained the FraudLabs Pro Id
// Invoke feedback status
$result = $flp->feedbackOrder('<FRAUDLABS_PRO_ID>', 'REJECT');
//Print the transaction status. Empty string means success.
print_r($result);
//clear the object
unset($flp);
?>
|