People who code: we want your input. Take the Survey

Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Magento 2 - how to obtain list of order ids where status is processing

How to obtain list of ids or simply list of orders where the status = processing using objectManager ? (in external script)
0
votes
0answers
18 views

Correct way to update Order

since load and save methods are deprecated, which should be the correct way to update an order, for example: Lets say we have a cron running that gets a collection and then u do something like foreach ...
1
vote
1answer
13 views

Magento 2 how to assign a custom order status when canceling an order with a specific payment method

I have created a custom status called "custom_canceled" and associated it with the "canceled" state. I also have another status called "Canceled" associated with the ...
0
votes
0answers
7 views

Magento V1.9* What happens when an Order Status has no order state - Paypal fails to cancel order after disputed transaction

Magento V1.9.4.5 Interesting edge case came to my desk Problem paypal IPN fails to create credit memo and cancel order after paypal has dispute and reversed the transacti Date/Time week later after ...
0
votes
0answers
11 views

Magento 2 - Order Hold from frontend

From the Magento admin panel, user can update the status of an order to On Hold. Is there a way out for authorized admins to mark the order as hold from frontend. if ($order->canHold()) { $...
0
votes
0answers
13 views

Magento not sending order emails for third party payment gateway

Order Emails is not working only for particular payment gateway Eway. Emails trigger for Bank deposit & Paypal but eway payment gateway doesn't work. success.phtml, getCanViewOrder() is false in ...
0
votes
0answers
6 views

Magento 2 Specific Order Status Condition based email send with bcc

I created custom order status "Order Accepted". The order is received after accept the order. I need only this order accepted condition send to BCC email admin and customer. This is not ...
0
votes
0answers
17 views

Magento2 Missing order status after order is placed

My orders are missing order status in admin Shipping is Store Pickup, Payment is VISA by secure pay How am I suppose to debug this?
0
votes
1answer
22 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
1answer
41 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
16 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
49 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
74 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
25 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
392 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
22 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
48 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
139 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
43 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
18 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
31 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
35 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
26 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
130 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
94 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
41 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
30 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
207 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
25 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
20 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
244 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
37 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
16 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\...
2
votes
3answers
2k 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
334 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
156 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
116 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
1answer
18 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
19 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
1
vote
0answers
52 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
225 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
35 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
25 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 ...
2
votes
2answers
198 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
892 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
27 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
2 3 4 5
9