Hi,
I am writing a module which is used in the checkout process. It is a checkbox which is asking the customer if he wants to send his email address to the carrier for better tracking or if he do not want to send the email address.
I have now one problem, the checkbox value. I want to get the value in the hookActionValidateOrder method, but I have no idea how I can get this, because I did not put the checkbox in an extra form, because it makes no sense to confirm only this. I want to get the value after the order is created. Because I do not have a from, I can not use tools::getValue(). Is there any other way to get the checkbox value at this point?
Thank you in advance.