承接 kbtonmoy/fraud-checker-for-bagisto 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kbtonmoy/fraud-checker-for-bagisto

Composer 安装命令:

composer require kbtonmoy/fraud-checker-for-bagisto

包简介

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.

README 文档

README

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):

composer require kbtonmoy/fraud-checker-for-bagisto

From the Git repo (reuse across your own projects): add the repository to your project's root composer.json, then require it:

"repositories": [
    { "type": "vcs", "url": "https://github.com/kbtonmoy/fraud-checker-for-bagisto.git" }
]
composer require kbtonmoy/fraud-checker-for-bagisto:^1.0

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:

composer require kbtonmoy/fraud-checker-for-bagisto:@dev

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:

'modules' => [
    // ...
    Webkul\FraudChecker\Providers\ModuleServiceProvider::class,
],

3. Migrate and clear caches

php artisan migrate            # creates the fraud_checks table
php artisan optimize:clear

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

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固