Cannot refund an order
-
Hello, I’m trying to refund the amount back to a user’s wallet after a cancelled order. But I get empty response with an internal server error.
I’m trying to figure out where the line that’s producing the error is located, I tried running tests inside every method in the class Woo_Wallet_Ajax, but none of them is being executed, the ajax call is like this:
action woocommerce_refund_line_items order_id 3520 refund_amount 16.74 refunded_amount 0 refund_reason line_item_qtys {"2840":"1","2841":"1"} line_item_totals {"2840":10.56,"2841":6.18} line_item_tax_totals {} api_refund true restock_refunded_items false
My question is, how can I debug this request to figure out where the error is happening? I’ve tried:
define('WP_DEBUG', true); define( 'WP_DEBUG_DISPLAY', true );
And I am still getting an empty response.
Thanks
P.S: I’m using Woocommerce Currency Switcher, not sure if that’s relevant.
UPDATE: I cannot even refund the amount manually
api_refund false
Same error, thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cannot refund an order’ is closed to new replies.