#### Configuring Dummy Anti-Fraud Plug-in

The Dummy anti-fraud plug-in can be used for testing purposes. It does not perform an actual check, but, having been used as a rule in an anti-fraud filter, allows emulating a particular check result, scoring points to an order, and defining an action over an order being checked.

The Dummy anti-fraud plug-in works in the following way:

- In the plug-in settings, you select one of the three responses.
- You open one of the anti-fraud filters and click the Create New Rule button.
- You select the Dummy condition from the set of plug-ins available for a given filter. In this case, you can select, the mode to emulate: synchronous or asynchronous. In the asynchronous mode, the additional settings made for the plug-in configuration are taken into account, for example, polling count, polling period, etc. The condition for the Dummy plug-in is the only one of the three (match, not match, or error) and you set this condition in the plug-in settings. Thus, there is no variants of condition selection offered when using the Dummy plug-in as a rule in a filter. In this case, you can select an action to be performed.
- Now you can select an action to be performed on the Dummy plug-in condition.

To configure the Dummy fraud plug-in:

1. Click the Edit button on the plug-in screen.
2. Set up the plug-in using the form that appears:
3. Select the plug-in response from the Always return drop-down menu:
   - Match - emulate the response saying that an order matches a check condition. In this case an action set in a Rule that uses the Dummy plug-in will be performed.
   - Not match - emulate the response saying that an order does not match a check condition. In this case an action set in a Rule will be ignored.
   - Error - fraud check error emulation. Depending on the fraud screening general settings, an error can reject an order and place it into the Documents for Approval queue without respect to an order fraud score or skip error and continue checking.
4. Disable returning Score in case of Bonus or Alert response. This option is needed to select what score to use: set in the plug-in configuration or specified per rule. To use score from the plug-in configuration, clear this box. In this case you can specify the score correction factor per Rule, this is needed to normalize the plug-in score with the score threshold set in the Anti-Fraud Manager > Setup. To use the score set per rule and ignore the score set in the plug-in configuration, check this box.
5. Score return (if any). The score to be counted by the plug-in in case of the Bonus or Alert action is preformed in a Rule that uses the Dummy plug-in.

   Asynchronous mode of operation is chosen with appropriate rules of this plug-in

   The set of options below is used when you select the Asynchronous Dummy plug-in when adding a Rule. These options are needed for testing purposes, if you want to see how a plug-in works in the asynchronous mode. The Dummy plug-in can emulate the asynchronous work.

6. Count to stop poll in async mode. The number of tries the plug-in emulates a request to a remote anti-fraud system.
7. Period to poll in async mode. The interval between requests.
8. Time limit to stop poll in async mode. The total time interval allocated for requests. For example, if you set poll count to 3 and polling period to 20 sec, then you can emulate polling stop by timeout if you set the polling time limit to 50 sec.
9. Click the Update button to save the plug-in configuration.

Please send us your feedback on this help page