Download the PHP package tecsin/yii2-voguepay without Composer
On this page you can find all versions of the php package tecsin/yii2-voguepay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-voguepay
I transfered this repo from my organization as I won't be needing the organization tecsin again for proper management sake. Will update the namespace to onyijne in next release which will break from current release.
Pay2
VoguePay Payment Processor Extension for Yii2 Framework (Command API is in beta). Pay2 is a Yii2 wrapper for VoguePay Payment Processor Mobile/Server-to-Server and Command Api. Mobile/Server-to-Server API let you get a link token for payment by sending your merchant ID and other necessary parameters.
Command API allows you to directly perfom several actions (fetch transactions details, pay a user, withdraw money to bank accounts, create a new user) on VoguePay from your application.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage
First set up the database by running the migration code :
After which you should add pay2 to the modules section of your application component like
and setup your VoguePay details via project.com/pay2.
Notification and Pay Now Button
Get notifications from VoguePay and save data to db before sending user to voguepay.
Display pay now button
Mobile/Server-to-Server
You can either send user to VoguePay payment page directly (this is the default):
Or show the user a pay button (set showPayButton property to true):
Command API
With the Command API you can Fetch records of transactions, Pay (send money) to VoguePay merchants, Withdraw money to various bank accounts, and create a new user on VoguePay.
See tecsin\pay2\models\Money for withdrawal example
Read More.
See VoguePay Developer Page
Contributions
Contributions re highly welcome in any form deemed fit