Title: Double orders
Last modified: August 23, 2023

---

# Double orders

 *  Resolved [rudolfl](https://wordpress.org/support/users/rudolfl/)
 * (@rudolfl)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/)
 * Hi,
 * I recently started to get double orders from customers. One of the customer reported
   they checkout got stuck in “processing” state and they had to refresh and try
   again. As a result, order came through twice.
 * I tried to do a refund and was faced with same situation — refund got stuck in“
   processing” state and I had to refresh. I then check with eWay — refund was not
   done, so I tried it it again and it worked.
 * Nothing changed on my side and, according to eWay, nothing changed on their side
   either.
 * I happen to have a debug log for all those transactions. How can I send it to
   you to check?

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

 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17000043)
 * Hi there [@rudolfl](https://wordpress.org/support/users/rudolfl/) 👋
 * Thank you for reaching out! My apologies for the late reply; we’re currently 
   experiencing a high volume of tickets.
 * I understand that, recently, both while going ahead with paying for an order,
   and refunding it, the first try appears to not go through as expected.
 * > I happen to have a debug log for all those transactions. How can I send it 
   > to you to check?
 * Feel free to use our [http://Quickforget.com](http://Quickforget.com) service,
   for sharing the debug log, and send that secret link here
 * To help you further, I’d like to understand more about your setup.
 * Could you please send me a copy of your site’s System Status? You can find it
   via `WooCommerce > Status`. Select `Get system report` and then `Copy for support`.
 * Once you’ve done that, you can paste it here, or into our [http://Quickforget.com](http://Quickforget.com)
   service.
 * Also, could you please navigate to `WooCommerce > Status > Logs` and from the
   dropdown on the right side, please see if there are any logs starting with the
   words fatal-error.
 * If so, please select `View` and copy and paste them into your reply here.
 * We await your response to better assist you.
 *  Thread Starter [rudolfl](https://wordpress.org/support/users/rudolfl/)
 * (@rudolfl)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17000376)
 * Hi,
 * Thank you for replying.
 * I did search for “fatal errors” logs and yes, found it!
 * Here it is:
 * _[ Here it’s deleted ]_
    -  This reply was modified 2 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17001052)
 * [@rudolfl](https://wordpress.org/support/users/rudolfl/)
 * Please do not post large code or responses like that here, it doesn’t work after
   ~10 lines or so. That 23K mess just broke this topic and was never going to work.
 * If you need share that data please use [https://gist.github.com/](https://gist.github.com/)
   or [https://pastebin.com/](https://pastebin.com/) or the like instead and post
   the link to that paste.
 *  Thread Starter [rudolfl](https://wordpress.org/support/users/rudolfl/)
 * (@rudolfl)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17003928)
 * My apologies,
 * Here it is:
 * [https://pastebin.com/SUumFbLh](https://pastebin.com/SUumFbLh)
 * Thanks
 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17008670)
 * Hi [@rudolfl](https://wordpress.org/support/users/rudolfl/)
 * Based on the fatal error log you’ve shared, it appears that there’s an issue 
   with the WooCommerce API Product Sync plugin. Specifically, it seems that the
   plugin is trying to use an object of type `stdClass` as an array, which is causing
   the error.
 * To resolve this issue, you can try the following steps:
    - Ensure you’re using the latest version of the WooCommerce, WooCommerce Eway
      Gateway, and WooCommerce API Product Sync plugin. The issue might have been
      fixed in a newer version.
    - If you’re comfortable with PHP, you can open the ‘functions.php’ file in the
      plugin directory and check line 1029. The error message suggests that an object
      is being used as an array. You might need to modify the code to ensure it’s
      treated as an object instead of an array.
 * If the issue persists, you should reach out to the developers of the WooCommerce
   API Product Sync plugin. Provide them with the error log and they should be able
   to provide a solution.
 * As a solution, you might need to disable the WooCommerce API Product Sync plugin
   until the issue is resolved. So that all other plugins, including WooCommerce
   Eway Gateway start to work without an issue.
 * Remember to always backup your site before making any changes or updates.
 * Let us know how that goes. If you need further assistance or have any other questions,
   feel free to ask.
 *  Thread Starter [rudolfl](https://wordpress.org/support/users/rudolfl/)
 * (@rudolfl)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17011227)
 * My apologies for late reply — I, for some reason, not getting notifications on
   relies to this thread.
 * Thank you for replying.
 * In the last week I had no issues and nothing was changed in our system. As a 
   precaution, I now disabled the plugin in question just in case. Will monitor 
   and see.
 * I am currently unable to do any upgrades due to high season in our store. All
   upgrades will be applied in Nov, as load easies.
 * Rudolf
 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17015410)
 * Hi [@rudolfl](https://wordpress.org/support/users/rudolfl/)
 * > for some reason, not getting notifications on relies to this thread.
 * While replying or creating a thread on the WordPress.org forum, make sure to 
   check the “Notify me of follow-up replies via email” option.
 * ![](https://i0.wp.com/i.ibb.co/bH9vgG3/Clean-Shot-2023-08-31-at-16-30-26.png?
   ssl=1)
 * > In the last week I had no issues and nothing was changed in our system. As 
   > a precaution, I now disabled the plugin in question just in case. Will monitor
   > and see.
 * It’s good to hear that you have not experienced any issues in the last week and
   that you’ve taken a proactive step by disabling the plugin in question. This 
   is a good strategy to help isolate the issue. Please continue to monitor your
   system and let us know if there are any changes.
 * > I am currently unable to do any upgrades due to high season in our store. All
   > upgrades will be applied in Nov, as load easies.
 * I understand your constraints regarding upgrades due to the high season in your
   store. It’s important to ensure that your store runs smoothly during this period.
   I recommend making a backup of your site before applying any updates when you’re
   ready in November. This way, you can always revert back to the previous version
   if any issues arise.
 * Meanwhile, I’ll be marking the thread as solved for now, but feel free to [open a new one](https://wordpress.org/support/plugin/woocommerce-gateway-eway/#new-topic-0)
   if you have any other questions.
 * Thanks!

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

The topic ‘Double orders’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-eway/assets/icon-256x256.png?rev=3231743)
 * [Eway Payments for Woo](https://wordpress.org/plugins/woocommerce-gateway-eway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-eway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-eway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-eway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-eway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-eway/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/double-orders-3/#post-17015410)
 * Status: resolved