GetControlParameter

This section describes one of the fraud screening methods used in the development of fraud screening plugins that allow CloudBlue Commerce to integrate with third-party fraud screening systems. For more information, refer to Overview and How to Develop Fraud Screening Plugins.

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: an object of the \FraudSDK\ControlParameter type that describes the plug-in control parameter.

Relationship with other methods

None.

Implementation examples

Example 1. V&E plugin

function VNEDemo_GetControlParameter()
{
    return
        \FraudSDK\createControlParameter('Account Validation&Eligibility Check Demo')
        ->setQuestionNegative();
}

Example 2. Blacklist plugin

function BlacklistDemo_GetControlParameter()
{
    $control_parameter = \FraudSDK\createControlParameter('Customer ZIP Code');

    $control_parameter->setQuestionPositive();

    return $control_parameter;
}
CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.