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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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


All versions of fraud-checker-for-bagisto with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kbtonmoy/fraud-checker-for-bagisto contains the following files

Loading the files please wait ...