Нема описа

ptenchik0 63e691becc cleanup пре 3 година
controllers 9852a8f16a Init пре 3 година
models 9852a8f16a Init пре 3 година
views 9852a8f16a Init пре 3 година
Bootstrap.php 9852a8f16a Init пре 3 година
LiqPayWidget.php 9852a8f16a Init пре 3 година
Module.php 9852a8f16a Init пре 3 година
README.md 9852a8f16a Init пре 3 година
composer.json 9852a8f16a Init пре 3 година

README.md

ReactLogic LiqPay Module

ReactLogic LiqPay Module Desc

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist reactlogic/yii2-reactlogic-liqpay "*"

or add

"reactlogic/yii2-reactlogic-liqpay": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, add to config :

'modules' => [
    'liqpay' => [
        'class' => 'reactlogic\liqpay\Module',
        'public_key' => 'sandbox_i59645978812',
        'private_key' => 'sandbox_g80VP8wcnWOhpogR6Jjn0LvE6KtIgY6BFnF2ZsRl',
        'action' => 'paydonate',
        'amount' =>  null,
        'currency' => 'USD',
        'description' => 'Help People (SOS) WAR!',
        'language' => 'en',
    ],
    ...
]

Then simply use it in your code by :

```php <?= \reactlogic\liqpay\LiqPayWidget::widget(); ?>