Our Google Checkout started incorrectly calculating shipping charges after we applied 9013 SP1. Shipping Calculation Method is "Calculate Shipping By Total".
Before and after snaps attached.
Appreciate any ideas!
Our Google Checkout started incorrectly calculating shipping charges after we applied 9013 SP1. Shipping Calculation Method is "Calculate Shipping By Total".
Before and after snaps attached.
Appreciate any ideas!
Do you have any shipping restrictions (i.e. states/countries mapping)? Did you try to purchase the same item via the regular checkout? If so, are you getting correct result?
In a nutshell, the call to retrieve available shipping methods was returning an empty recordset because the customer countrycode is evaluating to 0.
I fixed it by checking for a valid country code before letting the software apply the additional sql query filter on countrycode.
Updated ShippingCalculation.cs line 183
old: if (!shippingMethodToCountryMapIsEmpty)
new: if (!shippingMethodToCountryMapIsEmpty && customerCountryID > 0)
Updated ShippingCalculation.cs line 183
old: if (!shippingMethodToCountryMapIsEmpty)
new: if (!shippingMethodToCountryMapIsEmpty && customerCountryID > 0)
No shipping restrictions that I am aware of. How would I check that?