FosterCommerce / shipstation-connect

A plugin for Craft Commerce 2 that integrates with ShipStation.
https://plugins.craftcms.com/shipstationconnect
Other
7 stars 10 forks source link

Exported orders should respect XML Schema for Validating Order Information #41

Open jlachancekffein opened 2 years ago

jlachancekffein commented 2 years ago

We had an issue with an order containing a value for the Company field that was too long.

This issue is with the export orders endpoint : actions/shipstationconnect/orders/process?action=export

According to the Shipstation documentation, this field has a maximum of 100 characters.

https://help.shipstation.com/hc/en-us/articles/360025856192-Custom-Store-Development-Guide#UUID-1bb7ab47-6cf4-c6cd-0e5b-dec61e91201b_UUID-738eed11-ec21-be53-efb4-5fadcdde7b0f

I think it would be interesting for the plugin to manage the value of the fields to respect the documentation.

Otherwise, we have no choice but to manage field value on our side.