Module Parameters

The module parameters are the data/values passed into each function when called. Every fraud module function receives the same parameters. These parameters provide information about the specific order, client, credit card & module parameters the module command runs for. The parameters also contains the settings itself.

Parameters 

VariableTypeNotes
configurationsArrayContains an array of all the configurable options defined on the module form.
Again the key being the option name in this case
creditcardArraycreditcard Parameter have all the information related to client credit card in admin area.
orderArrayOrder Parameter have all the information related to order in admin area against order.
clientsdetailsArrayClient Parameter have all the information related to define client in admin area against client
Order Parameter Data mention below
idintOrder Unique ID
order_numberbigintThe order unique number 
amountfloatOrder Amount
payment_method_idintPayment menthod Unique ID
payment_methodstringPayment method module name
payment_method_titlestringPayment method title
promo_codestringPromotion code which applied during checkout
entry_datestringOrder Creation date
notesstringOrder notes which entered by client
ip_addressstringClient IP address
statusstringOrder status
invoice_idintInvoice unique ID which created after order placing by client
currencyintClient Currency unique ID
currencycodestringClient Currency Code
Client Parameter Data mention below
idintClient Unique ID
firstnamestringClient First Name
lastnamestringstringClient Last Name
usernamestringClient Unique Username
emailstringClient Unique email address
phonenumberstringClient Mobile Number
countrystringClient Country
citystringClient city
statestringClient state
fullnamestringClient Complete name
companynamestringClient Company name
address1stringClient Address 1
address2stringClient Address 2
phoneccstringClient Phone Country Code
postcodestringClient Postal Code
payment_methodintClient Selected Payment Method ID
languagestringClient Language
useridintClient unique ID
Additional Parameter Data mention below
ipstringUser IP address
sessionIdstringSession Unique ID
userAgentstringUser/Client UserAgent information
forwardedipstringUser Forwarded IP Address
acceptLanguagestringUser acceptLanguage
dataarrayModule results values as Array
creditcardarrayClient Credit card data as Array


Data

data are fraud module results. These are returned by fraud module API response. Data: $params[‘data’]. data parameter have array set of key and values.

Note: Every module function except the _MetaData & getConfigArray function receives the $params array.

Click here to read about fraud module Fraud Check