Skip to content

Commit

Permalink
+ local payment methods block
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Nov 30, 2015
1 parent 6c6aebd commit 9f7b81c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ public function items()
'class' => 'hipanel\modules\finance\Module',
],
'cart' => [
'class' => 'hiqdev\yii2\cart\Module',
'termsPage' => Yii::$app->params['orgUrl'] . 'rules',
'class' => 'hiqdev\yii2\cart\Module',
'termsPage' => Yii::$app->params['orgUrl'] . 'rules',
'paymentMethods' => function () {
return Yii::$app->getView()->render('@hipanel/modules/finance/views/payment-methods', [
'merchants' => [],
]);
},
],
'merchant' => [
'class' => 'hiqdev\yii2\merchant\Module',
Expand Down

0 comments on commit 9f7b81c

Please sign in to comment.