Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
25
votes
4answers
31k views

What are the definitions of the order statuses? OR: Where should I integrate my order state?

I want to define some order states like "credit card payment received", the question is to which statuses they belong. Is there a definition for each of the built-in statuses? Edit: Seems like I ...
19
votes
3answers
2k views

Order Status not changed in the sales order grid Magento 2

I am using the fedex shipping method and after generating the shipment,status shows completed in the order view page.But there is still showing 'processing' status in the sales order grid. Please ...
11
votes
1answer
7k views

Process to create partial credit memo/refund for Paypal Standard orders

I see a number of issues reported that if an administrator sends a partial refund to a customer via Paypal then Magento receives an IPN that causes the whole order to be marked as Refunded (e.g. https:...
11
votes
4answers
21k views

Force an order to go to the status complete

We are using a custom module that requires the status: "complete" (I can't change the module because it uses ioncube) We are also using a payment system that doesn't offer the status option: "...
10
votes
3answers
18k views

How do you create a new order state for an order status to be assigned to?

It's clear how to create a new order status. System > Order Statuses > Create New Status But how do you create a new state? "processing", "complete", "new" are examples of the default Magento order ...
10
votes
2answers
2k views

PayPal IPN not triggering Order Status updates

I'm setting up my first Magento system, using 1.8.0.0, running on a HostGator Windows server. I've configured IPN on our PayPal account. However, the payments never get communicated to Magento, and ...
9
votes
3answers
14k views

Magento Order Number Issue

I have got a strange issue with Order Number in Magento. Recently when one order was placed on my website the Order number came was 100000350,Ideally it should have been 100000370 as my previous ...
8
votes
1answer
12k views

What's the best event/way to listen for all order state changes in Magento 2?

I want to observe every order state change and react depending on the old and new status. What is the best way to accomplish this in Magento 2? It looks like there is the event ...
8
votes
2answers
1k views

Order Status History Complete no longer created, but was in M1 site

In our M1 site when an order was shipped the status of the order changed to Complete and the Order Status History would get a record showing that the order was Complete. NB: Note that there is a "...
6
votes
3answers
8k views

programatically cancel the order using order id - Magento 2

My requirement is programatically change the order status to Canceled by using order id. How to achieve this?
6
votes
3answers
8k views

Display order ID on checkout success page

Please could someone help me with what I imagine is a fairly straightforward request? I am trying to display the current order ID on the checkout confirmation page using the following code. <?...
6
votes
2answers
7k views

How to get last order status history comment and order status Magento 2

I need to change the order status and order status history comment based on the last value of the status, currently i've set order status and comment status like this: $event = $observer->getEvent(...
5
votes
2answers
14k views

Processing Order Status

What does the "Processing" status mean (processing payment, shipment, ...) and where can I find a complete list of Magento statuses and their definitions?
5
votes
2answers
25k views

Change Order Status

How do I change the order status? I do orders that are sometimes picked up and delivered (not just shipped) so I need to change the order statuses to "picked up" and "delivered" How do I do that? I ...
5
votes
2answers
6k views

Orders do not show up in customers account until processing state

My customers place orders, and when they go to the My Orders section of their account, the orders do not show up until it has been invoiced and entered a processing state. This is a problem because ...
5
votes
1answer
3k views

How are Order States/Statuses translated?

Suppose I have a website with English and German store views. I only see a single global mapping of states to statuses at /admin/sales_order_status, so it's not clear how I would have an order state ...
5
votes
1answer
2k views

Magento 2 order flow sequence

Hope all is well. It would be great if you could help me to figure out the order flow in Magento 2. I understood these steps Order Placed -> Order in Pending -> Payment Confirmed/Verified. But got ...
5
votes
1answer
4k views

Magento Ordered Item Status is MIXED

All of Magento order is showing Mixed status in backend. Although the ordered items are shipped, As you can see in the below screenshot. ***What does the 'MIXED' word means here ?*** I found this ...
5
votes
1answer
9k views

Cannot cancel order on backend

I have created a custom payment gateway module. Everything works fine, except canceling the order from the backend. The error: The order(s) cannot be canceled Any ideas?
5
votes
1answer
1k views

Magento 2 offline payment method new order status

I've created a new offline payment module using this generator http://cedcommerce.com/magento-2-module-creator/payment-module config.xml .... <order_status>pending_payment</order_status&...
4
votes
1answer
4k views

Magento 2: How to get all order status

I am using magento version 2.1.How to get all order status options in my custom module?
4
votes
5answers
4k views

Sales order stuck on “processing”

An order made a few days ago is stuck on "processing". They payment has been captured and shows up on our merchant account. I've searched for questions previously asked and the answers always seem ...
4
votes
4answers
15k views

How to change the default order status of Paypal transactions

When a customer places an order using Paypal the order status becomes processing. I want it to be pending. I tried to change the default order status in app/Core/code/Mage/Paypal/etc/config.xml <...
4
votes
3answers
11k views

“Pending Payment” status for Check/Money Order payment method

Is it possible to change the default status of the order at any stage of the processing to "Pending Payment" if the payment method selected is "Check/Money Order"?
4
votes
1answer
479 views

CE 1.9.2 - Store custom data temporarily in the order object during checkout

I am trying to build a feature into an existing site that allows customers to earn loyalty points with a 3rd-party loyalty and rewards programme that they will need to be already registered with. The ...
4
votes
2answers
5k views

how to manually set order status to “Complete”?

I created an invoice for an order, then created a shipment from my magento admin and I encountered a rare problem, for some reason when I pressed "Submit Shipment" the website went to a 404 page, ...
4
votes
2answers
2k views

Magento 2: How do I notify a customer about an order status change done via the REST Api?

I'm using the rest API .../index.php/rest/V1/orders/561/ in order to update my order status: Payload (POST): { "entity": { "entity_id": 561, "state": "new", "status": "pending" } } ...
4
votes
3answers
6k views

“Cannot save shipment.” error with non-sample orders. 1062 Duplicate entry * for key 'UNQ_SALES_FLAT_SHIPMENT_INCREMENT_ID'

I'm running test orders on my almost ready Magento store but faced a very strange problem: I cannot save shipments in admin. So there are some test orders I made myself as a guest and a signed-in ...
4
votes
0answers
64 views

Magento 2 Send Order Emails Without Cron

Due to some issue order emails are not sending with cron and always remain with pending status. So I have to send it without cron. I have changed it to Send Asynchronously from Admin configuration. ...
4
votes
1answer
74 views

Add order status while placing order from admin Magento 1

I want to add a custom dropdown for the order status in the create an order page from admin. Admin can choose the order status while placing the order. Please see attached screenshot!!! Or Can i set ...
4
votes
1answer
1k views

PayPal Ipn model and automatically order state changes

First of all i will explain you about the actuall functionality: Customer buys in shop via PayPal Shop operators call the order from an external software (WaWi; don't know in en) and the software ...
3
votes
3answers
5k views

Magento 2.3 Change Order Status Programmatically

How to Order status change Processing to complete in magento 2.3
3
votes
3answers
5k views

Magento 2 New Order Status remains “Processing” instead of “Pending” in custom payment method

I have created a custom payment method module. System configuration has a field for selecting New order status. Even if I set it as "Pending", new order status is showing as "processing". Please ...
3
votes
3answers
3k views

Sales : Orders :How to add custom order status programmatically

I need to add custom status for an order programatically I have below controller file to save order status. I need to add custom status as cancel initiated.Provide me a solution... Controller file ...
3
votes
2answers
18k views

New order status staying “pending” instead of processing in Magento 2

We are using the Multisafepay payment methods and all our incoming orders get the status pending in our Magento2 webshop. Is there a setting we have to put in to get the orders to processing? It also ...
3
votes
1answer
8k views

PHP Get Order Status name by State code?

I am working on an extension and i need an info how to get the status name by state code, is it possible ? The picture is from the Admin's panel Order Statuses page. How i can get the status name by ...
3
votes
2answers
5k views

Adding new order status in extension in Magento 1.9

Ok so I've made a quick module. All seems to be working fine, corn job is running, admin section working and logging is working fine. However the order status I've defined in my XML is not appearing ...
3
votes
2answers
519 views

how to get data in _afterSave function in model

I am creating a custom model and rewriting the sales/order_status model and create the function public function _afterSave(Mage_Core_Model_Abstract $object){ echo "here"; exit; } this function ...
3
votes
3answers
6k views

order status and state - magento 2

I bit confused utilizing order status and state. I have created Delivered status but unfortunately it get duplicated with two different state. When I rename order status lable of anyone it will ...
3
votes
2answers
2k views

Magento2 Mass Action to Sales Order Grid

I am trying to apply a mass action to sales_order_grid but there is nothing happening. I have done so for is: vendor_name/module_name/view/adminhtml/ui_component/sales_order_grid.xml <?xml ...
3
votes
1answer
63 views

Getting status from object returns different value compared to var_dump

I have this piece of code: public function getAllOpenOrders() { $collection = Mage::getResourceModel('sales/order_item_collection'); $collection->getSelect()->join( array('...
3
votes
1answer
916 views

How can I change order status to 'Pending'?

Is there any way to change the status of an order from Processing to Pending in the admin? I know how to do this in the database, but can it be done in the admin and if so what it the process? Are ...
3
votes
1answer
6k views

Query only completed orders

I got following query SELECT CONCAT(address.firstname,' ', address.lastname) AS Name, address.email AS Email, items.created_at AS Date, ...
3
votes
2answers
6k views

Get the number of orders with status 'processing'

I am trying to get the number of orders with status 'processing' and below is the code. $countProcessingOrders = 0; $processingOrders = Mage::getModel('sales/order')->getCollection() ->...
3
votes
1answer
1k views

how i update the order status in controller in magento 2?

<?php namespace Vendor\Module\Controller\Index; use Magento\Framework\App\Action\Action; use Magento\Framework\App\Action\Context; use Magento\Framework\App\ResponseInterface;class Index extends ...
3
votes
2answers
256 views

Auto complete all orders within magento 2

I need to auto invoice/ship/complete all orders within our store. This is an internal store and we do not require payment however products DO have a price. Is there a method to auto complete these ...
3
votes
2answers
2k views

Change order status in observer

I am using sales_order_save_after event. In observer method, I have written following code: $order = $observer->getEvent()->getOrder(); $order->setState(Mage_Sales_Model_Order::STATE_NEW, ...
3
votes
1answer
397 views

Magento send email on order completion

I need to send email with PDF attachment when the order payment is done or when the order status is changed to complete..however i can't find any event related to completion of order ...mails are ...
3
votes
1answer
3k views

What is the correct way to change order status in Magento 2

After placing an order, my module calls an external API. If success from external API, I need to update the order status. I know how to update status in Magento 1 but how do you do this in Magento 2?...
3
votes
2answers
5k views

Change Order status to processing automatically

I'm using a custom payment module Billdesk and I want the order status to be processing automatically when payment is completed using this module. In all other cases order status should be pending ...

1
2 3 4 5
9