Joe
(@joecole1)
Zorem,
Thank you for your work on this. I am using the same ShipStation integration.
It seems that my ShipStation is returning ‘USPS’ (uppercase) as the carrier. When this is inserted into the order meta, it does not match to USPS in the plugin, which enters it as lowercase (I believe… it might be the reverse).
Now, with the code above, I could simply add strtolower to the carrier, but I’m sure that would lead to issues with other carriers.
What do you think is the best way to go about this?
Edit: Actually, looks like your plugin expects lowercase, it’s being entered in uppercase from ShipStation
-
This reply was modified 6 years, 9 months ago by
Joe.
-
This reply was modified 6 years, 9 months ago by
Joe.
Plugin Author
Zorem
(@zorem)
Hello, We just released latest version of plugin and updated code for automatically add tracking information into order using ShipStation.
Check this updated code snippet – https://gist.github.com/zorem/554da02b348474c56280254520d594b6
Thanks,