PHPackages                             atiqursafayat/bagisto-bkash-v2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. atiqursafayat/bagisto-bkash-v2

ActiveLibrary[Payment Processing](/categories/payments)

atiqursafayat/bagisto-bkash-v2
==============================

bKash Payment Gateway for Bagisto (Updated to API v2)

v1.0.4(3mo ago)010[3 PRs](https://github.com/atiqursafayat/bagisto-bkash-v2/pulls)MITPHPPHP ^8.1|^8.2|^8.3|^8.4CI passing

Since Mar 6Pushed 3mo agoCompare

[ Source](https://github.com/atiqursafayat/bagisto-bkash-v2)[ Packagist](https://packagist.org/packages/atiqursafayat/bagisto-bkash-v2)[ Docs](https://github.com/atiqursafayat/bagisto-bkash-v2)[ GitHub Sponsors](https://github.com/Ihasan)[ RSS](/packages/atiqursafayat-bagisto-bkash-v2/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (12)Versions (9)Used By (0)

bKash Payment Gateway for Bagisto (API v2)
==========================================

[](#bkash-payment-gateway-for-bagisto-api-v2)

Simple bKash payment integration for Bagisto e-commerce stores.

Forked from theihasan/bagisto-bkash and upgraded to bKash API v2.

Installation
------------

[](#installation)

Install package
===============

[](#install-package)

`composer require atiqursafayat/bagisto-bkash-v2`

Run installation command
========================

[](#run-installation-command)

`php artisan bagisto-bkash:install`

Run migrations
==============

[](#run-migrations)

`php artisan migrate`

Configuration
-------------

[](#configuration)

1. Go to Admin Panel
    - Navigate to: `Configuration → Sales → Payment Methods → bKash`
2. Configure Settings:
    - Status: Enable
    - Live Base URL: `https://tokenized.pay.bka.sh/v2/`
    - Sandbox Base URL: `https://tokenized.sandbox.bka.sh/v2/`
    - Username: Your bKash merchant number
    - Password: Your bKash password
    - App Key: Your bKash app key
    - App Secret: Your bKash app secret
    - Logo: Upload bKash logo (optional)
    - Environment: Select Sandbox/Live
3. Test Credentials (Sandbox):

- Username: `01770618567`
- Password: `D7DaC
