Title: Endless refund loading
Last modified: February 16, 2021

---

# Endless refund loading

 *  Resolved [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/)
 * Hello,
 * The website I’m managing is up-to-date (Woo 5.0.0), and even with version 3.8.0,
   we had issues with refunds: when we validate a refund, we can see the loading
   picture, and it never ends. But the refund works as the customer does receive
   a notification, and if we force the loading to stop by exiting the page, we can
   see that the order has been refunded.
 * Any idea about what to do? I red it could be related to the theme and unfortunately,
   this one is tailored, so no updates except if I can know what to modify.
 * Thanks!

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

 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14059559)
 * Hi [@gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/),
 * That is an interesting situation. Here’s one thing you could do to shed some 
   light on what’s going on.
 * Next time you need to issue a refund, open up the browser tools prior to issuing
   the refund. Select the network tab. This will show the communication between 
   the site and the server and can often show us an error message that helps pinpoint
   the problem.
 * The key here is the network tab has to be open before issuing the refund. Otherwise,
   it won’t have any information to show.
 * If you don’t see any errors in the network tab, then I would suggest setting 
   up a staging site. That’s a copy of the live site for testing. You could then
   switch themes and disable all plugins except for WooCommerce and Stripe. Then
   see if you’re able to issue refunds without issue. If they still give you trouble,
   then it could be a server issue. Perhaps the host is blocking some types of communication.
 * If it does work, then that points to a code issue. Try enabling your theme and
   test again. Then continue to do that by turning on plugins, one by one, testing
   as you go. The last one activated before the problem starts again is likely the
   cause.
 * Let us know what you find out.
 *  [essmeier](https://wordpress.org/support/users/essmeier/)
 * (@essmeier)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14060531)
 * I had this problem yesterday. It was happening with refunds, but it was also 
   happening any time I tried to change the status of an order. It would just time
   out and eventually give me a “page not found” error.
 * I used the [Health Check](https://wordpress.org/plugins/health-check/) plugin
   to test the site. It has a troubleshooting mode that allows you to turn all plugins
   off and then turn them back on one at a time – but only for _logged in administrators._
 * For regular site visitors, the site appears normal.
 * In my case, the conflict was a plugin called Woocommerce Recommendation Engine.
   I turned it off and the problem went away.
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14061649)
 * Thank you [@essmeier](https://wordpress.org/support/users/essmeier/) and [@3sonsdevelopment](https://wordpress.org/support/users/3sonsdevelopment/),
   I will try that and keep you informed.
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14063743)
 * Hi [@3sonsdevelopment](https://wordpress.org/support/users/3sonsdevelopment/),
   just did the following test:
 * – place a new order with payment by check, so that I can check if it is related
   with Stripe or Paypal
 * – refund the order
 * **Result** : same problem, never ending loading. Network analysis doesn’t show
   any error but I can see it keeps “launching” the line POST admin-ajax.php by 
   jquery, with the request `data%5Bwp-refresh-post-lock%5D%5Bpost_id%5D=5607&data%
   5Bwp-refresh-post-lock%5D%5Block%5D=1613572478%3A8&data%5Bwp-refresh-post-nonces%
   5D%5Bpost_id%5D=5607&data%5Bclient%5D=wplc_heartbeat&interval=15&_nonce=4794bfe9c5&
   action=heartbeat&screen_id=shop_order&has_focus=false`
 * Screenshot with part of the network tracking can be seen here: [https://ibb.co/3BpnY2v](https://ibb.co/3BpnY2v)
    -  This reply was modified 5 years, 3 months ago by [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/).
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14063802)
 * [@essmeier](https://wordpress.org/support/users/essmeier/) and [@3sonsdevelopment](https://wordpress.org/support/users/3sonsdevelopment/),
   I’m using Health check plug-in. Woocommerce & the theme don’t seem to be responsible
   as refunds are working, so I have to pursue my invetisgations with other plug-
   ins… will tell you!
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14063982)
 * Culprit found! It’s seems to be related to certishopping plug-in, used for collecting
   reviews.
 * I guess the solution is on their side, I will check with them.
 * Thanks a lot for your help and tips.
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14074820)
 * For info, it had to do with an Action of the refund status in the plug-in code.
   Comment on the line and the problem is gone.
 *  [aldrinvallespin23](https://wordpress.org/support/users/aldrinvallespin23/)
 * (@aldrinvallespin23)
 * [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466027)
 * Hi [@gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/),
 * You said “For info, it had to do with an Action of the refund status in the plug-
   in code. Comment on the line and the problem is gone.”
 * Can you please explain how you do it? I had the same issue it says that 500 Internal
   Server Error upon clicking the refund button.
 * Please any help.
 * Thank you
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466039)
 * Hello [@aldrinvallespin23](https://wordpress.org/support/users/aldrinvallespin23/),
 * Are you also talking about certishopping plug-in? My issue was related to it.
 *  [aldrinvallespin23](https://wordpress.org/support/users/aldrinvallespin23/)
 * (@aldrinvallespin23)
 * [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466157)
 * Hi [@gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/),
 * Not on that plugin, failed to load resource: the server responded with a status
   of 500 (Internal Server Error) /wp-admin/admin-ajax.php?_fs_blog_admin=true:1
 * After clicking refund the ajax spinner spins endlessly. Still, the order has 
   been refunded successfully, only that the page keeps on loading.
 * Thank you.
 *  Thread Starter [gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/)
 * (@gabrieldelpech)
 * [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466169)
 * Then I’m sorry I’ll be no help because in my case, it was related to that plug-
   in, in which I had to put in comment some code.
 * Hope somebody else can help you, but first if you didn’t do it yet, create a 
   copy of your website, switch to another theme and try to reproduce the issue.
   Do the same with plug-ins by deactivating all of them, and check if it works,
   and if so then activate one by one so as to identify who is responsible.
 *  [aldrinvallespin23](https://wordpress.org/support/users/aldrinvallespin23/)
 * (@aldrinvallespin23)
 * [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466212)
 * No worries [@gabrieldelpech](https://wordpress.org/support/users/gabrieldelpech/),
   I will do your recommendation.
 * Thank you again.

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

The topic ‘Endless refund loading’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [aldrinvallespin23](https://wordpress.org/support/users/aldrinvallespin23/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/endless-refund-loading/#post-14466212)
 * Status: resolved