Skip to content

Conversation

@avkosorotov
Copy link

Добавить CLI для платежных плагинов

Добавить CLI для платежных плагинов
@ZloyTip
Copy link
Contributor

ZloyTip commented Oct 25, 2021

Тут бы уже использовать либо $this->adapter либо $adapter.
А так тремя руками за!

'message' => $ex->getMessage(),
'payment' => $method
];
waLog::log(var_export($data, true), 'shop/payment.cli.log');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waLog::dump($data, 'shop/payment.cli.log')

$options = array(
'all' => true,
);
$methods = $plugin_model->listPlugins(shopPluginModel::TYPE_PAYMENT, $options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shopHelper::getPaymentMethods() возвращает только активные плагины

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants