black-lamp/blcms-payment

There is no license information available for the latest version (v0.0.3) of this package.

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

v0.0.3 2017-01-19 11:10 UTC

This package is not auto-updated.

Last update: 2024-11-09 21:01:37 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