Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
1answer
21 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
8 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
16 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
19 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
13 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
33 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
12 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
22 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
29 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
21 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
19 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
27 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
59 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
34 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
27 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
73 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
21 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
17 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
66 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
18 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
27 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
208 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
118 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
44 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
37 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
13 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
12 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
17 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
14 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
16 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
31 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
78 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
14 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
118 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
0answers
23 views

When The Worldpay Refund Process Update the Order Status

I am working with the Magento WorldPay, I have some question on the refund return status. My understanding of WorldPay: When you place the order in test mode, we might have the following status 1. ...
0
votes
0answers
12 views

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship and change the order status. For Order status flow for in Magento normally is: ...
0
votes
3answers
476 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
0answers
19 views

Magento 2 Get Order status before and after changes

In magento 2.3.x, I need to maintain log table for the order status change. How to get the order statuses,before and after changes using plugin?
0
votes
0answers
11 views

In Magento 2.3.3 Not able to set the custom order status

In Magento 2.3.3, I want to set custom order status(Created new custom status and assigned to hold) while customer placing an order. I used below code in sales_order_place_after observer but it is not ...
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.
0
votes
0answers
29 views

magento , how to correctly change order status to CLOSED

i try to change order status to CLOSED, but code which I use does not work for me i have this code $model = Mage::getModel("inventorylog/inventorylog")->load($id); $order = Mage::...
0
votes
0answers
11 views

Confirm order once customer pays via paypal

I have a question related about Magento 1.Like below "As there should be no need to confirm order once customer pays via paypal or sage, after payment page, customer should directly see order success ...
0
votes
0answers
52 views

Reload page after mass action on sales order grid

I created a new order status called Printed that has to be assigned after the mass action Print invoices on sales_order_grid. I created all the custom logic to achieve the result. The only problem ...
1
vote
2answers
808 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
64 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 ...

1
2 3 4 5
9