Refund Not Processing when Applying throug API.
-
Hello All,
I am using wooCommerce API flow to create/Update Orders. I would like to implement a functionality called Refund. When I tried to apply refund through API, I am getting error of “The payment gateway for this order does not exist.”. I am not sure How I am getting such errors.
- I hve used order Updated end point to apply refund, like
- const response = await WooCommerce.post(
orders/${orderId}/refunds, refundData); - However, I am gtting an erro as below. —
Error Response like – this –
code:’woocommerce_rest_cannot_create_order_refund’, data:500, message:’The payment gateway for this order does not exist.’Another error we are observing is – Getway timeout exception.
Thank You,
Vaibhav Bhutkar
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Refund Not Processing when Applying throug API.’ is closed to new replies.