sibds/yii2-alfabank-payment

Payment widget for alfabank

Installs: 138

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-06-02 13:06 UTC

This package is not auto-updated.

Last update: 2024-05-09 04:02:08 UTC


README

Payment widget for alfabank

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist sibds/yii2-alfabank-payment "*"

or add

"sibds/yii2-alfabank-payment": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \sibds\payment\alfabank\AutoloadExample::widget(); ?>

Support for events about the successful payment. Add the settings app.:

// The event of successful payment
'on successPayment' => ['\frontend\controllers\ShopController', 'successPayment'],