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

Проверка заказа перед оплатой #64

Closed
bezumkin opened this issue Aug 14, 2013 · 1 comment
Closed

Проверка заказа перед оплатой #64

bezumkin opened this issue Aug 14, 2013 · 1 comment

Comments

@bezumkin
Copy link
Collaborator

Добавить возможность проверять заказ перед оплатой, для исключения неприятных ситуаций, когда заказ оплатили, а товар уже закончился.

Также, можно сделать системную настройку для макс. дней актуальности заказа.

bezumkin added a commit that referenced this issue Aug 25, 2013
Moved methods "error" and "success" from handlers to miniShop2 class.
[#64] Added ability to stop switching order status from system plugin.
@bezumkin
Copy link
Collaborator Author

Теперь остановить оплату заказа можно через событие msOnBeforeChangeOrderStatus. Если плагин вернёт любое сообщение - это считается ошибкой и статус заказа не меняется.

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

No branches or pull requests

1 participant