Questions tagged [order-status]

Denotes questions related to order status management.

Filter by
Sorted by
Tagged with
2
votes
1answer
188 views

Magento statuses and states and reviews through kount/braintree (GENE)

I'm working on changing various "order states" based on their statuses in magento when they come in via kount Ens.php. I've had some success with a couple of them but I can't seem to figure out the ...
0
votes
0answers
813 views

Magento 2 set order status to processing when paid off by coupon

I did notice a setting where you can change order status when subtotal is zero: A) Stores / Configuration / Sales / Payment Methods / Other Payment Methods / Zero Subtotal Checkout I have also tried ...
0
votes
0answers
43 views

Magento 2 order status changing to pending again

I have created my own order status return. If the user return one shipment the order status is changing to return but on making another shipment of same order it changes the order status to pending ...
1
vote
0answers
221 views

Magento1.9 dispatch/shipping confirmation email issue

Magento is not sending shipping/dispatch confirmation email but is sending other (create/update/complete) emails. Not sure why. Checked "order.php" but I couldn't find any obvious reason there. ...
0
votes
1answer
781 views

Magento 1.9 - how to change order stage email template?

How can i change the order when email to be send depending on order status, for example i would like to send one when order is saved(new order), then one when order is dispatched. Not on every status ...
1
vote
0answers
100 views

Redirect to order listing after order status change from admin panel - Magento 2

In admin panel, after order status change from pending to complete, I want to redirect it to listing page. How can I redirect to order listing page straight after the order status change to complete?...
1
vote
0answers
3k views

Catch event: sales order status change

I am creating a module where I am adding an observer to the event sales_order_save_after which checks the order status and then sends an invoice e-mail. However, the event is only valid if the order ...
1
vote
1answer
1k views

Magento2: Get Order Status (not state)

I am working on a module and I need to get the order status from an order. There is an API call which sets the order status to complete. The order state remains processing. I am using this code to ...
2
votes
0answers
104 views

Set new order (especially PayPal Express Checkout) to 'pending'

I am using Magento 2.2. Usually all my orders are set to "Pending" except for "PayPal Express Checkout": These orders are set to "Processing". Now I want to have new Paypal Express Checkout orders to ...
2
votes
1answer
1k views

Create new order status and make it visible on frontend

I have created a new order status and assign it to processing state: UpgradeSchema.php namespace Vendor\Module\Setup; use Magento\Framework\Setup\UpgradeSchemaInterface; use Magento\Framework\Setup\...
2
votes
2answers
1k views

Force order status and state to processing after creating shipment using observer

I created an observer to change my order status after creating shipment like this: events.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
0answers
233 views

Can't cancel an order programmatically [closed]

I'm usign this script to cancel an order. But adding some logs on the function that I using I can see that I have a problem with that. if ($allInvoiced) { echo "allinvoiced"; return ...
0
votes
1answer
498 views

How to delete orders in Magento 2.2.1 without any extension? [duplicate]

I tried to delete my order list but could not delete those orders and searched on google. They provide the solutions with the use of an extension but I do not want to use extension. I would like to ...
0
votes
1answer
3k views

Get order in observer after placing order

I have created an observer to capture the order after placing it for event checkout_onepage_controller_success_action as follows: <?php namespace Magento\SamplePaymentGateway\Observer; use ...
1
vote
0answers
525 views

Get Payment Update for orders with Pending Payment Review status

Magento 1.9.X Need a code to do the following: Run function "Get Payment Update" for each order that has status "Pending Payment Review" if order on authorize.net is approved, save order and update ...
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
2answers
191 views

Magento 2 : Increase sold count after order status completes

I'm new to Magento 2. I want to show the sold count of product only after the order was complete. I have used this code to display count. $_product = $block->getProduct(); $sku = $_product->...
0
votes
1answer
385 views

Magento 2.1 - Change status and generate invoice automatically after inline payment received

i have only one payment method with CB (paybox) and i want to automatically make some actions if payment return succeed : change the order's status to paid for example generate the invoice ...
0
votes
1answer
378 views

How to get pending products in magento 2

Here I added one product per customer function works well. But if payment is canceled or pending also this works. I need this to work only when order status is pending or canceled but shouldn't work ...
3
votes
2answers
613 views

Magento2: Change order status to processing if any specific coupon code has been applied

How can I change the order status to "Processing" automatically if any specific coupon code has been applied during place order in Magento 2?
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 ...
0
votes
1answer
78 views

How to change order status for COD order after creating invoice with not capture

I have created order with status pending and state new when i am creating invoice with not capture than status is processing and same for creating ship. i want to change order status after shipping to ...
2
votes
3answers
1k views

Orders are being canceled automatically in Magento 2?

For whatever reason some of my orders (not all of them) are being canceled automatically. I guess there is some job running that does that, but I do not know where to start looking. Any ideas where ...
0
votes
1answer
2k views

How to create new order states in magento 2

"processing", "complete", "new" are examples of the default Magento order state codes. but how to create custom order state
0
votes
3answers
2k views

How to create custom order status using an extension / module in Magento 2

I was wondering whether there is any way to create custom Orders statuses in Magento 2. I am developing a Magento Extension in which I have to add some custom order status to Magento 2 orders.
0
votes
1answer
134 views

How to include a new order status in between pending and processing in magento 2.1

