cinghie / yii2-satispay
Yii2 Satispay to manage Satispay Payments on your Yii 2 project
Installs: 141
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- satispay/gbusiness-api-php-sdk: @dev
- yiisoft/yii2: ~2.0.14
This package is auto-updated.
Last update: 2024-12-08 12:23:43 UTC
README
Yii2 Satispay
- Documentation: https://developers.satispay.com/docs
- SDK: https://github.com/satispay/gbusiness-api-php-sdk
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require cinghie/yii2-satispay "@dev"
or add this line to the require section of your composer.json
file.
"cinghie/yii2-satispay": "@dev"
Configuration
Add in your common configuration file:
use cinghie\satispay\components\Satispay as SatispayComponent;
'satispay' => [
'class' => SatispayComponent::class,
'authenticationPath' => '@webroot', // path for authentication.json
'endPoint' => 'sandbox', // sandbox | production
'token' => 'YOUR_SATISPAY_TOKEN'
],
Use Component
\Yii::$app->satispay;