You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi y'all. After updating to version 1.3.2 of the plugin we're now seeing errors in the XML feed when syncing orders in ShipStation.
The issue seems to be related to the fact that we're passing orders to ShipStation that don't have any address info associated with them (our client pivoted to a curbside pickup model when COVID hit).
Obviously these curbside pickup orders don't need to be passed to ShipStation to begin with, but as far as I can tell there isn't a way to configure the plugin to send some orders to ShipStation, but not others. If that's possible and I'm missing something, let me know.
Here's the specific error we're seeing (that sounds similar to what's happening in #18):
An error occurred attempting to update orders: Error in XML. Reason: The 'Country' element is invalid - The value '' is invalid according to its datatype 'StringExactly2' - The actual length is less than the MinLength value.
I was able to temporarily get things back up and running by editing line 443 of the services/Xml.php file to be:
Hi @brettburwell ShipStation requires the country code unfortunately.
If you don't need the curbside orders to be synchronized to ShipStation, you can use the store field:
Add it to the order fields
Set the field in ShipStation Connect settings:
After this you can get the correct URL for each store to synchronize orders. You can then configure ShipStation to fetch just the orders from the store which you intend to ship.
To put an order in a particular store set the value of the field in the order:
Hi y'all. After updating to version 1.3.2 of the plugin we're now seeing errors in the XML feed when syncing orders in ShipStation.
The issue seems to be related to the fact that we're passing orders to ShipStation that don't have any address info associated with them (our client pivoted to a curbside pickup model when COVID hit).
Obviously these curbside pickup orders don't need to be passed to ShipStation to begin with, but as far as I can tell there isn't a way to configure the plugin to send some orders to ShipStation, but not others. If that's possible and I'm missing something, let me know.
Here's the specific error we're seeing (that sounds similar to what's happening in #18):
I was able to temporarily get things back up and running by editing line 443 of the
services/Xml.php
file to be:Obviously not a long term fix, but perhaps there's a way to pass along a default in the ternary operator that doesn't cause the feed to break.
If there's any other info I can pass along that'd be helpful let me know. And thanks in advance!
System Info
The text was updated successfully, but these errors were encountered: