Results 1 to 5 of 5

Thread: google checkout shipping charge

  1. #1
    Join Date
    Nov 2010
    Posts
    14

    Question google checkout shipping charge

    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!
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    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?

  3. #3
    Join Date
    Nov 2010
    Posts
    14

    Default

    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)

  4. #4
    Join Date
    Nov 2010
    Posts
    14

    Default

    Updated ShippingCalculation.cs line 183
    old: if (!shippingMethodToCountryMapIsEmpty)
    new: if (!shippingMethodToCountryMapIsEmpty && customerCountryID > 0)

  5. #5
    Join Date
    Nov 2010
    Posts
    14

    Default

    No shipping restrictions that I am aware of. How would I check that?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •