Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Magento 2: How to change order status from Complete back to Processing

Is there a way to change the order status back to being Processing when order is already in Complete status? Is there some code way or MySQL way to achieve this?
0
votes
0answers
17 views

Magento2.3 - Programmatically setting order status to On Hold getting stuck

I have an observer in my module the fires when the order is placed, depending on a condition I use $order->setState(\Magento\Sales\Model\Order::STATE_HOLDED, true)->save(); $order->setStatus(\...
0
votes
1answer
13 views

Notes don't show in Guest Order Lookup page

My site has the ability for logged-in customers to see orders in their Order History page and also a Guest Lookup where they can lookup an existing order putting in order number and last name. The two ...
0
votes
0answers
7 views

Magento 2 - Pendent Payment status in orders

in the back-office of Magento I have a lot of orders with the status 'Pending payment'. I have revised the transactions and there are done. I'm not sure how to change it and the most important why it ...
0
votes
0answers
25 views

Downloadable product order status showing pending or closed

My downloadable product order status is showing pending. I have set this option Configuration->Catalog->Catalog->Order Item Status to Enable Downloads=Invoiced Placing orders using Zero ...
0
votes
0answers
51 views

Magento 2.3.5 Order Status not showing in admin order view

I have below orders status and are correctly assign to state. However it is not showing in Admin Order view page. Below are my database entries - Above order status should show in Admin Order View ...
0
votes
0answers
23 views

magento 2 - how to add tracking number and detail link open new window set in sale order grid

how to add tracking number and detail new window link set in sale order grid like below
0
votes
2answers
191 views

Magento 2: Set order status to complete programmatically results in “Please provide payment for the order”

i would like to set order to complete programmatically after they have been processed in another software. This is the typical code i found all over the internet: $orderId = 1000120319; $order = $...
0
votes
0answers
12 views

How is Order Status labelling working?

From this code I could find a logic for getting status label for adminhtml private function getStatusLabelForArea() Tried to find out how the Order status is translated. It seems illogical to me and I ...
0
votes
0answers
20 views

Order state is updated to closed after creating an invoice

This is my code for creating a pending invoice: if ($order->canInvoice()) { $invoice = $this->invoiceService->prepareInvoice($order); $invoice->register(); $invoice->save(); ...
0
votes
3answers
28 views

Order status changes after the 'sales_order_save_after' is executed

In Magento 2.3.0, I need to execute a specific function when the order is shipped (the Ship action is triggered). Basically, I am using the 'sales_order_save_after' event to check what's the current ...
0
votes
0answers
73 views

Magento 2: Invoice capture programmatically not working in magento 2.2

I am trying to capture payment online but it's not capturing. I am working with Magento 2.2. Not sure why this code does not work even the same code works with the latest version of Magento. public ...
1
vote
1answer
36 views

How to cancel order Programmatically without disabling URL security key

Here am trying to Cancel a order from a controller using order ID. but order is cancelling only if security key adding to URL disabled from admin configuration. How to cancel order without disabling ...
0
votes
0answers
14 views

How to change the order status cancel in magento after payment cancelled from ccavenue MCPG Payment Gateway?

integrate my website with ccavenue MCPG payment Gateway. I have an issue on orders, if customer cancel the payment from payment gateway successfully return to website and show the order as cancelled ...
2
votes
0answers
29 views

What is the standard order process workflow in Magento 1?

I'm trying to understand the order process in Magento 1.7. The background is: I'm extracting the payment (and later the complete checkout) from Magento to another system, but the order processing ...
2
votes
0answers
31 views

Magento 2 - offline payment have no entry in sales_order_status_history table

I am working on the implementation of Track order functionality in Magento 2 in which I am using the sales_order_status_history table to get all status history related to the orders. But this is ...
0
votes
0answers
24 views

Magento 2.3 Custom Order Status Reverts Back to Processing

I have created an custom order status by following below link. https://docs.magento.com/user-guide/sales/order-status-custom.html named "Online Payment Success" and I set this status to my ...
1
vote
0answers
22 views

Change order status from pending to processing in Admin

I'm not much experienced in Magento. I'm working on a legacy Magento codebase where we use Magento 1.7. Currently the status is changed from pending to processing using API calls. And it works ...
0
votes
2answers
50 views

Magento2.4 order grid status color

I want to add color to order grid on magento2.4 admin panel, sales -> orders. Each status should have own color, forexample status "complete" shows purple and all rows who has complete ...
0
votes
1answer
74 views

2.3.5 - New Orders with approved payment are created as 'Pending' as opposed to 'Processed' status - using third party payment method (Mercado Pago)

Magento ver. 2.3.5-p1 Third party Module used: Mercado Pago https://www.mercadopago.com.br/developers/pt/guides/plugins/official/magento-two Description: users are able to pay for orders and their ...
0
votes
0answers
38 views

Magento - Cancel Order not working

Hello Magento Experts, I have a strange issue in one of my Magento1.9.x site. In the admin panel, when I log in and then I click Sales -> Orders -> Edit any pending order, I click on cancel, it ...
0
votes
1answer
29 views

Cannot update order state and status programatically

This is my first attempt: $orderId = 57; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('\Magento\Sales\Model\Order')->load($orderId); ...
0
votes
1answer
130 views

Magento 2.3.4 How to change the order status from COMPLETE to CLOSED after 5 days with a cronjob?

Since Yotpo plug-in triggers Automatic Review Email upon Magento changing order status to COMPLETE, I need to further change the status from Complete to Closed after 5 days so that the Automatic ...
0
votes
0answers
22 views

Magento2 : Is is possible to create invoice order which is placed using bank transfer payment gateway?

Is it possible to create an invoice & change order status from pending to processing for the order placed using Bank Transfer Payment Gateway? Also, the customer comment email is not working on ...
1
vote
0answers
18 views

How to prevent paypal auto changing order status from processing to complete magento 1

noticed that the paypal standard module automatically transfers orders to the status of complete. How to prevent him from doing this? it does not work correctly, since the status complete means that ...
1
vote
1answer
136 views

Magento 2: How to remove the Order Status in admin panel?

In Magento 2 admin panel, I can see there is an option to unassign the status. But, is there any option to Removes the Default Order Status in the admin panel? If not, suggest the way how I can remove ...
0
votes
0answers
19 views

Magento 2.3 - Special price automatically applied when order is programmatically set to status Complete

I am on a bit of a strange bug. I am using a Magento 2.3 installation with No Stock Management and no rules for special prices or discounts. I programmatically set the orders through a cron job to ...
1
vote
3answers
31 views

Where are invoiced + shipped orders marked as complete?

In some (not all) cases, I want to set the status of an order to a new custom status after it has been shipped. Where in the core code is an order updated to complete once it has been invoiced and ...
0
votes
1answer
15 views

Problem in retrieving orders with “processing” status

I am using the code below to filter orders by their status and after to change it to complete use Psr\Log\LoggerInterface; class OrderStatus { /** * @var \Magento\Sales\Api\...
1
vote
2answers
816 views

How to Change Order Status using Api in magento 2.3.5

I want to develop new module for changing order status using Api in magento 2.3.5 so can anyone have idea then please share with me. I want to create order status and change it using Api.
1
vote
1answer
213 views

How to cancel or close an order that has been invoiced through the API

I know in previous older versions (still 2.0) that I could cancel an order in processing with an invoice but recently that seems to have stopped working for a few of my clients. ie: /V1/orders/{id}/...
1
vote
1answer
99 views

How to change order status of Pending to Payment Review on homologation environment?

Hi i'm new at magento 2 and i want to change an order status of Pending to Payment Received, but i'm in homologation environment using sample data to test my store, so I still don't have a functional ...
0
votes
0answers
66 views

Magento 2: How to change order status of Pending to Payment Received?

Hi i'm new at magento 2 and i want to simulate the order status change of Pending to Payment Received. How can i do this? And which event can i observe to when the order status get changed to Payment ...
0
votes
0answers
15 views

Magento 2 In what cases will order item be canceled?

We are experiencing some wierd issue that when customer place an order with creditcard, the payment went though, and we can see this payment in our payment gateway admin system, everything seems good, ...
0
votes
0answers
13 views

Is it valid for an order to have <status, state> that is not defined in System > Order Statuses?

System > Order Statuses allows one to create order statuses and link them to order states. What's the meaning of this link in terms of data validity? Should it be considered invalid to assign to an ...
0
votes
0answers
22 views

Magento 2: invoices are not always auto generated

I noticed on Magento 2.2.8 that the invoices are auto generated. Sometimes they're not autogenerated and I need to manually create the invoice. Why does this happen? PS, I'm using PayPal and ...
0
votes
1answer
16 views

How to setup Magento to query vendor before confirming order?

On our website I want to have 30-40 commonly ordered products on display. These are very fast moving consumer goods in both the online and offline worlds. We will also have 100-200 vendors, all of ...
0
votes
0answers
18 views

I want to change the order status when the shipment is occurred in magento 2.3

I want to change the order status (custom_status) during the shipping, how to implement this as functionality in magento 2.3
0
votes
0answers
42 views

When creating invoice the order status is always Suspected Fraud

My order status are like this: What's wrong with it? happens with all kinds of payment methods! Magento see. 2.2.11
0
votes
1answer
146 views

Magento2: Order status issue

I have created new order status "Test" from admin panel. Status is not showing on sales order. How can i show status on sales order?
0
votes
0answers
22 views

Worldpay completed orders being marked as complete

I have a Megento 1.9.2 store which sells downloads. We take both PayPal and Worldpay credit card payments with the Phoenix extension (version 1.4.3). It all works fine so I'm not planning on upgrading ...
0
votes
0answers
11 views

E-mail sent when updating the order status manually in the backend

Since we upgraded in Magento 2.3.4, we have noticed that for each change of order status, our customer receved an email. We have not checked the "notified customer" box. Do you have the same behavior?...
0
votes
0answers
34 views

Magento 2 - View page problem [duplicate]

Issue in order page Issue in order page Issue in order page Issue in order page
0
votes
1answer
24 views

B2B Orders Marked Fraud

We have a B2B website and all our customers are approved to be on the site. No public or guest checkouts. Typically they all use credit cards. Some of the transactions are being marked as fraud. We ...
1
vote
2answers
165 views

Magento2 - How to maintain custom log the order status changes?

In Magento2.3, I want to maintain the custom log table when order status change. How to achieve this?
0
votes
3answers
678 views

Magento 2.3, Get the order status before and after change using the plugin?

In Magento 2.3, How to get order statuses, before and after change using the plugin?
0
votes
2answers
25 views

Magento 2 Set order status while placing an order

In Magento 2.3.x, I want to set the (custom) order status while customer placing an order. How to achieve this using event observer or plugin.
1
vote
2answers
1k views

Magento 2.3.3 showing Pending Payment status after successful order complete

I have configured Website Payments Pro Hosted Solution in magento 2.3.3 for paypal and card payment methods. When placing an order using paypal, once the order is successful, order status changing to ...
0
votes
1answer
84 views

Enable Ship Button Based on Order Status

When a customer placed an order , We will place order in processing state. After that QC team will pack the order when the QC is completed then they will change the order status to QC Passed . Now i ...
0
votes
1answer
114 views

Magento 2.2.10 change cancelled order to pending

Is it possible to put orders which been clicked in cancel from admin and do a check if the check fails keep it as pending

1
2 3 4 5
9