laravel-bkash maintained by abdursoft
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