Skip to content

    Ruletype I: Comparison (simple)

    Description

    Comparison (simple) Rule defines a logical rule that allows or prohibits the transaction from being executed when the conditions are met.

    Be very careful with the rules you define as certain combinations may prohibit the execution of all transactions!

    Add new comparison rule

    • Click on „Plus“ icon on top right corner
    PE_MC_RiskSet_RT1_1
    • A modal window will open to add new rule
    PE_MC_RiskSet_RT1_2
    • Select "Simple rule" option in "Rule type" dropbox
    PE_MC_RiskSet_RT1_3
    • You will see Modal window for add/edit Simple risk rule
    PE_MC_RiskSet_RT1_4

    How to define new Comparison Rule:

    When you see Modal window for add/edit Simple risk rule, you can define new rule by choosing the required attributes, operator, and result. The definition logic is as follows: If "Attribute 1" and "Attribute 2" meet the condition selected in the "Operator", the "Result" will be executed.

    PE_MC_RiskSet_RT1_5

    Example

    "I want Billing and Shipping address to be in same country."

    • Select "billing.address.country" option in "Attribute 1" dropbox
    PE_MC_RiskSet_RT1_6

    After you select the option in "Attribute 1", this option will disapear from "Attribute 2" dropbox.

    • Select "!=" option in "Operator" dropbox
    PE_MC_RiskSet_RT1_7
    • Select "shipping.address.country" option in "Attribute 2" dropbox
    PE_MC_RiskSet_RT1_8
    • Select "Red" option in "Result" dropbox
    PE_MC_RiskSet_RT1_9
    • Click on "Save" button on the bottom of the modal window
    PE_MC_RiskSet_RT1_10

    After you save the items in modal window, you must click the "Save" button at the bottom of the page. Otherwise, your changes will not be saved.

    PE_MC_RiskSet_RT1_11

    Edit existing rules

    PE_MC_RiskSet_RT1_ERule_1
    PE_MC_RiskSet_RT1_ERule_2
    PE_MC_RiskSet_RT1_ERule_3
    PE_MC_RiskSet_RT1_ERule_4
    PE_MC_RiskSet_RT1_ERule_5
    PE_MC_RiskSet_RT1_ERule_6
    • Click on „Edit“ icon on the row with selected item

    A modal window will open to edit selected rule

    At this point "Rule type" dropbox can not be changed

    Change the options that you want

    Save the risk rule

    After you save the items in modal window, you must click the "Save" button at the bottom of the page. Otherwise, your changes will not be saved.

    Delete Rule

    PE_MC_RiskSet_RT1_DelRul_1
    PE_MC_RiskSet_RT1_DelRul_2
    PE_MC_RiskSet_RT1_DelRul_3

    Description of options

    "Attribute 1" and "Attribute 2" "billing.address.city" --> Billing Address City "billing.address.country" --> Billing Address Country "billing.address.firstName" --> Billing Address First Name "billing.address.houseNumber" --> Billing Address House Number "billing.address.id" --> Billing Address Id "billing.address.lastName" --> Billing Address Last Name "billing.address.state" --> Billing Address State "billing.address.street" --> Billing Address Street "billing.address.zip" --> Billing Address Zip Code "order.ipAddress" --> IP Address of Order "shipping.address.city" --> Shipping Address City "shipping.address.country" --> Shipping Address Country "shipping.address.firstName" --> Shipping Address First Name "shipping.address.houseNumber" --> Shipping Address House Number "shipping.address.id" --> Shipping Address Id "shipping.address.lastName" --> Shipping Address Last Name "shipping.address.state" --> Shipping Address State "shipping.address.street" --> Shipping Address Street "shipping.address.zip" --> Shipping Address Zip Code Operator: ">=" - Greater than or equal "<=" - Less than or equal "<" - Less than "==" - Equality "!=" - Inequality ">" - Greater than Result: "Red" - Transaction will be declined "Green" - Transaction will pass

    Was this helpful?

    What was your feeling about it?