Skip to content

Latest commit

 

History

History
66 lines (56 loc) · 3.6 KB

manual.md

File metadata and controls

66 lines (56 loc) · 3.6 KB

How to setup the module

1. Locate the module settings inside the Magento backend

«STORES» → «Configuration» → «SALES» → «Fraud Protection» → «Sift»:

«STORES» → «Configuration» «SALES» → «Fraud Protection» → «Sift»

2. Place your Sift credentials to the Magento backend

You need 4 Sift credentials to setup the module:

2.1. Account ID

2.1.1. «Account ID» in Sift

Sandbox ModeProduction Mode
«Sandbox Account ID» in Sift «Production Account ID in Sift

2.1.2. «Account ID» in Magento

«Account ID» in Magento

2.2. Beacon Key

2.2.1. «Beacon Key» in Sift

Sandbox ModeProduction Mode
«Sandbox Beacon Key» in Sift «Production Beacon Key» in Sift

2.2.2. «Beacon Key» in Magento

«Beacon Key» in Magento

2.3. REST API Key

2.3.1. «REST API Key» in Sift

Sandbox ModeProduction Mode
«Sandbox REST API Key» in Sift «Production REST API Key» in Sift

2.3.2. «REST API Key» in Magento

«REST API Key» in Magento

2.4. Signature Key

2.4.1. «Signature Key» in Sift

A signature key is used to authenticate the decision notifications received by Magento from Sift.
The sandbox mode shares signature keys with the production mode, so turn off the «Sandbox Mode» toggle to see your signature key. «Signature Key» in Sift

2.4.2. «Signature Key» in Magento

«Signature Key» in Magento

3. Set the module's webhook URL to every Sift decision in the Sift console

...

4. Map the used Magento payment options to Sift constants

The module passes the chosen payment method to Sift within the $create_order event's payload.
Sift requires that $payment_type and $payment_gateway field values should belong to fixed sets, so you need to setup a mapping between Magento payment methods used in your store and the allowed $payment_type and $payment_gateway values.
The module already maps built-in Magento payment methods to reasonable $payment_type and $payment_gateway values, so you need to setup such mapping only for third-party payment modules.
Payment Methods