/moodle-paygw_bkash

Bkash payment gateway moodle plugin

Primary LanguagePHPOtherNOASSERTION

Bkash Payment Gateway

bKash Limited (bKash) is a Bank-led Mobile Financial Service Provider in Bangladesh operating under the license and approval of the Central Bank (Bangladesh Bank) as a subsidiary of BRAC Bank Limited. bKash provides safe, convenient and easy ways to make payments and money transfer services via mobile phones to both the unbanked and the banked people of Bangladesh.

bKash is the fastest and safest medium of financial transaction. bKash users can deposit money into their mobile accounts and then access a range of services. It makes your life simple with Send Money, Add Money, Pay Bill, Mobile Recharge, Payment and many more services.

Features

  • Easy Integration
  • Personalised payment experience
  • Add vat or surcharge
  • Secure OTP and PIN based access

Configuration

You can install this plugin from Moodle plugins directory or can download from Github.

You can download zip file and install or you can put file under payment/gateway as Bkash.

Plugin Global Settings

After installing the plugin you'll automatically redirected to this page.

bkash settings

Configuring the Bkash Payment Gateway:

Step: 1

Dashboard / Site administration / Plugins / Payment gateways / Manage payment gateways

payment gateway settings

Enable Bkash plugin

enable shurjopay

Step: 2

At first create a payment account, from the following path:

Dashboard->Site Administration->General->Payment accounts

payment_accounts

After creating a payment account, go to the Bkash settings and fill in the required data:

Dashboard->Site Administration->Plugins->Payment Gateways->Bkash settings

bkash_options

bkash config

  • Insert credentials provided by bkash for sandbox.
  • Click the "save changes" button to save the information

Step: 3

Go to the Manage Enrolment Plugins section from the site administration

Dashboard->Site Administration->Plugins->Enrolments->Manage Enrol Plugins

image

Enable Enrolment on payment by clicking the eye icon.

Enrolment Settings for Course:

Now click on the course page and add an enrolment method Enrolment of Payment.

image

and fill up this form below to set the amount of money and currency for the course payment

image

This is how it looks like from a student's perspective:

image

Select the Payment Type- Bkash the surcharge is added with the course payment amount

bkash payment modal

If your payment is successful then you'll be enrolled in the course.

Author

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see GNU License.