Questions tagged [order-status]
Denotes questions related to order status management.
424
questions
0
votes
0
answers
27
views
How I can Change Order status like: Order accepted, order out for delivery, Order delivered? frontend(seller)
I can Change a form submit in frontend .For Example ->
<form method="post" action="#">
<select>
<option value="pending">Pending</option>
...
0
votes
1
answer
299
views
Magento 2.4.4 - Some orders are stuck on the 'Pending' status and not changing to 'Processing
For my Magento 2.4.4 page, normally when payment is collected from Stripe, order status will move automatically from 'Pending' to 'Processing'. For most orders, this works perfectly. However, there ...
0
votes
1
answer
31
views
Updating Magento Order Status using API but order goes back to processing
We are updating order statuses using the Magento API.
It shows that the status has been updated in the order status history but the order status still says processing.
Any ideas on this or how to ...
1
vote
0
answers
51
views
Signifyd Issues : Magento 2
I have configured Signifyd in my store and it is working fine. I have configured it like if the order is approved for guarantee then invoice generate automatically.
Check this screenshot,
Now, Since ...
1
vote
1
answer
55
views
creating cronjob that cancel orders that are older than 24 hours
I want to execute cronjob if the orders are 24 hours old and and turning pending payment status to cancel. how to do that?
I have this code script but doesn't want to work the way it suppose to, what ...
1
vote
1
answer
71
views
how to update the pending payment orders to cancel and the script in cronjob
Below code is working but when trying to add time doesn't work see other section of code.
<?php
require './app/bootstrap.php';
$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);
$...
0
votes
0
answers
11
views
Request Order Status Change
Is there a way to change status from Shipped to Processing? I accidentally click the Ship status. Please help
1
vote
0
answers
21
views
Magento 2.4.3 - Showing "out of stock" on order confirmation
Is there a way to get the "out of stock" status on the order confirmation?
This is a store that has allow backorders.
0
votes
1
answer
48
views
Custom order Status on Magento 2 programmatically
I have built a Payment Module and I want to add some custom status on table sales_order_status using etc/db_schema.xml.
Is this possible?
Thank you.
0
votes
1
answer
21
views
Custom Warehouse
By Default Magento using Total Stock warehouse. I want to use my warehouse for all my products . I am currently using my custom warehouse, But some times it shows the magento by default warehouse.
0
votes
1
answer
167
views
Magento 2 How to Change or add custom order status in magento 2.4.4
I have created one extension for custom order status. In that, I want to add new statuses for orders. That is working fine in Magento 2.3.7.
But in Magento 2.4.4 order status is updated as per the ...
1
vote
1
answer
277
views
Order Status Magento 2.4
I have a question, is it possible to get Magento to set order status to "sent" after you have shipped the product instead of "Processing"? Sometimes we have so many orders that ...
0
votes
0
answers
38
views
Magento 2.4.3-p2 custom payment gateway order_status is not working
I am developing a custom online payment gateway module.
I have successfully redirect users to 3rd party payment gateway and redirected back.
The issue is about the order_status.
In every tutorial I ...
0
votes
1
answer
91
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
215
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
34
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
16
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
421
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
1
answer
118
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
21
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
22
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
51
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
2
answers
77
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
65
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
110
views
How to cancel order using tracking number in magento 2?
I need to cancel order using tracking number in magento2?
0
votes
1
answer
734
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
629
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
196
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
392
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
149
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
794
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
593
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
50
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
114
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
2k
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
363
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
319
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
132
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
52
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
88
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
47
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
43
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 ...
1
vote
2
answers
655
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
285
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
178
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
56
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
645
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
45
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 ...
2
votes
2
answers
1k
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
224
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 ...