I just started building a Magento module that bypasses the entire Magento validation process and instead sends the cart details to a third-party executing company via XML-RPC.
Do not get anywhere fast and may use a small guide. My understanding is that I have to create a module with an observer based on the event triggered by going to validation. The problem is that I can’t decide what the event will be, I went through the entire massive list here;
http://www.nicksays.co.uk/magento_events_cheat_sheet/
I tried:
checkout_submit_all_after - triggered after successful completion of order processing
checkout_cart_add_product_complete - works after adding a product to the basket
checkout_cart_save_before - triggered after adding a product to the basket
checkout_type_onepage_save_order - cannot make this work at all
checkout_onepage_controller_success_action - works after successful completion of the order
I don’t know if this means that I need to create a custom event or if you have a completely different and much better alternative to what I am doing. Creating and sending XML, I will remain on another question (I’m starting to understand that I can have my hands pretty well here), but any advice there was also gratefully appreciated.
Thanks for any help.
Mcnab
source share