Looking to hire Laravel developers? Try LaraJobs

laravel-bkash maintained by abdursoft

Description
This package or Library for Bkash, developed by abdursoft. This library come with MIT license, so you can easily change anything what ever your needs.This package will work for bkash tokenized payment system. If they are updated their version and the library couldn't work properly, please contact with abdursoft@gmail.com
Author
Last update
2024/11/14 19:21 (dev-main)
License
Links
Downloads
23

Comments
comments powered by Disqus

Bkash tokenized payment gateway integration for PHP and Laravel applicaation

Now you can easily integrate bkash tokenized payment gateway into your PHP and laravel application. Just follow up the below process. Hope you will integrate the Bkash payment gateway successfully in your PHP or Laravel application

Now let's start with abdursoft/laravel-bkash. Run the below command to install the package.

After installing the package you have to update .env file from your root folder with the below code.

[Note] Remember you have to update these variable with your credentials.

If the package/library successfully installed on your project then make a controller in your laravel project.

If your controller has been successfully created, open with your text editor and replace all code with below code.

At this stage you have to initalize the payment routes for baksh gateway. You can put the below routes or You can create your owns.

Don't forget to add use App\Http\Controllers\BkashController; in your route page.

To create a payment, you have to pass some data such as amount reference merchant_invoice_number callback_url.

To create a refund, you have to pass some data such as transactionID paymentID amount reason sku