Using Magento 2.3.3. Please see attached. 1. Order was paid with credit card, status was "Pending" 2. Invoice created, status changed to.
i found a solution for my self, $order = Mage::getModel('sales/order')-> loadByIncrementId($order_id); $order->setData('state', "complete"); ...
Order states is exactly what it sounds: the states of an order in Magento, including Canceled, Closed, Complete, On Hold, Payment Review, ...
First get the order ID like you already did: $order = Mage::getModel('sales/order')- >load($_GET['orderid']);. and then,. Try
Magento uses Order States for processing orders internally and each order
When I have got and error "The Order State "complete" must not be set manually." I found the solution here ...
Magento Set Order Status To Complete. Posted by Damodar Bashyal on September 03, 2013. Home · Blog · Magento · Magento Set Order Status To Complete.
Use SalesShipOrder. POST https://{host}/index.php/rest/V1/orders/{orderId}/ship with the payload described at the link above for each item ...
This status will change when customer pays.
You can print invoice your Magento order from admin by follow below steps. Admin >> Sales >> Order >> Open Order >> Click Invoice ...