I want to include a new order status in between pending and processing. i.e., after placing an order the status is pending and after this, I want to change to [New order status] and then processing ...
1
vote
1answer
362 views

Execute code after order has been confirmed in Magento 2

Hi fellow programmers, I would like to know how I can hook in to execute code after a certain action in Magento 2 has been done. As we're running a custom warehouse system, I'd like to reserve a ...
0
votes
1answer
119 views

Reset to default table sales_order_status

I need to reset 2 tables to default content: sales_order_status sales_order_status_state Payment modules installed: MercadoPago PagSeguro I installed these payment module and they modified the ...
6
votes
2answers
7k views

How to get last order status history comment and order status Magento 2

I need to change the order status and order status history comment based on the last value of the status, currently i've set order status and comment status like this: $event = $observer->getEvent(...
1
vote
2answers
2k views

how to change magento order number

how to make magento generate order number by year and month and increment number for example if we in August 2017 so the order numbers to be 1708001 , 1708002 , 1708003 , 1708004 , 1708005 , 1708006 ,...
0
votes
1answer
754 views

Magento 2 invoice pdf for COD orders before payment

Is there's any way to get invoice print in magento 2 before actually invoicing the order. This is needed for cash on delivery order as invoice copy need to sent to customer with order to customer in ...
0
votes
1answer
557 views

Get recently ordered products by date in account dashboard page?

<?php $orders = $this->getOrders(); ?> <div class="dashboard_section dashboard_section--orders" id="orders"> <div class="heading-group"> <h2><?php echo $this-...
0
votes
3answers
13k views

How To Manually change Order the Status to Processing Before Creating Invoice of the order?

If customer select bank transfer mode during checkout initial order status pending. I need to change the order status processing by manually before creating an invoice. Note: If I set initial ...
2
votes
1answer
9k views

How to get Order Status from order id in magento 2?

I'm creating a custom module for order tracking in which i'm accepting order id from customer and using the order id i want to display the status of particular order. Now I'm not getting the order ...
1
vote
1answer
2k views

How to get information about payment status from order?

I was trying to get some details about payment from order and all I achieved is the payment method. Unfortunately I can't get more details like a payment status. So far the code is working well but ...
0
votes
1answer
178 views

My custom class always return 500 internal errror on Magento 2.1.2 ,but on 2.1.5 is work fine

I create custom status action class to change specific order to my custom status, I created "Packing" class, that change order status to 'packing'. it's working fine on Magento 2.1.5, but if I using ...
5
votes
1answer
2k views

Magento 2 order flow sequence

Hope all is well. It would be great if you could help me to figure out the order flow in Magento 2. I understood these steps Order Placed -> Order in Pending -> Payment Confirmed/Verified. But got ...
1
vote
0answers
82 views

Order Management in Magento2

I am new to magento and would like to know the best practice of order fulfillment. We receives orders from our ecommerce website to magento and how do I perform the following in magento: Order picked,...
1
vote
1answer
1k views

Change status according to payment method

I am working on magento 1.9 My requirement based on which payment method user use to make payment, Status should change Automatically Cash on delivery - when user place an order cash on delivery ...
0
votes
1answer
726 views

Comment History in Sales Order Admin view

When I review the Sales order it show specific steps in the processing of the order. There are specific comments about the transactions that occurred during the processing of the order. I like to be ...
0
votes
1answer
621 views

Api for processing order

Can magento do processing and changing the order status over api? We're planning to do drop-shipping for another webshop, running magento. We're supposed to get the orders by pulling from the API (...
0
votes
1answer
120 views

Adding the Order Statuses to the Magento Permission Rules

How to add the order statuses to the permission rules in order to be able to assign a particular order status of a state to a user where he/she is able to change the status for an order only if the ...
1
vote
0answers
180 views

Order status randomly changes upon invoicing and shipping

Every order on my Magento store seems to be going through multiple order statuses unnecessarily before reaching it's correct status. Attached below is an example (I have numbered them for easier ...
3
votes
1answer
1k views

how i update the order status in controller in magento 2?

<?php namespace Vendor\Module\Controller\Index; use Magento\Framework\App\Action\Action; use Magento\Framework\App\Action\Context; use Magento\Framework\App\ResponseInterface;class Index extends ...
0
votes
1answer
97 views

Will voiding an order in Authorize.net automatically update status of order to closed/canceled in Magento?

Curious if voiding an order in Authorize.net (before it's captured) will automatically update status of order to closed/canceled in Magento? I thought that was the default, but I just voided and the ...
1
vote
1answer
44 views

Magento : Need to Change Custom Order Status

When order is complete, then set order status to Payment Complete and once they set Courier status then it should be made as Completed.
0
votes
1answer
269 views

How to override a core function when a third party module isn't using it

I've created a module to rewrite the function addCommentAction in app/code/core/Mage/Sales/Model/Order.php but I want the default core addCommentAction function to be used when called from a different ...
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 ...
3
votes
2answers
18k views

New order status staying “pending” instead of processing in Magento 2

We are using the Multisafepay payment methods and all our incoming orders get the status pending in our Magento2 webshop. Is there a setting we have to put in to get the orders to processing? It also ...
0
votes
1answer
1k views

What function is called to save order comments/status in the backend

What function is called to save new comments and update the order status, when viewing the order in the backend. The addComment function in app/code/core/Mage/Sales/Model/Order/Api.php looks to be ...

1 2 3
4
5
9