Hi Dan,
Thanks for the feedback.
The issue I have is that in the front-end, it calculates the shipping correctly based on the contents of the order and the zip codes. When I create the same order programmatically, it sometimes has the correct shipping rates and sometimes it doesn’t.
We need it to pick free shipping if a certain condition is met, and the shipping rates we get contain the normal rate plus a free shipping rate if the condition is met, so we loop through, checking if the free shipping rate is available and choose it. However, sometimes, on the same order, the free shipping rate is not present even though all the parameters are the same.
How can we go about debugging this issue. As I’ve mentioned, it’s difficult to find out exactly how your plugin calculates the rates based on the rules.
Thanks