I want to add a new field to the billing information step of the one page checkout, then process the customers input in a handler responding to the
I'm able to add the HTML to display my new field in the billing information step. If I use an observer responding to the
controller_action_predispatch_checkout_onepage_saveBilling event, then I can get the data the customer added to the new field by using:
However I want to process the customers input in response to the
checkout_submit_all_after_handler as Magento has done some house keeping by this point, such as creating the customer. If I use the above code to get the post data in response to
checkout_submit_all_after_handler, it only contains payment information data (which is what you'd expect as that's the last step in the checkout process).
How do I get the custom data the user filled out in an earlier step (billing information), but right at the end of the checkout process.