fraudlabspro / magento2

fraudlabspro/magento2

FraudLabs Pro Fraud Prevention plugin that screen the order transaction for online frauds. Fraud Prevention extension for Magento 2.

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0, AFL-3.0

FraudLabs Pro (Extension for Magento2)

This extension helps user to screen the order transaction for online frauds in Magento easily. An example of order transaction is the credit card order. It checks each order transaction that been performed and provides user the fraud validation result on the Magento order details page.

The features of this extension are:

  • Fraud analysis and scoring
  • IP address geolocation & proxy validation
  • Email address validation
  • Credit card issuing bank validation
  • Transaction velocity validation
  • Device transaction validation
  • Blacklist validation
  • Custom rules trigger
  • Email notification of fraud orders
  • Mobile app notification of fraud orders

This extension requires a valid API key to function. Please sign up for a free API key at https://www.fraudlabspro.com/sign-up.

Installation

Install Manually

  1. Download the FraudLabs Pro plugin from the FraudLabs Pro GitHub site at https://github.com/fraudlabspro/magento2.
  2. Create a folder and name as Hexasoft.
  3. Unzip the file that downloaded from FraudLabs Pro GitHub site, rename it to FraudLabsPro and transfer it into Hexasoft folder.
  4. Upload the Hexasoft folder to the subdirectory of Magento installation root directory as: magento2/app/code/
  5. Login to the Magento admin page and disable the cache under the System -> Cache Management page.
  6. At the Linux server command line enter the following command in the Magento root directory: php bin/magento setup:upgrade

Install via Composer

  1. At the Linux server command line enter the following command in Magento root directory: composer require hexasoft/module-fraudlabspro
  2. Next continue by entering: composer update
  3. Then follow by: php bin/magento setup:upgrade

For more detail information please refer https://www.fraudlabspro.com/tutorials/how-to-install-fraudlabs-pro-plugin-on-magento2.

Revision History for FraudLabs Pro Magento2

2.8.0 2026-05-18
Supported bill_to parameter for Screen Order API.

2.7.5 2025-08-07
Fixed security vulnerabilities.

2.7.4 2025-07-04
Fixed Creation of dynamic property deprecated functionality error.

2.7.3 2025-02-27
Updated all FraudLabs Pro API to v2.

2.7.1 2025-02-24
Updated Fraud Validation Report.

2.7.0 2024-12-04
Added Enable Debug Log feature.

2.6.1 2024-11-19
Fixed undefined array key warning.

2.6.0 2024-10-03
Supported Adobe Commerce (cloud).

2.5.0 2024-07-10
Added Auto-Sync order status feature.

2.4.0 2023-12-27
Updated to FraudLabs Pro API v2.

2.3.4 2023-08-03
Updated user guide.

2.3.3 2022-12-01
Removed Agent JavaScript v3.

2.3.2 2022-10-07
Supported item type classification.

2.3.1 2022-09-23
Fixed missing device information issue.

2.3.0 2022-09-02
Implemented new Agent JavaScript.

2.2.8 2022-08-16
Added payment_gateway information for screen/order API.

2.2.7 2022-07-29
Added coupon code information for screen/order API.

2.2.6 2022-05-10
Updated fraud report display.

2.2.5 2021-08-04
Updated order feedback fields.

2.2.4 2021-04-13
Updated Settings page to include Approve Status change.

2.2.3 2020-09-15
Fixed IP address parsing issue.

2.2.2 2020-08-12
Added csp whitelist.

2.2.1 2020-06-10
Added new result fields.

2.2.0 2020-04-10
Support product SKU validation.

2.1.0 2019-10-09
Support notification based on fraud status using Zapier.

2.0.13 2019-05-24
Added is_phone_verified field.

2.0.12 2019-02-21
Capture real IP behind firewalls and proxies.

2.0.11 2018-07-24
Fix compatibility issue.

2.0.10 2017-10-25
Changed plugin configuration setting.

2.0.9 2017-10-20
Fixed name fields input for screen/order API.

2.0.8 2017-10-20
Fixed device information capture issue.

2.0.7 2017-09-15
Added new fields for screen/order API.

