Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: google checkout shipping charge

  1. #1
    tgso is offline Junior Member
    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
    ASPAlfred is offline Senior Member
    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
    tgso is offline Junior Member
    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
    tgso is offline Junior Member
    Join Date
    Nov 2010
    Posts
    14

    Default

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

  5. #5
    tgso is offline Junior Member
    Join Date
    Nov 2010
    Posts
    14

    Default

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