Questions tagged [order-status]
Denotes questions related to order status management.
416
questions
0
votes
1
answer
14
views
Magento 2.4.2 Order Status stuck on processing
When an order comes in an invoice is created automatically and gets send out. I can also find that invoice when i click on the order. If I ship the order then, the shipment email goes out to the ...
0
votes
0
answers
26
views
Magento 2:Custom Payment Method Order Status Not Set Pending
I have created a custom offline payment method extension.
I added one field into system configuration for selecting New Order Status.
I set Pending status into that field.still when I try to place new ...
0
votes
0
answers
14
views
How to check order Magento 2 order status delivered using UPS service?
How to I pull the delivered status from the UPS carrier tracking. Please advise me how to achieve in the Magento2 ?
0
votes
0
answers
10
views
Magento 2 - Order State Locales not reflected on Front-End
Did anyone managed to "Localize" the Order States (Not Status) in Magento 2 ?
Those States are mentioned by default on the customer Order page summary, and I wasn't able to find a way to ...
0
votes
2
answers
51
views
Magento 2, make new order status visible on frontend for customer account
I have created a new order status refunded from admin->settings->order status, it is possible to have this order status visible for customer account, so when I make a credit memo for an order, ...
0
votes
0
answers
15
views
Can i save every order placed with custom payment method to order state to new and order status to custom status?
order status is processing while I am placing an order with the custom payment method. I want order status is custom status and order state is new
0
votes
1
answer
25
views
Is there is a way to provide edit order option while the order is in Processing in Magento 2.4?
Is there is a way to add the edit order option like in pending order in Magento 2.4?
Like this currently the order status is pending but i want when the order status is processing still need to add ...
0
votes
0
answers
13
views
When do you decide to add a custom order state in the Magento's default order states cycle?
BNPL (Buy Now Pay Later) COD (Cash on Delivery)
BACKSTORY:
I want to add two new payment methods to my website called “BNPL COD (Pay in 2 Installments)” and “BNPL COD (Pay in 3 Installments)” and I ...
0
votes
0
answers
19
views
Error: Call to a member function hasErrors() on null
Error: Call to a member function hasErrors() on null public_html/vendor/magento/module-shipping/Model/Shipping/LabelGenerator.php:78 Stack trace: #0 /home/adminironcar/public_html/vendor/magento/...
0
votes
2
answers
21
views
Migration from Magento 1 to Magento 2. Import tool question
Importing orders in 2 steps. Step 1 is all orders prior to migration. Step 2 is puting server in maintenance mode and importing delta orders. Will Magento import tool also update statuses of step 1 ...
0
votes
0
answers
33
views
Add Auto Custom Order Status On Paid Order - Custom Payment Method
I want to add custom order status automatically on state of processing.
Scenario: I have 2 payment methods, COD and Custom Payment method.
COD Order is going to Processing when order is placed and ...
0
votes
0
answers
22
views
Order Auto Cancel after 30 Minutes for Specific Payment method - Magento 2.4.0
How to i can set Order Auto cancel after 30 minutes for specific Payment method in Magento 2 ? Is there any solution i have tried few solution but those are not working. I am writing this code.
Jco/...
0
votes
0
answers
85
views
How can Magento 2 Vendor Model file override with custom module file
Magento 2 default paypal order after IPN completed turn to order status "Processing". This is the default order status
I need to change paypal order IPN completed after order status "...
0
votes
2
answers
24
views
Change status programmatically on order export but Sagepay/Opayo changing it back
We are exporting orders to a dispatch warehouse using the Xtento Order Export module. It is set up to happen automatically on order confirmation. The warehouse sends back a response of "received&...
0
votes
1
answer
23
views
How to change order state from external file
Try to change the order state from a file within the Magento root directory.
What I did:
Connected to Magento engine and included the object manager:
// Start Magento engine
use Magento\...
0
votes
2
answers
76
views
How to cancel order using tracking number in magento 2?
I need to cancel order using tracking number in magento2?
0
votes
0
answers
54
views
How to add custom order status via setup data patch?
I have created custom order status via setup data patch and want to add one new status with the same file but the status is not creating.
As like we do in setup/upgrade-scheme, is there any file we ...
0
votes
1
answer
328
views
How to include pending orders into Magento 2 'Order Report' table 'sales_order_aggregated_created'?
I have to run 'pending' order status report, as checked by default Magento 2 doesn't allowed to run pending reports as this doesn't make any sense.
Magento 2 ignoring to list pending order status into ...
0
votes
1
answer
150
views
How to send email to Admin in Magento 2.4 when order status change ( Cancel and Hold )
I want to send Email in Magento 2 when order status change in ( Cancel and Hold )
My current code is :
<?php
namespace Hlemail\Customemail\Observer;
use Magento\Framework\Event\ObserverInterface;
...
0
votes
1
answer
49
views
How to find WHICH user account changed Order Status in Magento 2
I have a Magento2 store with multiple logistics staff members working on the same Orders list and Verifying, Cancelling, or Processing orders by changing their status
I want to find which user account ...
0
votes
1
answer
78
views
How to set order status in magento 2
I want to set orders status pending in magento 2.4.
Please help me
THANKS.
1
vote
1
answer
86
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
1
answer
324
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
1
answer
321
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
1
answer
22
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
0
answers
75
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
2
answers
1k
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 = $...
1
vote
1
answer
137
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
3
answers
206
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 ...
1
vote
1
answer
71
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 ...
2
votes
0
answers
44
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
0
answers
56
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
0
answers
34
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
0
answers
41
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
2
answers
403
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
1
answer
209
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
0
answers
87
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
1
answer
40
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
1
answer
506
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 ...
1
vote
0
answers
33
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
2
answers
750
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 ...
1
vote
3
answers
108
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
1
answer
25
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
3
answers
4k
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.
2
votes
1
answer
980
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
1
answer
332
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
0
answers
287
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
1
answer
20
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
0
answers
42
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
0
answers
127
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