Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Shipstation issue with european order
Author « Topic »  

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  01:53:10  
Hi,

I have a particular order that is preventing Shipstation from updating/importing, throwing the following error:

An error occurred attempting to update orders: Error in XML. Reason: The element 'ShipTo' has invalid child element 'br'. List of possible elements expected: 'Country, Phone, PostalCode, State'.

If I remove this order all is fine and other orders import as usual.

The difference with the problem order is that it is a European order to Sweden, so I imagine that may have a bearing.

Thanks,

Steve

v7.4.6

Vince
Administrator

42874 Posts

Posted - 01/31/2022 :  03:17:06  
Hi Steve
Could you send the XML file to my email? It's vince AT ecommercetemplates DOT com

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  03:45:57  
Hi Vince,

How do I see/generate the XML that Shipstation is connecting to?

Steve

dbdave
ECT Moderator

USA
10468 Posts

Posted - 01/31/2022 :  07:03:48  
Looking at the address may give a clue to the issue.
As a long time ship station user, over the years, once in a blue moon, we have had an order that would not import.
It's always boiled down to being the format of the address, or a special character (such as accented character).

Thanks,
David

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  07:18:49  
Hi David,

Yes, that was my thought too. Having said that, I can't see any special characters.

Steve

Vince
Administrator

42874 Posts

Posted - 01/31/2022 :  09:28:07  
In the error message it says "invalid child element 'br'" so that would kind of indicate there is an HTML "<br>" tag. Could that be it?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  10:28:28  
I had a look at the order entry in the database and I can't see a <br> tag or any other html, it all looks correct.

How can I see the XML output that ECT sends to shipstation Vince?

Steve

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  13:53:49  
Hi Vince - not sure if this is coincidence or related but I notice on a new order I have the following under applicable discounts:

Applicable Discounts: Free Standard UK Shipping on orders over £75<br>

A <br> tag making an appearance to the end of the line which is not there in the discount setup.

I also tried a test order also using a gift certificate and got this:

Applicable Discounts: Free Standard UK Shipping on orders over £75<br>Gift Certificate £89.98<br>


Steve

Vince
Administrator

42874 Posts

Posted - 01/31/2022 :  14:17:17  
Hi Steve
quote:
Applicable Discounts: Free Standard UK Shipping on orders over £75<br>
It really does seem that that could have something to do with this problem. But the thing is that the discount text isn't actually sent to ShipStation. But there is actually a fix for this if you get a new copy of the updater in the incorders.php page.
But I really think we need to see the XML to get to the bottom of this and the way to do that is to run this link on your site...
http://yourstore.com/vsadmin/ajaxservice.php?SS-UserName=youruser&SS-Password=yourpw&action=export&start_date=01/20/2022%2013:00&end_date=01/31/2022%2013:00
You need to change "yourstore.com" to your URL of course, and change the "youruser / yourpw" to your actual shipstation username and password. I've set the dates to 01/20/2022 and 01/31/2022 but if you refine those a bit to the actual date of the order. Then that should display the XML but you will need to do a "View Source" to see it. Then could you send that to me in an email (vince AT ecommercetemplates DOT com)
The "%2013:00" is a space and the time which is 13:00 by the way. that shouldn't need changing.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 01/31/2022 :  14:26:50  
Many thanks Vince - I'll take a look at this first thing tomorrow and get the XML for you.

Steve
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000