Title: Missing ShipNotify XML input
Last modified: December 18, 2024

---

# Missing ShipNotify XML input

 *  Resolved [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/)
 * We are having an issue with market place notifications, the XML seems to be missing
   the order ID and uses our custom order ID instead.
 * Here is a screenshot from our logs.
 * ![](https://i0.wp.com/i.imgur.com/wzMyR7a.png?ssl=1)
 * On our other site, we do not have the same issue, the XML includes the order 
   ID and the order number
 * ![](https://i0.wp.com/i.imgur.com/9bPl9il.png?ssl=1)
 * We are running the latest version 4.4.6
   [This seems to be the same issue mentioned here](https://wordpress.org/support/topic/bug-from-4-4-0-version/)
    -  This topic was modified 1 year, 5 months ago by [captainblue01](https://wordpress.org/support/users/captainblue01/).

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

 *  [Mahfuzur Rahman](https://wordpress.org/support/users/mahfuzurwp/)
 * (@mahfuzurwp)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18207816)
 * Hi [@captainblue01](https://wordpress.org/support/users/captainblue01/),
 * Thank you for providing the screenshots—they were helpful in identifying the 
   issue.
 * From the comparison between the affected and working sites, we noticed a key 
   difference in the ShipNotify XML data:
    - On the working site, both OrderNumber (custom order number) and OrderID (WooCommerce
      internal order ID) are included in the XML. This dual inclusion ensures that
      ShipStation can correctly associate the order.
    - On the affected site, the OrderID is missing from the XML, and only the custom
      OrderNumber is being passed. This discrepancy is likely causing the issue,
      as ShipStation relies on the OrderID for proper functionality.
 * Next Steps:
 * To resolve this issue, we recommend the following:
 * 1. Check for Customizations:
    -  Look for any custom code or plugins on the affected site that modify how 
      order IDs are handled or passed to the ShipStation API.
    - If possible, temporarily disable such customizations to see if it resolves
      the issue.
 * 2. Verify Site Configuration:
    - Compare the WooCommerce ShipStation Integration plugin settings between the
      two sites to ensure consistency.
 * 3. Plugin and Theme Conflict Test:
    - Temporarily deactivate other plugins (except WooCommerce and ShipStation Integration)
      and switch to a default theme (like Twenty Twenty-Five) to check if the issue
      persists.
    - If the issue resolves, gradually reactivate plugins and your theme to identify
      the conflict.
 * Let us know if these steps work for you!
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18207850)
 * Hi Mahfuzur,
 * Thank you for your prompt reply!
 * Both sites use all the same plugins and the same theme, both sites also run the
   same versions of the plugins, so there should not be any conflict there
 * The only difference between the sites is the region and currency in WooCommerce.
 * Both sites also run the custom order number plugins.
 * I have double-checked the ship station integration plugin settings and made sure
   they are identical, I have also double-checked the settings for the store setup
   in ship station.
 * Can you think of any other troubleshooting steps?
 * Thanks again for your assistance.
 *  Plugin Support [Feten L. a11n](https://wordpress.org/support/users/fetenlakhal/)
 * (@fetenlakhal)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18210378)
 * Hi there,
 * Thanks for your answer.
 * We had a similar problem in the past. This was due to the fact that the XML request
   from ShipStation was stripped, causing the format to go wrong, which in turn 
   caused the tracking to be misplaced.
 * Could you share a copy of the System Status Report of both websites with us?
   
   You’ll find it at the top of the page under **WooCommerce > Status > Get system
   report > Download for support (after you scroll down a bit)**.
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18212984)
 * Hi Feten,
 * Thanks for your reply.
 * Please find attached System reports
   USA SITE (The site having the issue): [https://pastebin.com/96wbRkeE](https://pastebin.com/96wbRkeE)
   AUS SITE: [https://pastebin.com/E152Q5ir](https://pastebin.com/E152Q5ir)
 * Thanks again!
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18214844)
 * Hello [captainblue01](https://wordpress.org/support/users/captainblue01/),
 * Thank you for your reply.
 * I reviewed both reports and noticed that the US site is a WordPress multisite,
   and the AU site is not.
 * Another difference I noticed is that the US site’s WooCommerce database is not
   updated.
   It shows WC Database Version: 9.0.2.
 * Could you update the US site and ensure that the WooCommerce plugin and database
   version are updated to 9.5.1?
 * Let me know if this resolves the issue.
   I am here for your assistance.
 * Best regards.
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18240022)
 * Hi [@doublezed2](https://wordpress.org/support/users/doublezed2/),
 * Thank you for your suggestion, we have updated the plugin and the database, however
   we are still having the same issue.
 * Please let me know if you need any more logs / reports.
 *  Plugin Support [Paulo P – a11n](https://wordpress.org/support/users/paulostp/)
 * (@paulostp)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18251201)
 * Hello [@captainblue01](https://wordpress.org/support/users/captainblue01/),
 * > we have updated the plugin and the database
 * I’m not sure if you’re referring to the ShipStation for WooCommerce plugin here,
   but from the System Status Reports you shared, I see the sites are running different
   versions of the plugin. The USA one is on 4.4.6 and the AUS one is on 4.4.4. 
   If you downgrade the USA site to 4.4.4 does the issue go away?
 * You can find previous versions of ShipStation for WooCommerce at the bottom of
   [this page](https://wordpress.org/plugins/woocommerce-shipstation-integration/advanced/).
 * Looking forward to hearing back from you.
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18263650)
 * Hi Paul,
 * Thanks for the reply.
   We have downgraded our Shipstation for WooCommerce plugin
   to 4.4.4 to match the Australian version and we are still having the same issue,
   with the XML missing the order id.Screenshot of the data missing the order id:
 * ![](https://i0.wp.com/i.imgur.com/eCWGJjW.png?ssl=1)
    -  This reply was modified 1 year, 4 months ago by [captainblue01](https://wordpress.org/support/users/captainblue01/).
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18269865)
 * Hello [captainblue01](https://wordpress.org/support/users/captainblue01/),
 * Thank you for your reply.
 * Could you please share the SSR of both sites again?
   I want to review and check
   for any differences that might help me pinpoint the cause of the problem.
 * Also, it would be worthwhile to check whether the issue occurs if you upgrade
   the WooCommerce ShipStation to 4.4.6 on the Australian site.
 * Please make a backup of the site before attempting this so you can easily revert
   if needed.
 * Looking forward to your response. 🙂
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18277391)
 * Hi Paul,
 * Thank you for your reply.
   I have attached the system reports for both sitesAU
   Site: [https://pastebin.com/vGP3AtSJ](https://pastebin.com/vGP3AtSJ)USA Site:
   [https://pastebin.com/tZE7aik9](https://pastebin.com/tZE7aik9)We have also tried
   updating the WooCommerce Shipstation plugin to 4.4.6 and we have not encountered
   the same issue.Thanks again for your help with this.
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18288777)
 * Hello [captainblue01](https://wordpress.org/support/users/captainblue01/),
 * Thank you for your patience.
 * To further investigate this issue we need to look deeper into your site configuration.
   
   Could you log in to your WooCommerce.com account and [create a ticket](https://woocommerce.com/contact-us/)?
 * Please share your ticket number with me here so I can make sure there is a swift
   follow-up.
   Let me know if you have any questions about creating a ticket.
 * Best regards.
 *  Thread Starter [captainblue01](https://wordpress.org/support/users/captainblue01/)
 * (@captainblue01)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18302878)
 *  Hi Zubair,
   We have creaeted a ticket with WooCommerce, our ticket number is 
   9393229
 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18303913)
 * Hi [@captainblue01](https://wordpress.org/support/users/captainblue01/),
 * Thank you for getting back, the support team will respond to you as soon as possible.
 *  [calebgittins](https://wordpress.org/support/users/calebgittins/)
 * (@calebgittins)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18345164)
 * Thanks [@mosesmedh](https://wordpress.org/support/users/mosesmedh/), we have 
   a solution now thanks to the WP support team.
 * They suggested changing line 123 of **includes/api-request/class-wc-shipstation-
   api-shipnotify.php** with:
 *     ```wp-block-code
       return absint(apply_filters( 'woocommerce_shipstation_get_order_id', $order_id ));
       ```
   
 * I also have the following filter in the theme to find the correct order ID based
   on the custom order number:
 *     ```wp-block-code
       add_filter( 'woocommerce_shipstation_get_order_id', function( $order_id ) {        global $wpdb;        $prepare_query = $wpdb->prepare(            "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = '_alg_wc_full_custom_order_number' AND meta_value = %s",            $order_id        );        $get_values = $wpdb->get_col( $prepare_query );        return ! empty( $get_values ) ? absint( $get_values[0] ) : absint( $order_id );    });
       ```
   
 * With both of those in place, orders are now being updated once they are shipped
   in Shipstation. 
   Can that fix be applied to the next version of the plugin?
    -  This reply was modified 1 year, 2 months ago by [calebgittins](https://wordpress.org/support/users/calebgittins/).
 *  Plugin Support [Feten L. a11n](https://wordpress.org/support/users/fetenlakhal/)
 * (@fetenlakhal)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18347965)
 * Hi there,
 * I see that you have already discussed this with the team through ticket #9393229.
 * This thread is mark as resolved – we’ll be here if and/or when you are ready 
   to continue.

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

The topic ‘Missing ShipNotify XML input’ is closed to new replies.

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

 * 15 replies
 * 7 participants
 * Last reply from: [Feten L. a11n](https://wordpress.org/support/users/fetenlakhal/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/missing-shipnotify-xml-input/#post-18347965)
 * Status: resolved