php - Magento - migrating orders from 1.4 to 1.7 manually from DB -
ok i’m in trouble, viewed dozens of topics on stackoverflow , magento forum , still have no solution. happened migrating magento 1.4.2 latest 1.7. made backup of everything, did upgrade overnight , perfect. 1,5 days later notices 1 plugin not working - it’s not not working charging people wrong price! biig trouble. try fix it’s nightmare, it’s middle of day , quick decision - bring backup. again backup current 1.7 db , swap systems 1.4.2. backup there live, we’re working in background, fix , 2 days later put 1.7 happily live without troubles.
here’s trick! 2 days orders landed in backup 1.4.2 db. have 1.7 , 100 orders missing. tried millions of solutions out there they’re migrating db. trick have on 10k orders , need transfer 100 (with connected users of course).
any clues? ideas? found soap api not sure how deal that. appreciated.
you can use soap api. create script this:
$client = new soapclient('http://magentohost/api/soap/?wsdl'); $session = $client->login('apiuser', 'apikey'); $filters = array( 'created_at' => array('gt'=>'2013-05-15 12:00:00') ); $result = $client->call($session, 'order.list'); var_dump ($result);
that gives orders. can create script insert them in new db or manually purchase them again don't know 1 easiest.
i hope helpful, otherwise drop comment.
Comments
Post a Comment