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 4 of 4

Thread: No shipping methods in Google Checkout

  1. #1
    yakatz is offline Member
    Join Date
    Jul 2008
    Location
    Could be anywhere between 60N-28N and 77W-36E
    Posts
    84

    Exclamation No shipping methods in Google Checkout

    I found this thread which includes my error message, but no solution.

    I turned on logging, so I know my shipping quotes are being sent to Google Checkout, but Checkout says "You do not currently have any valid shipping methods."

    I find it hard to believe that no one is using Google Checkout with v9, so anyone have a fix for this?

    Part of the log:
    Code:
    <merchant-calculation-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://checkout.google.com/schema/2">
      <results>
        <result shipping-name="Ground Service - Cont. US" address-id="314768848334722">
          <shippable>false</shippable>
          <total-tax currency="USD">0</total-tax>
          <shipping-rate currency="USD">0</shipping-rate>
        </result>
        <result shipping-name="Express Service (2-3 days)" address-id="314768848334722">
          <shippable>false</shippable>
          <total-tax currency="USD">0</total-tax>
          <shipping-rate currency="USD">0</shipping-rate>
        </result>
      </results>
    </merchant-calculation-results>
    I was told in the Google Checkout forum that the problem is that shippable=false.
    Why is it set to false?
    Last edited by yakatz; 08-27-2010 at 11:39 AM.
    Using ASPDotNetStoreFront since Version 3
    Got Version 9.
    Almost ready to deploy MultiStore (final testing stages for the new FirstData gateway)
    Finally upgraded our server to 2008 R2.

  2. #2
    yakatz is offline Member
    Join Date
    Jul 2008
    Location
    Could be anywhere between 60N-28N and 77W-36E
    Posts
    84

    Default

    After an hour of debugging, I found the line of code causing the problem.
    I am moving this to the support system.
    Last edited by yakatz; 08-27-2010 at 12:29 PM.
    Using ASPDotNetStoreFront since Version 3
    Got Version 9.
    Almost ready to deploy MultiStore (final testing stages for the new FirstData gateway)
    Finally upgraded our server to 2008 R2.

  3. #3
    valentim is offline Senior Member
    Join Date
    Apr 2006
    Posts
    192

    Default

    Good sleuthing! It would be great if you could share your fix with the community!
    Matthew
    Aydus Consulting
    Strategy+Development+Design=The Aydus Difference

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Yakatz, I've responded to your ticket in support with the solution. Thanks for pointing that out, it was a great help to us.

    For the rest of the users having the same problem and if you have the source, please do this simply change in your Googlecheckout.cs, inside GetRates() method.

    from:
    Code:
    Address xAdd = Customer.Current.PrimaryShippingAddress;
    ...and change it to:
    Code:
    Address xAdd = cart.ThisCustomer.PrimaryBillingAddress;
    Otheriwse, submit a ticket to support so we can send you the updated assembly. I know you've VOTED for public patch repository, but until we haven't figured out the best way to handle that, you'll have to get the patch to support. thanks