• Resolved rudolfl

    (@rudolfl)


    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)
  • Hi there @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 https://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 https://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

    (@rudolfl)

    Hi,

    Thank you for replying.

    I did search for “fatal errors” logs and yes, found it!

    Here it is:

    [ Here it’s deleted ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @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/ or https://pastebin.com/ or the like instead and post the link to that paste.

    Thread Starter rudolfl

    (@rudolfl)

    My apologies,

    Here it is:

    https://pastebin.com/SUumFbLh

    Thanks

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @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

    (@rudolfl)

    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 R. a11n

    (@shameemreza)

    Hi @rudolfl

    for some reason, not getting notifications on relies to this thread.

    While replying or creating a thread on the www.ads-software.com forum, make sure to check the “Notify me of follow-up replies via email” option.

    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 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.