cinghie/yii2-satispay

Yii2 Satispay to manage Satispay Payments on your Yii 2 project

Installs: 132

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:yii2-extension

0.1.0 2019-04-25 21:42 UTC

This package is auto-updated.

Last update: 2024-04-08 11:02:38 UTC


README

License Latest Stable Version Latest Release Date Latest Commit Total Downloads

Yii2 Satispay

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;