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

Thread: Google Checkout: How To

  1. #1
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default Google Checkout: How To

    There are many AppConfigs dealing with Google Checkout and it has obviously become a daunting procedure to set it up correctly for many. The fact of the matter is, the majority of these AppConfigs do not need to be touched.

    To set up your Google Checkout, follow these few steps:

    1. Determine if you're live or sandbox
    2. Go to https://checkout.google.com/sell/ and click "Sign up Now" to create a Google Merchant Account if live, if sandbox go to https://sandbox.google.com/checkout/sell/ to do the same.
    3. Go to Settings>Integration and write down your MerchantID, and your MerchantKey.

    IF SANDBOX:
    1. Set GoogleCheckout.SandboxMerchantID to the MerchantID you wrote down.
    2. Set GoogleCheckout.SandboxMerhcantKey to the MerchantKey you wrote down.
    3. YOU'RE DONE.

    IF LIVE:
    1. Set GoogleCheckout.UseSandbox to false.
    2. Set GoogleCheckout.MerchantID to the MerchantID you wrote down.
    3. Set GoogleCheckout.MerchantKey to the MerchantKey you wrote down.
    4. YOU'RE DONE.

    It's really that simple. The following AppConfigs also apply to GoogleCheckout for other reasons, but are fine at default value and should not be touched unless you know what you're doing. I am also listing their default values so that if you accidentally screwed up your GoogleCheckout, you can reset to default:

    1. AuthenticateCallback - false
    2. AllowAnonCheckout - false
    3. BaseUrl - https://checkout.google.com/api/chec...st/Merchant/{0}
    4. CarrierCalculatedDefaultPrice - 50.0
    5. CarrierCalculatedFreeOption - UPS Ground, FedEx Home Delivery
    6. CarrierCalculatedPackage - 10x10x10
    7. CarrierCalculatedShippingEnabled - false
    8. CarrierCalculatedShippingOptions - FedEx 2Day|20, FedEx Standard Overnight|30, UPS 2nd Day Air|20, UPS Ground|10, UPS Next Day Air|30, USPS Express Mail|50
    9. ConversionParameters -
    10. ConversionURL -
    11. DefaultDomesticShipToCity - Wichita
    12. DefaultDomesticShipToCountry - US
    13. DefaultDomesticShipToState - KS
    14. DefaultDomesticShipToZip - 67215
    15. DefaultInternationalShipToCity - Norwich
    16. DefaultInternationShipToCountry - GB
    17. DefaultInternationalShipToState - --
    18. DefaultInternationalShipToZip - NR1 3QA
    19. DefaultShippingMarkup - 2.0
    20. DefaultTaxRate - 0
    21. DiagnosticsOnly - false
    22. HideCouponOnCartPage - false
    23. LiveCheckoutButton - http://checkout.google.com/buttons/c...e&variant=text
    24. LogFileName - images/GoogleCheckout.log
    25. LogMessages - false
    26. SandboxCheckoutButton - http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id={0}&w=180&h=46&style=white&variant=text
    27. SanboxCheckoutURL - https://sandbox.google.com/checkout/...st/Merchant/{0}
    28. SendStoreReceipt - false
    29. ShippingIsTaxed - false
    30. ShowOnCartPage - true
    31. UseTaxTables - false

    Congratulations. You're all set with Google Checkout.

  2. #2
    chammock is offline Senior Member
    Join Date
    Jan 2008
    Posts
    108

    Default

    I was in my Google Checkout Account using my main Google account. I went through the process of Integration and selected Existing Carts > Integrate with ASPDotNetStorefront. So it took me to a page with the Google Vendor ID and Google Merchant key. Later after reading some posts I went back and looked and saw that my GoogleCheckout.UseSandbox was True so I assume that the info it generated was for the Sandbox, but I was logged in as my main Google account.

    I then followed a link to an ASPDNSF instructions page about Google Checkout where it referenced creating new accounts for the Sandbox. So if I follow this link as suggested, should I use the Sign Up Now, instead of logging in with my current account? http://sandbox.google.com/checkout/sell/

    Then login with that account and try to generate the Sandobx account and apply the ID and Key that I generated already

    And then I guess I should do the same thing for the buyer sandbox account? Change the parameter to False, reset cache, then from my main GCO account, go back through the same process but follow the non-sandbox link and create a new account and then sign in with that account and hopefully along the way I will have received either an account loaded with a credit card for sandbox purchases or something.

    I have used the PayPal Sandbox several times so I am familiar with the concept, I just want to get this GCO setup correctly the first time.

    So any help you can provide would be great!

    Cliff

  3. #3
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    Google saying "Integrate" is not going to read ASPDNSF's AppConfig variable in your admin page, and therefore will set up the merchantID/Key based on your being logged into either checkout.google, or sandbox.google. Since you were not in sandbox at the time, those keys you obtained are for live google checkout.

    If you would like to set up a sandbox key and ID, go to the sandbox uri and sign up.

  4. #4
    avekm is offline Member
    Join Date
    Jan 2007
    Posts
    39

    Default

    Thank you for this thread. In my google setup Integration section I see a field called: API callback URL. What would I put in there? Do I need to fill that out? Thank you!

  5. #5
    chammock is offline Senior Member
    Join Date
    Jan 2008
    Posts
    108

    Default

    On the instructions page...
    http://www.aspdotnetstorefront.com/m...leshooting.htm

    go near the bottom and it tells you what the callback is and where to put it.

    To save time, here it is.

    You must provide a "callback URL" to Google, allowing them to call your server. This callback URL looks like this:
    https://www.NameOfMySite.com/gcCallback.aspx
    and is entered on the Integration page of your Google Checkout settings.

    FYI...I got my Google Checkout to work, but the registration process is too complicated. I am looking at some other dnn modules that will allow them to just register with an email and auto log them in and redirect to whatever page. Will let you know how that goes. I will do some research on the boards here, as I have seen other threads related to the circular nature of the signup process. I think we can get around that with the right module. Jesse, what do you think about that?
    Last edited by chammock; 06-20-2008 at 06:20 AM.

  6. #6
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    Sounds like a plan. Could help those who might have similar registration issues.

  7. #7
    avekm is offline Member
    Join Date
    Jan 2007
    Posts
    39

    Default

    Thanks for the quick reply. Upon entering in my API callback URL I am prompted to select a "Callback method." Choices are:

    1)XML
    e.g. <google-order-number>123</google-order-number>

    2)HTML (name/value pairs)
    e.g. google-order-number=123

    I have XML selected right now but just want to verify which one I should be using? Does it matter? I looked through the Checkout Setup doc you referred to but was unable to find anything regarding this option.

    Thanks.

  8. #8
    chammock is offline Senior Member
    Join Date
    Jan 2008
    Posts
    108

    Default

    I left it at XML, but really don't know how that will impact anything.
    Maybe someone else can jump in and let us both know.

    Cliff

  9. #9
    Jesse is offline Banned
    Join Date
    May 2008
    Posts
    1,329

    Default

    The HTML Callback method with GoogleCheckout is not supported by our software. only the XML Callback methods are supported.

  10. #10
    makoto is offline Junior Member
    Join Date
    Jan 2008
    Posts
    5

    Default

    How can I configure the store to use Google checkout as a primary Gateway? I want it so that when they click on the "Buy" icon, it uses Google checkout behind the scenes, and so that they don't have to click on the "Google Checkout" icon explicitly.

  11. #11
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    You will have to change the code behind on the cart page to do this, so it turns off all regular in-line real time gateways. There is no AppConfig to do this.
    AspDotNetStorefront
    Shopping Cart

  12. #12
    Andreas is offline Member
    Join Date
    Sep 2007
    Posts
    33

    Default

    As far as i know, you can't use google checkout completely backend. They require the customer to log in with their google account.