black-lamp / blcms-payment
Payment module for Blcms-shop
Installs: 86
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- black-lamp/blcms-shop: *
- black-lamp/yii2-imagable: 1.*
- black-lamp/yii2-multi-lang: ^1.0.0
- yiisoft/yii2: >=2.0.4
This package is not auto-updated.
Last update: 2024-10-26 20:53:32 UTC
README
Module for Blcms-shop
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist black-lamp/blcms-payment "*"
or add to the require section of your composer.json
file:
"black-lamp/blcms-payment": "*"
Migrations php yii migrate --migrationPath=@vendor/black-lamp/blcms-payment/migrations
Configuration Common config file:
'components' => [
'shop_imagable' => [
'class' => 'bl\imagable\Imagable',
'imageClass' => \backend\components\imagable\CreateImageImagine::className(),
'nameClass' => 'backend\components\imagable\CRC32Name',
'imagesPath' => '@frontend/web/images',
'categories' => [
'origin' => false,
'category' => [
'payment' => [
'origin' => false,
'size' => [
'big' => [
'width' => 1500,
'height' => 500
],
'thumb' => [
'width' => 500,
'height' => 500,
],
'small' => [
'width' => 150,
'height' => 150
]
]
],
],
],
],
],
Roles and its permissions:
paymentManager
- viewPaymentMethodList
- savePaymentMethod
- deletePaymentMethod