Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка E_NOTICE на PHP 7.3+ при списании средств #331

Open
ZloyTip opened this issue Jun 16, 2022 · 0 comments
Open

Comments

@ZloyTip
Copy link
Contributor

ZloyTip commented Jun 16, 2022

В случае, если идёт полное списание средств после холда, в классе shopWorkflowCaptureAction вызывается compact() для переменной $order_data, которая в таком случае не определена.

На PHP 7.3 и выше это приводит к ошибке. А при включённом выводе ошибок ещё и страница не обновляется.

$response = $plugin->capture(compact('transaction', 'order_data'));

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

No branches or pull requests

1 participant