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"); ...
Magento uses Order States for processing orders internally and each order
First get the order ID like you already did: $order = Mage::getModel('sales/order')- >load($_GET['orderid']);. and then,. Try
When I have got and error "The Order State "complete" must not be set manually." I found the solution here ...
Order states is exactly what it sounds: the states of an order in Magento, including Canceled, Closed, Complete, On Hold, Payment Review, ...
You can print invoice your Magento order from admin by follow below steps. Admin >> Sales >> Order >> Open Order >> Click Invoice ...
This status will change when customer pays.
Go to System->Order Statuses -> Click the button Assign Status to State -> select your new status (Processing) and the state (New) and save ...
the order status changes to Complete - letting them know that their order has ...