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
Add a hook 'actionValidateOrderBefore' called before actionValidateOrder #34431
Conversation
Hi, thanks for this contribution! I found some issues with the Pull Request description:
Would you mind having a look at it? This will help us understand how interesting your contribution is, thank you very much! About linked issuesPlease consider opening an issue before submitting a Pull Request:
(Note: this is an automated message, but answering it will reach a real human) |
I think this should be QA by dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested using https://github.com/PrestaShop/ps_qualityassurance
Thank you @bibips |
When the order tunnel is customized with additional steps, developers need to verify the data entered by the user within the tunnel steps.
It is of course possible to verify this data at each stage of the order tunnel, but it is also preferable to check the integrity of the data just before confirming the order.
For example, in the case of an order tunnel stage where the customer can enter a date in the future, it is necessary to check this date again when the customer confirms the order. This check avoids data inconsistencies when the customer confirms his basket several days after creating it.