rakhmatov / yii2-payment
Payment migration module for yii2 Payme.uz Click.uz Upay.uz woy-wo.uz and etc.
1.1.200625
2020-06-25 12:51 UTC
Requires
- php: ^5.5 || ~7.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2020-06-25 07:53:34 UTC
README
Payment module
Payment migration module for yii2 Payme.uz Click.uz Upay.uz woy-wo.uz.
DIRECTORY STRUCTURE
components contains components
controllers contains controllers which is handles requests
dto contains data transfer objects
exeptions
migrations contains migrations
models
USAGE
add payment module in your configuration file
'modules' => [
...
'payment' => [
'class' => 'rakhmatov\payment\Module'
]
...
]
in application params file add
'paycom' => [
'login' => 'Paycom',
'merchat_id' => 'your_merchant_id',
'key' => 'your_key',
'test_key' => 'your_test_key',
]
well, now you can check, for example: https://example.com/payment/paycom or https://example.com/payment/click