2.0.6 2017-08-24
Fixed IP detection when Magento is running behind a reverse proxy server.

2.0.5 2017-05-18
Added "Blacklist" button.

2.0.4 2017-03-21
Fixed result display issue.

2.0.0 2016-06-15
First Release

Versions
Version Stability QA Status Compatibility Released
2.8.0 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-04 06:51:50
2.7.5 stable Not tested Not yet tested Details 2025-08-07 04:22:55
2.7.4 stable Not tested Not yet tested Details 2025-07-04 03:56:50
2.7.3 stable Not tested Not yet tested Details 2025-03-03 03:24:16
2.7.1 stable Not tested Not yet tested Details 2025-02-24 05:29:44
2.7.0 stable Not tested Not yet tested Details 2024-12-13 01:24:41
2.6.1 stable Not tested Not yet tested Details 2024-11-19 08:39:12
2.6.0 stable Not tested Not yet tested Details 2024-10-04 00:35:38
2.5.0 stable Not tested Not yet tested Details 2024-07-10 06:19:16
2.4.0 stable Not tested Not yet tested Details 2023-12-28 23:56:52
2.3.4 stable Not tested Not yet tested Details 2023-08-03 06:19:47
2.3.3 stable Not tested Not yet tested Details 2022-12-01 02:46:31
2.3.2 stable Not tested Not yet tested Details 2022-10-07 07:09:29
2.3.1 stable Not tested Not yet tested Details 2022-09-23 04:41:03
2.3.0 stable Not tested Not yet tested Details 2022-09-08 00:20:10
2.2.8 stable Not tested Not yet tested Details 2022-08-17 00:24:57
2.2.7 stable Not tested Not yet tested Details 2022-07-29 06:53:32
2.2.6 stable Not tested Not yet tested Details 2022-05-12 02:06:21
2.2.5 stable Not tested Not yet tested Details 2021-08-04 06:22:16
2.2.4 stable Not tested Not yet tested Details 2021-04-13 02:58:15
2.2.3 stable Not tested Not yet tested Details 2020-09-15 05:27:56
2.2.2 stable Not tested Not yet tested Details 2020-08-12 08:04:14
2.2.1 stable Not tested Not yet tested Details 2020-06-10 03:28:12
2.2.0 stable Not tested Not yet tested Details 2020-04-13 03:00:58
2.1.0 stable Not tested Not yet tested Details 2019-10-10 01:22:13
2.0.13 stable Not tested Not yet tested Details 2019-05-24 03:11:38
2.0.12 stable Not tested Not yet tested Details 2019-02-21 04:59:47
2.0.11 stable Not tested Not yet tested Details 2018-07-24 01:42:25
2.0.10 stable Not tested Not yet tested Details 2017-10-25 05:20:50
2.0.9 stable Not tested Not yet tested Details 2017-10-20 06:38:26
2.0.8 stable Not tested Not yet tested Details 2017-10-20 01:19:57
2.0.7 stable Not tested Not yet tested Details 2017-09-15 04:18:50
2.0.6 stable Not tested Not yet tested Details 2017-08-23 23:49:01
2.0.5 stable Not tested Not yet tested Details 2017-05-18 08:32:32
2.0.4 stable Not tested Not yet tested Details 2017-03-21 07:02:40
2.0.3 stable Not tested Not yet tested Details 2016-11-28 02:50:59
2.0.2 stable Not tested Not yet tested Details 2016-11-17 01:36:07
2.0.0 stable Not tested Not yet tested Details 2016-06-23 07:11:37

Requires 1

Package Constraint
php >=5.5

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 827 827 warnings (ruleset: Magento2) — 608 auto-fixable with phpcbf
PHPMD Warning 11 11 rule violations (ExcessiveClassComplexity:2, CyclomaticComplexity:2, NPathComplexity:2, ExcessiveMethodLength:2, MissingImport:2)
Cpd Warning 4 4 duplicated chunks spanning 131 total lines (min-lines=5, min-tokens=70)
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 38 38
2.4.8 38 38
2.4.9 38 38

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0, AFL-3.0
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.