We are trying to cancel an order where the PayPal Express payment has expired. It was a duplicate order that needs to be cleaned up from the system. However, when we try and cancel this order all we get is the following error...
PayPal gateway has rejected request. Authorization has expired (#10601: Authorization expired).
There are no invoices or shipments on this order. The status is just stuck on "Processing".
After walking through the code it appears to be attempting a void first inside
Mage_Paypal_Model_express->cancel() which doesn't work since the original authorization is now expired. I know with PayPal IPN, Magento is updated with the fact that it is now expired. Is this a known issue with Magento 1.9 and PayPal Express? Does anyone have a fix for this or am I just missing something here?