Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Order status change on sales_order_place_after event not working

I'm trying to change status of order as hold by calling an observer on sales_order_place_after event. When I log the order object, it shows that order status has been set to 'hold' but when I check ...
0
votes
2answers
85 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
1answer
1k views

Please help me set new order status for bank transfer payment to pending

I went to Admin Panel > Sales > Payment Methods > Bank Transfer Payment > New Order Status. I updated it to "pending" however when I place a new order the status still went to "processing"....
3
votes
3answers
3k views

Sales : Orders :How to add custom order status programmatically

I need to add custom status for an order programatically I have below controller file to save order status. I need to add custom status as cancel initiated.Provide me a solution... Controller file ...
0
votes
0answers
17 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 ...
1
vote
1answer
2k views

Order Status : Pending Payment vs. Payment Review

I'm creating an integration for a Payment Service Provider / Payment Gateway, but I'm a bit stuck in the way how Magento handles stuff. The payment method in question returns a "pending state" with a ...
2
votes
2answers
2k views

Magento 2 status invoice “not paid yet” instead of “paid”

If the customer selects the payment method "Invoice" and we create an invoice in admin, status is always set to "paid". But that is not correct, because the customer did not pay yet. So how can I ...
0
votes
1answer
809 views

Order status is not changing to processing even if successful online transaction

I am using CCAvenue Payment Gateway which is developed by BlueZeal. Sometimes the order status not changing to Processing keep shown Pending. I asked both teams they replied me, pls check with Magento ...
2
votes
2answers
2k views

Magento 2 - Change Order status after invoicing

I have an observer that triggered on sales_order_invoice_pay event, and after creating the invoice, the order status is automatically changed to complete. after that I try to change it to processing ...
0
votes
0answers
42 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
1answer
934 views

Change Order Status to custom status after order is complete

I need a way to change the Order Status after the order has been marked as complete. I would also like a custom status so that my colleague understands the reason it has been changed I want this to ...
0
votes
0answers
19 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
5
votes
1answer
1k views

Magento 2 offline payment method new order status

I've created a new offline payment module using this generator http://cedcommerce.com/magento-2-module-creator/payment-module config.xml .... <order_status>pending_payment</order_status&...
0
votes
0answers
9 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 ...
2
votes
3answers
1k views

Fetch order status label in custom module configuration

Magento 2: I need to fetch all order status labels list (Ex. Processing, Pending, Complete...) in my custom module configuration settings. I have searched a lot but they give result of sales orders ...
0
votes
0answers
17 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(); ...
1
vote
2answers
951 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
3answers
23 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
45 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
944 views

Completed order reverting to processing

A portion of my completed orders revert to processing on seemingly random days. Most recently, according to "Updated at" on the orders, this occurred on Feb. 26th 2:30:00PM give or take a few seconds....
0
votes
1answer
840 views

Orders shipment Status

when order is placed its in Pending status. But when I create shipment for that order status will stay pending. I tried to clean the order statuses. refresh all indexes. attached is current order ...
1
vote
1answer
35 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
1answer
963 views

Business question about “Pending Payment” state/status

It's a business question but I hope someone will answer. Why "Pending Payment" state/status is not visible on frontend by default? I'm implementing right now Magento 2 integration with some payment ...
0
votes
0answers
13 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
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
2answers
1k views

Custom button to set custom order status

I created a custom module to add a button to the order view page. The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen: Set the ...
0
votes
3answers
2k views

Wrong Order ID - PayPal IPN Exception Magento 2

I keep getting the following email from PayPal: Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are ...
0
votes
0answers
23 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 ...
2
votes
2answers
1k views

Magento 2 : how to change order status processing to complete using Rest Api

Any option to update order status processing to complete in Magento 2 using Rest API.
3
votes
2answers
1k views

How to create observer to change order status after it was created?

I am creating a custom payment method. Before calling the payment gateway, I am calling PlaceOrderAction javascript function in mypay-method.js. that way, order is created in Processing status. ...
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 ...
1
vote
2answers
3k views

How to add order state to Bank Transfer payment?

We need to add a Pending state to the order when the invoice is created. This works good with all the payment methods, but not with Bank Transfer. In my configuration I have the new order state ...
0
votes
2answers
39 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
0answers
35 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
68 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
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
102 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
1answer
2k views

how can i get order status label of a specific store using store id in magento 2.?

In the below code i am getting order status label of a the default store.But i want the store specific label.please help me . $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
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 ...
3
votes
3answers
6k views

order status and state - magento 2

I bit confused utilizing order status and state. I have created Delivered status but unfortunately it get duplicated with two different state. When I rename order status lable of anyone it will ...
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
98 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
3answers
29 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
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
0answers
502 views

Order detail page says “Customer not notified” for orders placed using PayPal

If a customer pays by creditcard (Authorize.net) a comment in the order detail page says Customer Notified If a customer pays via PayPal the comment on order detail page says Customer Not ...
5
votes
2answers
6k views

Orders do not show up in customers account until processing state

My customers place orders, and when they go to the My Orders section of their account, the orders do not show up until it has been invoiced and entered a processing state. This is a problem because ...
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
498 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
166 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
2 3 4 5
9