This API requires a few things sent off - very few things such as customer first and last names, email and the product modules from the order that are in a specific category.
I started working on just a query and insertion in the checkout success page and have just had a conversation with someone who suggested a different approach which makes more sense.
So somewhere in the process - possibly as part of the order creation process - the information will be pulled from the order and stored in a new database table. I want the info sent off automatically at the end of each order that contains those products from a specific category.
So the question is - how can I do this without mangling a number of core files? The order is created in the order classes file, I believe. Is this new table insertion going to have to be done in the class file? Is there any other way to do it?
Should I tie the API send to checkout success - like in the header or should I do it earlier in case the order gets created and something goes wrong and the customer never gets to the success page (for various and sundry bizarre reasons)?
Any suggestions would be appreciated!


Reply With Quote
