Orders Not Autocompleting
-
The connection from ShipStation to Woo works, but orders remain processing. Usually, once I’ve sent one in Shipstation, it pings into Woo and ‘completes’ the order. It has been working fine for the last ~6 Months.
How can we troubleshoot, please?
Site Status
-
Hey there, @elaraweb! Thanks for contacting us. I’m happy to help you.
As I understand you are having issues with orders not being set as completed, correct?
Do you know exactly when this started happening?
Do you remember if you made any changes to the website around that time? This can be updating the theme or a plugin, adding or removing plugins or custom code, etc.
Kindly follow the steps below to address this issue:
- Verify that your website’s API keys for Shipstation are correctly configured. You can do this by navigating to WooCommerce > Settings > Shipping > Shipstation in your WordPress dashboard. Double-check the API keys, and make sure they match the ones provided by Shipstation
- Caching plugins providing file minification can generate this kind of issue. Make sure that you disable file minification and try to import orders again.
If this did not resolve the issue, please provide the?fatal error logs?(if any) under?
WooCommerce > Status > Logs
and search for fatal errors.You could copy and paste your reply here or paste it via?https://gist.github.com/?and send the link here.
Looking forward to your reply.
Have a wonderful day!
Morning Carol, thanks for the quick response.
The issue only started happening last week, and in terms of updates, the only thing we’ve updated recently is the latest version of Woo (8.6.0 to 8.7.0).
We aren’t running any caching on the website.
I’ve checked Woo -> Settings -> Shipping but there isn’t anything related to ShipStation? Under Woo -> Settings -> Integrations -> Shipstation, everything looks to be correct.
Thank you
Hi @elaraweb,
Thanks for getting back to us and providing detailed information. I understand that your orders are not auto-completing as they used to. From the logs you’ve shared, it seems like the ShipStation integration is working correctly as it’s able to export orders. However, it’s exporting 0 orders which might be the reason why the orders are not auto-completing. Here are a few troubleshooting steps we can try:
- Check Order Status: Please ensure that the orders you’re trying to complete are not already completed or canceled. Only ‘processing’ orders can be completed.
- Check ShipStation Settings: Under WooCommerce -> Settings -> Integrations -> ShipStation, please ensure that ‘Send Completed Order Emails’ is enabled. This setting is necessary for orders to auto-complete.
- Check for Plugin Conflicts: Sometimes, other plugins can interfere with WooCommerce’s functionality. To rule this out, please temporarily deactivate all other plugins except WooCommerce and ShipStation, and see if the issue persists.
- Revert to Previous WooCommerce Version: If the issue started after updating WooCommerce, it might be helpful to temporarily revert to the previous version (8.6.0) to see if the issue still occurs. To do this, you can manually download and upload WooCommerce 8.4.0 from this link. Please remember to back up your site before doing this.
Let us know if there’s anything else we can help you with.
We are experiencing this as well. It’s not a WooCommerce issue; the issue is the recent release of the ShipStation plugin, version 4.4.0. The changelog says the version was just an update to WordPress coding standards, which is why I updated it without looking too deep. But there are updates to the logic as well.
I’ve fixed all my stores locally and submitted a support ticket with woocommerce.com detailing out the problem and how to fix it, but this needs to be updated and pushed out ASAP. All I got from Woo Support was a disappointing and unhelpful AI-generated response.
The issue is that the Shipnotify->request() method previously got the $order_number value directly off the $_GET[‘order_number’] query parameter. However, the recent update moved that inside a $can_parse_xml if statement. But on the ShipNotify action, there is no XML because all the data is passed through the query parameters, not XML. So the XML is false, the $order_number is not populated, and the action to complete the orders never runs because it can’t find the order number. To fix it, move line 212 of “wp-content/plugins/woocommerce-shipstation-integration/includes/api-requests/class-wc-shipstation-api-shipnotify.php” outside of the IF statement (to line 173, for example).
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
- This reply was modified 8 months ago by Tobin Fekkes.
Hi @tobinfekkes, @afzalpansuvi, @elaraweb, @carolm29
We are experiencing almost the same thing, it only started happening yesterday afternoon after we updated to v. 4.4.1 as well.
With our issue it is doing something additional, when the shipping department finishes one order it is attaching the tracking number and marking as completed the most recent order received in WooCommerce, not the order they were working on in ShipStation. Then any orders that came in between the one they shipped and the one wrongly marked as complete are not marked as complete or tracking numbers attached when they finish processing the shipments, but all those tracking numbers are getting attached to that same recently received order. The recently received order that was marked complete when you look at it on ShipStation it says “The shipment is imported as Shipped” which of course is wrong and should not happen.Also happening for me. Seems to be as described, and issue on the woocommerce side, not setting the order to complete.
Trying a downgrade to 4.3.9.Hi @tobinfekkes, @moraima4, @panthar21,
Thank you for contacting WooCommerce support. I understand you are facing the same issue however since all websites are built differently and run in different environments. Therefore, as per our Support Policy, I will suggest you create a new topic so we can assist you separately.
I appreciate your understanding. ??
I understand the sentiment behind creating a new topic, but this isn’t an issue with websites being built differently or running in different environments. The core ShipStation plugin authored by WooCommerce has a very simple bug in it, regardless of the site or environment.
Re-entering the same auth key over at ShipStation fixed the issue for us (still running v4.4.0). Have held off updating to 4.4.1 for now
I opened a new topic if that works better
?? hey @elaraweb
Thank you for reaching back, with an update that re-entering the same auth key over at ShipStation version 4.4.0 fixed the issue on your end.
Just to note, with the release of WordPress version 6.5 around the corner, it is recommended to make sure WooCommerce ShipStation Integration version 4.4.1 is activated, for compatibility reasons. Cheers!
cc @tobinfekkes @moraima4 @panthar21
Kindly let us know if that solution works on your end, also, or otherwise. Looking forward to hearing from you!
I already updated to 4.4.1 on Tuesday 3/26, that’s when the issues started for me.
I tried re-entering the auth key into ShipStation and I got “An error has occurred” message. The connection is working though, the orders are being exported to ShipStation.
Hey, everyone!
Thank you for bringing the issue to our attention. We have already reported it to our developer team and this will be fixed as soon as possible.
Thank you for your understanding and patience while we work on it.
Please let us know if there’s anything else we can do to help or if you have any questions. If you are not the thread starter and you need further help, please open a new thread so we can assist you ther.
Have a wonderful day!
Same issue(s) ?? (sad not angry)
… Just wanted to join in!
Also creating own ticket as instructed.
Plugin: Version 4.4.1
Thank you Support and Dev teams!- This reply was modified 8 months ago by oncoregolfusa.
- This reply was modified 8 months ago by oncoregolfusa.
- The topic ‘Orders Not Autocompleting’ is closed to new replies.