GetControlParameter
This section describes one of the fraud screening methods used in the development of fraud screening plug-ins that allow CloudBlue Commerce to integrate with third-party fraud screening systems. For more information, please see Overview and How to Develop Fraud Screening Plug-ins.
Method naming convention
%PluginName%_GetControlParameter
Purpose
This method is used for CloudBlue Commerce to receive and install the plug-in control parameter.
Mandatory / optional
This is one of the generic methods implemented optionally.
Input Parameters
None.
Return Parameters
control_parameter
– object of the\FraudSDK\ControlParameter
type that describes the plug-in's control parameter.
Relationship with other methods
None.
Implementation examples
Example 1. V&E plug-in
function VNEDemo_GetControlParameter()
{
return
\FraudSDK\createControlParameter('Account Validation&Eligibility Check Demo')
->setQuestionNegative();
}
Example 2. Blacklist plug-in
function BlacklistDemo_GetControlParameter()
{
$control_parameter = \FraudSDK\createControlParameter('Customer ZIP Code');
$control_parameter->setQuestionPositive();
return $control_parameter;
}