Background of the issue:
We are experiencing an issue involving WooCommerce, WPML, and Shiptheory on our site hidden link. When orders are placed on the English version of our site (secondary language), all billing and shipping details are correctly stored in WooCommerce. However, when these orders are sent to Shiptheory, all the customer fields appear completely empty. The checkout HTML fields are correct, and the data is correctly saved in WooCommerce. Only orders created in the secondary language (EN) cause the issue, while orders created in the default language (FR) are sent to Shiptheory without any problem.
Symptoms:
Orders placed in the secondary language (EN) have empty customer fields when sent to Shiptheory, despite being correctly stored in WooCommerce.
Questions:
Why are customer fields empty in Shiptheory for orders placed in the secondary language?
What could be causing the issue with orders in the secondary language not transferring data to Shiptheory?
Unfortunately, we have not tested Shiptheory for compatibility with WPML, and we do not have specific knowledge of how it operates internally.
I recommend reaching out to Shiptheory’s support team to check whether they can make their plugin compatible with WPML using our official APIs and hooks: