Title: Refund Problem
Last modified: June 12, 2023

---

# Refund Problem

 *  Resolved [EliteGent](https://wordpress.org/support/users/gentlemako/)
 * (@gentlemako)
 * [3 years ago](https://wordpress.org/support/topic/refund-problem-4/)
 * Hello Guys,
 * It has been two weeks since we have a problem when trying to refund an order 
   from Woocomerce, it just keeps spinning, and when we reload the page it says 
   the order has been refunded, and sometimes it is not actually refunded on Paypal
   but just show the message on Woocomerce.
 * Please advise.
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years ago](https://wordpress.org/support/topic/refund-problem-4/#post-16813359)
 * Hi [@gentlemako](https://wordpress.org/support/users/gentlemako/)
 * Usually, the refund process should complete within a few seconds, so if it’s 
   continuously spinning, there might be an issue.
 * I recommend enabling the logging function in the Connection tab, if you haven’t
   already. This feature helps diagnose issues with the plugin’s operations. Once
   you’ve turned on logging, try to issue another refund and see if you’re experiencing
   the same difficulties. Please send us a copy of your log file after the refund
   has been issued.
 * Keep in mind the logs may contain sensitive details, so if you’re not comfortable
   sharing them on a public forum, you’re welcome to share them privately with our
   [support team](https://woocommerce.com/document/woocommerce-paypal-payments/#get-help).
 * Thank you!
 * Kind regards,
   Niklas
 *  Thread Starter [EliteGent](https://wordpress.org/support/users/gentlemako/)
 * (@gentlemako)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/refund-problem-4/#post-16825665)
 * Hello Niklas,
 * Thank you for the response, after trying what you suggested, this is the log 
   we get:
 *     ```wp-block-code
       2023-06-16T17:45:20+00:00 DEBUG Trying to refund/void order 5JM46856YT4316302, payments: {"authorizations":[],"captures":[{"id":"8VJ99209WL967494L","status":"COMPLETED","amount":{"currency_code":"USD","value":"209.87"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE"},"invoice_id":"GG-434783","custom_id":"434783","seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"209.87"},"paypal_fee":{"currency_code":"USD","value":"6.77"},"net_amount":{"currency_code":"USD","value":"203.10"}}}]}.
       2023-06-16T17:45:22+00:00 DEBUG POST https://api.paypal.com/v2/payments/captures/8VJ99209WL967494L/refund
       Request Body: {"invoice_id":"GG-434783","amount":{"currency_code":"USD","value":"209.87"}}
       Response Debug ID: ed465bc64f34c
       Response: Array
       (
           [code] => 201
           [message] => Created
       )
       ```
   
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/refund-problem-4/#post-16847646)
 * Hi [@gentlemako](https://wordpress.org/support/users/gentlemako/)
 * Apologies for getting back to you just now.
   The log entry you shared is a success
   message. The plugin attempted a refund, and PayPal responded with `201`, which
   is a success message.
 * So as far as I can tell, the refund/void should be recorded on the PayPal side.
   Can you confirm this is the case?
   If the refund is recorded in PayPal but not
   in WooCommerce for some reason, you could also issue a manual refund in WooCommerce.
 * But please let us know the status of both the WooCommerce order and the PayPal
   order after this refund.
   Thank you!
 * Kind regards,
   Niklas
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/refund-problem-4/#post-16895981)
 * As we haven’t received any recent updates from you on this matter, we’re marking
   this thread as resolved. If the issue persists or if you need further assistance,
   please feel free to reopen the thread or create a new one.
 * Thanks!
 * Kind regards,
   Niklas

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Refund Problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/refund-problem-4/#post-16895981)
 * Status: resolved