Download the PHP package yarcode/yii2-payeer without Composer
On this page you can find all versions of the php package yarcode/yii2-payeer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yarcode/yii2-payeer
More information about yarcode/yii2-payeer
Files in yarcode/yii2-payeer
Package yii2-payeer
Short Description Yii2 Payeer Component
License MIT
Homepage https://github.com/yarcode/yii2-payeer
Informations about the package yii2-payeer
Payeer component for Yii2
Payment gateway and api client for Payeer service.
Package consists of 2 main components:
Api
to perform various API calls. For instance: get balance, send money, get account history, etc.Merchant
to connect Merchant API and receipt payments
Installation
The preferred way to install this extension is through composer.
Either run
or add
"yarcode/yii2-payeer": "~1.0"
to the require
section of your composer.json.
API
Configuration
Configure payeerApi
component in the components
section of your application.
Usage
You shall wrap API calls using try {} catch() {}
to handle any errors.
Available Methods
Merchant
Configuration
Configure payeer
component in the components
section of your application.
Redirecting to the payment system
To redirect user to Payeer site you need to create the page with RedirectForm widget. User will redirected right after page load.
Gateway controller
You will need to create controller that will handle result requests from PerfectMoney service. Sample controller code:
// TODO: Finish gateway controller example
Licence
MIT
Links
All versions of yii2-payeer with dependencies
yiisoft/yii2 Version ~2
yii-dream-team/payeer Version ~1
guzzlehttp/guzzle Version ~6