Supported Functions

Here is an overview of all functions that a WHASOLS fraud module can contain. Functions within a module are optional and need not be in the module if they don’t apply. Remember, all functions should have the prefix filename_ and then the function name. The function name is the header below.

MetaData
This function runs when a Admin view the fraud protection page and this funtion return the module related meta information in Array format as define here.

getConfigArray
This function runs when a fraud module Configuration form opened in Fraud Detection page. return Configurations fields array (Details mentioned at Configuration options page);

activate
This function runs when fraud module configurations saved within WHASOLS, this function no need to return any response for WHASOLS, you can use this function as per your needs as like to create tables in db or e.g.

doFraudCheck
This function runs when a order checkout or user want to signup is requested. This function should return the results as per define here.

processResultsForDisplay
This function runs when an fraud results display on order page in adminarea. This function should return the results as per define here.

doReport
This function runs when a fraud report need to be submit to fraud service provider on order page in adminarea. This function should return the results as per define here.

doReportConfigArray
This function runs when fraud report button clicked on order page in adminarea. This function should return the results as per define here.

Click here to read about fraud module Module Parameters