Quantcast
Channel: Live News for Yii Framework
Viewing all articles
Browse latest Browse all 2941

[extension] rakhmatov/yii2-payment

$
0
0

payme_01.png logo.png upay_logo_new.png logo.png

Payment module

  1. DIRECTORY STRUCTURE
  2. USAGE

Payment migration module for yii2 Payme.uz Click.uz Upay.uz woy-wo.uz.

Total Downloads Maintainability

Test CoverageDIRECTORY 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

Viewing all articles
Browse latest Browse all 2941

Trending Articles