sibds/yii2-yookassa

Payment widget for yookassa

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

0.0.1 2024-09-03 09:22 UTC

This package is auto-updated.

Last update: 2024-10-27 11:26:00 UTC


README

Payment widget for Yookassa (dvizh/yii2-order)

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"sibds/yii2-yookassa": "*"

to the require section of your composer.json file.

Usage

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

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

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

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