Skip to main content

Questions tagged [cancel-orders]

Filter by
Sorted by
Tagged with
0 votes
1 answer
230 views

How can I cancel processing order from frontend in Magento 2?

I have an extension to cancel order fro frontend customers but it is useful for only pending orders when COD available. I want to cancel processing order from frontend. Is it possible?
1 vote
1 answer
541 views

Magento 2: Cancel order email sent to customer if admin cancel order

I am very beginner to magento and i am looking for answer, if i cancel order from admin panel but cancel email order is not sent to customer. If i want to sent email to customer what should i need to ...
4 votes
2 answers
3k views

Magento 2 - Reverting cancel orders programmatically

For some reason order canceled in bulk through my customly added order cancel mass action. Now I need to uncancel all orders. Change status from cancel to the status that was previously set on order ...
1 vote
0 answers
76 views

Magento 2.4.6: How to cancel orders partially via admin?

I want to cancel the order partially but there is no built-in feature for this in Magento 2. I have found out few extensions but those only have provision to cancel it via frontend but I need to ...
4 votes
1 answer
534 views

Magento 2 - Edit order programmatically without canceling

I want to edit any order programmatically. The tutorials that I am getting is canceling current order and creating new one. But I need something different, I want to edit it without canceling or ...
0 votes
2 answers
834 views

Cancel item order Magento 2

I heard that the best practice to cancel an item from an order is to cancel the entire order and create a new one without the canceled item. Anyone can confirm that and give a hint on how to process ...
0 votes
2 answers
1k views

Admin: Cancel Order Fails with Error - "Transaction can only be voided if status is authorized"

We are using Magento v2.4.3 and Braintree as the payment gateway. Due to the supply chain issues, we have a scenario we deal with sporadically where a customer places an order for a special order item....
0 votes
1 answer
298 views

How to Programatically cancel order in magento 2

If a customer placed an order of 3 different items with different quantities like shirt 2 qty Watch 1qty pant 3qty and cancels the order item at different times I have to set the state to order ...
0 votes
1 answer
936 views

Magento 2 How to restore stock after cancel order

I am working on Magento 2.3.5 p-1 I have created a custom module that adds a mass action to the sales order grid, through a controller this action changes the order status to "customCancel" ...
0 votes
2 answers
474 views

Cancel Processing Order Triggered Event. Magento2

I'm trying to get an Event after canceling Order now for COD or Pending Orders order_cancel_after Event is working fine but for Online Payment or Processing Orders same Event is not working I've tried ...
0 votes
2 answers
207 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
176 views

Magento 2, Cancels order after credit card payment complete

I'm facing an interesting issue. When the customer pays with credit card, magento cancels the order automatically. I have no idea how it happens tough. Since i'm newbie, i couldn't find out what is ...
1 vote
1 answer
209 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
2 answers
94 views

Magento 1.9: Revert the inventory if cancel the order from back-end by admin?

How to do inventory back if order cancel from backend by admin?
0 votes
0 answers
228 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
78 views

Magento2 Under which conditions magento order can be cancelled

Magento2 I would like to know under which conditions an order can be cancelled or other vice under which conditions order can't be cancelled? I am facing a strange issue where my orders are not ...
2 votes
1 answer
3k 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}/...
0 votes
2 answers
865 views

Magento 2 plugins (interceptor) beforeCancel() making the cancel order bug

I have created a plugin which intercept the cancel function from the interface Magento\Sales\Api\OrderManagementInterface, the plugin intercept before the cancel function is called. My problem is ...
1 vote
1 answer
254 views

In Magento 2.3, Is possible to cancel the Holded order?

In magento 2.3, Is possible to cancel the holded status order?
2 votes
0 answers
28 views

Magento 2.2.10 cancelling orders from admin

If I cancel order from admin the status change to rejected and the item status change to cancel as I expected. Is it possible if I could move the reject status to cancel too? If there is anything I ...
4 votes
1 answer
828 views

Magento 2.3.2 : How to send email to customer after order cancellation by admin?

I know the cancel order event order_cancel_after but how can I send cancelation e-mail to the customer when admin cancels their order from admin. How to write a custom extension for this. Any help ...
0 votes
1 answer
4k views

Pending Payment Order Lifetime doesn't expire or cancel orders

Preconditions: Magento Open Source version 2.2.8 PHP 7.1.29, MySQL 5.6, Apache 2.4. Clean install. No extensions or themes installed. Steps to reproduce 1) Go to Stores -> Configuration -> Sales -> ...
2 votes
1 answer
109 views

When Cancel An Order And Pending From Admin Then Order Email Is Not Sending In Magento2

All Orders Email Works But Cancel and Pending Orders Email are Not working with Magento version 2.2.3
3 votes
0 answers
54 views

Magento 2 - Card decline status not reverting quantity

Just like cancel order, I have created a new status card_decline I have set canceled state to this new status. Now when I am updating any order to card_decline status programmatically then it is not ...
0 votes
0 answers
45 views

Order for a single product getting placed and cancelled automatically along with all orders

There is no issues in placing order from the website. But in Magento admin panel along with each order a default product is shown as ordered and cancelled. This is making me confused. How to solve ...