Questions tagged [cancel-orders]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
255 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....
user avatar
  • 41
0 votes
1 answer
44 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 ...
user avatar
0 votes
2 answers
107 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 ...
user avatar
  • 1,436
0 votes
2 answers
81 views

How to cancel order using tracking number in magento 2?

I need to cancel order using tracking number in magento2?
user avatar
0 votes
1 answer
173 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" ...
user avatar
  • 64
0 votes
2 answers
137 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 ...
user avatar
0 votes
1 answer
98 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 ...
user avatar
0 votes
1 answer
67 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 ...
user avatar
1 vote
1 answer
87 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 ...
user avatar
0 votes
0 answers
117 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 ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 3,446
2 votes
1 answer
1k 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}/...
user avatar
  • 73
0 votes
2 answers
437 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 ...
user avatar
1 vote
1 answer
105 views

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

In magento 2.3, Is possible to cancel the holded status order?
user avatar
  • 1,094
2 votes
0 answers
25 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 ...
user avatar
4 votes
1 answer
512 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 ...
user avatar
  • 2,172
0 votes
2 answers
88 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?
user avatar
  • 105
2 votes
1 answer
60 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
user avatar
  • 1,175
0 votes
1 answer
2k 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 -> ...
user avatar
  • 13
3 votes
0 answers
45 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 ...
user avatar
0 votes
0 answers
148 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?
user avatar
  • 1,965
3 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
43 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 ...
user avatar