Download the PHP package kbtonmoy/fraud-checker-for-bagisto without Composer
On this page you can find all versions of the php package kbtonmoy/fraud-checker-for-bagisto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kbtonmoy/fraud-checker-for-bagisto
More information about kbtonmoy/fraud-checker-for-bagisto
Files in kbtonmoy/fraud-checker-for-bagisto
Package fraud-checker-for-bagisto
Short Description Order fraud checker for Bagisto — screens customer phone numbers against BD Courier delivery history and flags risky cash-on-delivery orders in the admin panel.
License MIT
Informations about the package fraud-checker-for-bagisto
Fraud Checker for Bagisto
Order fraud screening for Bagisto 2.4.x. Checks a customer's phone number against BD Courier delivery history and surfaces a success/return ratio in the admin order view — useful for vetting risky cash-on-delivery orders.
Requirements
- Bagisto
^2.4 - PHP
^8.3 - A BD Courier API key
Installation
1. Require the package
From Packagist (public):
From the Git repo (reuse across your own projects): add the repository to your project's
root composer.json, then require it:
From a local path (monorepo / same machine): with Bagisto's default packages/*/* path
repository in place, drop the folder into packages/Webkul/FraudChecker/ and run:
The main service provider is auto-discovered — no need to edit bootstrap/providers.php.
2. Register the Concord module
Concord model registration is not auto-discovered. Add this one line to the modules array in
your project's config/concord.php:
3. Migrate and clear caches
The fraud check runs on a queued job (CheckOrderFraud), so make sure a queue worker is running
(php artisan queue:work) if you use a non-sync queue driver.
Configuration
In the admin panel go to Configure → Sales → Fraud Checker and set:
| Setting | Config key | Notes |
|---|---|---|
| Enabled | sales.fraud_checker.settings.enabled |
Master on/off switch |
| API Key | sales.fraud_checker.settings.api_key |
Your BD Courier API key |
| Base URL | sales.fraud_checker.settings.base_url |
Defaults to https://api.bdcourier.com |
| Auto check | sales.fraud_checker.settings.auto_check |
Automatically screen new orders |
Usage
With Auto check on, each new order is screened automatically and the result appears in a panel on the admin order view. You can also trigger a re-check manually from that panel.
License
MIT © Khabirul Basar