qwaszx000 / liqpay_form
There is no license information available for the latest version (dev-master) of this package.
dev-master
2021-02-20 18:40 UTC
This package is not auto-updated.
Last update: 2025-06-23 04:03:35 UTC
README
Adds widget LiqPayForm
How to add to project:
- open composer.json
- add
"qwaszx000/liqpay_form": "*"
in"require": {...
- execute
composer update
How to use widget:
- open
./vendor/qwaszx000/liqpay_form/src/LiqPay/config.php
and configurate it with your data - create widget by
<?= LiqPay\LiqPayForm::widget(['amount' => '***', 'description' => '***', 'order_id' => '***']) ?>
Optional param: action (will be got from config file if not selected in LiqPay\LiqPayForm::widget([...])
)
Example of usage:
<?= LiqPay\LiqPayForm::widget(['amount' => '123', 'description' => 'description', 'order_id' => '0050']) ?>