Skip to content

eLearning-BS23/moodle-paygw_portwallet

Repository files navigation

Moodle Payment Gateway Portwallet plugin

PortWallet is a payment gateway that allows merchants to expand their businesses online. Your customers will be able to buy products online with ease and security. Payments can be made with local and international debit or credit cards.

PortWallet is the best and simplest way to accept payments online in Bangladesh. PortWallet aims to expand the infrastructure of internet commerce by making it easy to process transactions and manage an online business. For more detail about PORTWALET please visit https://www.portwallet.com/.

visa-master-card-bkash-nexus-logo

Features

  • Supports Visa, MasterCard, bKash, DBBL Nexus, surecash, Mcash Islami Bank
  • Easy Integration
  • Personalised payment experience
  • Bi-lingual Support
  • Add vat or surcharge
  • Invoicing Platform SendBill

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 portwallet

Plugin Global Settings

Go to

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

In this page you can add surcharge for the payments. After installing the plugin you'll automatically redirected to this page.

image_2022_02_09T06_29_33_937Z

Configuring the Portwallet Gateway:

Step: 1

Dashboard / Site administration / Plugins / Payment gateways / Manage payment gateways / Gateways->Portwallet settings

image

Enable Portwallet to the payment gateways

Step: 2

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

portwallet2

  • Insert the Portwallet apikey provided by Portwallet
  • Insert the Portwallet secrect key provided by Portwallet
  • Insert production environment like sandbox or live server
  • 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

portwallet3

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_2022_02_09T06_59_16_460Z

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

image_2022_02_09T07_00_11_382Z

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

portwallet5

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

portwallet6

Select any payment method:

portwallet7dsfdf

Give details of your card:

portwallet8ds

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

portwallet10

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.