fraudlogix/module-core

Core module for implementing FraudLogix in Magento 2

dev-main 2025-08-28 16:37 UTC

This package is not auto-updated.

Last update: 2025-08-28 19:47:21 UTC


README

Requirements

  • Magento 2.3.x (Open Source / Commerce) and higher
  • PHP version supported by your Magento (match your Magento minor release)
  • CLI access to bin/magento

Tip: Production stores should run in production mode. Check with:

bin/magento deploy:mode:show

Installation

Manual (app/code)

  1. Create the directory in root of the project:
app/code/FraudLogix/Core
  1. Copy the module code into that folder (must include registration.php and etc/module.xml).
  2. Continue with "Enable & Register".

Composer (recommended)

  1. Run from magento root
composer require fraudlogix/module-core
  1. Continue with "Enable & Register".

Enable & Register

Run from Magento root:

php bin/magento module:enable FraudLogix_Core
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

Production mode (recommended for live sites):

bin/magento setup:static-content:deploy

Post-Install Checks

Confirm the module is enabled:

bin/magento module:status | grep -i fraudlogix

Sign in to Admin and verify FraudLogix configuration appears (see below).

Configuration

Admin path:

Stores → Configuration → FraudLogix → Core
  • General Settings
    • Enable FraudLogix - Enable or disable the FraudLogix service.
    • API Key - API key to access FraudLogix (see API Documentation to get it)
  • Actions regarding registration, order or login events (each option here represents action for certain level of risk for the event)
    • Registration Low Level Risk
    • Registration Medium Level Risk
    • Registration High Level Risk
    • Registration Extreme Level Risk
    • Order Low Level Risk
    • Order Medium Level Risk
    • Order High Level Risk
    • Order Extreme Level Risk
    • Login Low Level Risk
    • Login Medium Level Risk
    • Login High Level Risk
    • Login Extreme Level Risk
  • Logging Settings
    • Enable Logging
    • Log File Path - path of file inside Magento root ./var/log/ directory
    • Log Level
  • Development Settings
    • Enable Development Mode - enable or disable sandbox mode
    • Development IP - ip that will be seen for each request during developer mode

Updating

Manual installs:

Replace code in app/code/FraudLogix/Core with the new version, then:

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Production mode (recommended for live sites):

bin/magento setup:static-content:deploy

Composer installs:

Run from magento root

composer update fraudlogix/module-core
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Production mode (recommended for live sites):

bin/magento setup:static-content:deploy

Uninstalling

Backup first. Ensure no other modules depend on FraudLogix_Core.

Manual:

bin/magento module:disable FraudLogix_Core
rm -rf app/code/FraudLogix/Core
bin/magento setup:upgrade
bin/magento cache:flush

Production mode (recommended for live sites):

bin/magento setup:static-content:deploy

Composer-based:

bin/magento module:disable FraudLogix_Core
composer remove fraudlogix/module-core
bin/magento setup:upgrade
bin/magento cache:flush

Production mode (recommended for live sites):

bin/magento setup:static-content:deploy

Troubleshooting

Module not found / not listed

  • Check path: app/code/FraudLogix/Core
  • Ensure registration.php and etc/module.xml exist and use "FraudLogix_Core". (For manual install)
  • Run bin/magento setup:upgrade and clear caches.

DI compile errors

rm -rf generated/* 2>/dev/null || true
bin/magento setup:di:compile

Permissions/ownership

find var generated vendor pub/static pub/media app/etc -type f -exec chmod u+w {} +
find var generated vendor pub/static pub/media app/etc -type d -exec chmod u+w {} +
chmod u+x bin/magento

Memory limits

use php -d memory_limit=-1