I would like to transfer orders I get from WooCommerce into Magento. The reason is that I want to have one-click upsells/downsells and I can't find a module or anything for Magento that has this functionality. But with WooCommerce there are a few plugins that enable this functionality. So, for offers I'm promoting/advertising I could send them to my landing page and WooCommerce checkout (i.e. with the one-click upsells/downsells) then transfer those orders automatically into Magento.

I was reading here: API to automatically import Woocommerce orders to Magento and one of the commenters said one could do this "via API (REST or SOAP)"

In another post here: Transfer orders from another cms to magento one could use an extension.

What would be the simplest way to accomplish this? Seems via API would be but I don't have much understanding of how to setup the API and would most likely require professional help.

The extensions mentioned in the post above cost are a little pricey for me at this time but might be the way to go. Not sure.

Maybe a script that cron runs every couple minutes to update and transfer the orders? I would like it to be just like the order was received through the Magento checkout i.e. all customer info.

Any suggestions would be very much appreciated.

2 Answers 2


The idea looks good but I haven't come across a readymade script like that. Performing migration manually will be safe and error-free as the one mentioned here



I think you don't need an API module to do it. Crobtab is not the best solution for your question.

*** This is my easy solution:

1. In Magento

First, you need to create a PHP script and put it into Magento root folder such as order_api.php. It will contain the code to retrieve $_POST data and insert them into Magento EAV database.

2. In WooCommerce

After that, add a hook to your WooCommerce store each time order is created:

add_action('woocommerce_checkout_create_order', 'send_order_to_magento');
function send_order_to_magento ($order, $data) {
    /* convert data to an array then send it to this url: http://yourmagento/order_api.php */

That's all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.