Hey Chris, Thanks for the links, those were helpful!
I'd be glad to submit a patch, and some updated documentation to go with it, but I'd first like to get it all the way working :) I'm hitting an error now on Google's end when it tries to send the notification back: We encountered an error trying to access your server at http://topdogwear.com/checkout/google/notification/ -- the error we got is Send failed with code: 401. Response body was: Authorization Required Am I missing some sort of config values where I have to provide? It looks like the code is executing the function 'auth.do_auth', but I'm not sure what's making it fail and how to make it pass. Thanks your all the help again! Brian On Sat, May 8, 2010 at 4:52 PM, Chris Moffitt <[email protected]> wrote: > The google checkout process isn't documented very well. > > There is some documentation here - > http://www.satchmoproject.com/docs/dev/payment.html#google-checkout > > There is also a readme here - > > http://www.bitbucket.org/chris1610/satchmo/src/tip/satchmo/apps/payment/modules/google/readme.txt > > Which should be integrated into the above documentation. > > If you wouldn't mind opening up a ticket with your comments on how to > improve the docs, I would appreciate it. That way, others might have a bit > smoother process :) > > Thanks, > Chris > > > On Sat, May 8, 2010 at 1:05 PM, Brian O'Connor <[email protected]>wrote: > >> Okay yeah that worked. Is that in the documentation somewhere that I >> missed? >> >> I'm much farther now, and the errors are appearing in the Google >> Integration Console, but I'm getting an error saying "Authorization >> Required". >> >> I'm looking through the code and I'm confused as to what authentication is >> necessary for google to callback to my site? >> >> Thanks for all the help, it's greatly appreciated! >> >> Brian >> >> >> On Sat, May 8, 2010 at 1:00 PM, Chris Moffitt <[email protected]> wrote: >> >>> The url should be set within your google checkout config and should point >>> back to something like http://yoursite.com/google/notification >>> >>> See what value is returned when you try to reverse >>> GOOGLE_satchmo_checkout-notification >>> >>> -Chris >>> >>> >>> On Sat, May 8, 2010 at 11:28 AM, Brian O'Connor <[email protected]>wrote: >>> >>>> What url am I supposed to give google for a callback url? Is that >>>> something that is in the settings? >>>> >>>> >>>> On Fri, May 7, 2010 at 6:15 PM, Brian O'Connor <[email protected]>wrote: >>>> >>>>> Is the google callback url what triggers the order completion? I >>>>> thought it was in the redirect... >>>>> >>>>> >>>>> On Fri, May 7, 2010 at 5:53 PM, Chris Moffitt <[email protected]>wrote: >>>>> >>>>>> What call back url did you configure for google to call after the >>>>>> order is complete? >>>>>> >>>>>> Is that url reachable from the internet? >>>>>> >>>>>> -Chris >>>>>> >>>>>> >>>>>> On Fri, May 7, 2010 at 4:23 PM, Brian O'Connor >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> I get this when I do a checkout with Google. The logs stop after I >>>>>>> go to google's checkout sandbox, so I'm not sure they're getting >>>>>>> anything >>>>>>> back. Could this have something to do with a callback url not being >>>>>>> set or >>>>>>> something? I thought that was passed into it? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Fri, 07 May 2010 17:19:35 satchmo_store.contact.forms INFO >>>>>>> Sending form_init signal: <class 'payment.forms.PaymentContactInfoForm'> >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.contact.forms INFO >>>>>>> Sending form_init signal: <class 'payment.forms.PaymentContactInfoForm'> >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.contact.forms DEBUG Saving >>>>>>> contact info for Brian O'Connor >>>>>>> Fri, 07 May 2010 17:19:39 shop.listeners DEBUG Recalculating all >>>>>>> contact orders not in process >>>>>>> Fri, 07 May 2010 17:19:39 shop.listeners DEBUG Found 3 orders to >>>>>>> recalc >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.shop.models DEBUG Order >>>>>>> #1, recalc: sub_total=$27.00, shipping=$4.00, discount=$0.00, tax=$0.00 >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.shop.models DEBUG Order >>>>>>> #2, recalc: sub_total=$27.00, shipping=$4.00, discount=$0.00, tax=$0.00 >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.shop.models DEBUG Order >>>>>>> #3, recalc: sub_total=$27.00, shipping=$4.00, discount=$0.00, tax=$0.00 >>>>>>> Fri, 07 May 2010 17:19:39 satchmo_store.shop.models DEBUG Order >>>>>>> #4, recalc: sub_total=$27.00, shipping=$0.00, discount=$0.00, tax=$0.00 >>>>>>> Fri, 07 May 2010 17:19:39 configuration DEBUG Getting shipping >>>>>>> methods: ['shipping.modules.per'] >>>>>>> Fri, 07 May 2010 17:19:39 payship DEBUG Skipping pay ship, >>>>>>> nothing to select for shipping >>>>>>> Fri, 07 May 2010 17:19:39 configuration DEBUG Getting shipping >>>>>>> methods: ['shipping.modules.per'] >>>>>>> Fri, 07 May 2010 17:19:40 satchmo_store.shop.models DEBUG Order >>>>>>> #4, recalc: sub_total=$27.00, shipping=$4.00, discount=$0.00, tax=$0.00 >>>>>>> Fri, 07 May 2010 17:19:40 payment.modules.base DEBUG Creating >>>>>>> pending GOOGLE payment of 0.00 for Order #4: Brian O'Connor >>>>>>> Fri, 07 May 2010 17:19:40 satchmo_store.shop.models DEBUG Pending >>>>>>> Payment - creating linked payment >>>>>>> Fri, 07 May 2010 17:19:40 satchmo_utils DEBUG No url found for >>>>>>> GOOGLE_satchmo_cart >>>>>>> Fri, 07 May 2010 17:19:40 payment.modules.google.processor DEBUG >>>>>>> CART: >>>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>>> >>>>>>> <checkout-shopping-cart xmlns="http://checkout.google.com/schema/2"> >>>>>>> <shopping-cart> >>>>>>> <merchant-private-data> >>>>>>> <satchmo-order id="4" /> >>>>>>> <satchmo-contact id="4">Brian O'Connor</satchmo-contact> >>>>>>> </merchant-private-data> >>>>>>> <items> >>>>>>> <item> >>>>>>> <item-name>Long sleeve t-shirt (Small/Blue)</item-name> >>>>>>> <item-description></item-description> >>>>>>> <unit-price currency="USD">27</unit-price> >>>>>>> <quantity>1</quantity> >>>>>>> </item> >>>>>>> </items> >>>>>>> </shopping-cart> >>>>>>> <checkout-flow-support> >>>>>>> <merchant-checkout-flow-support> >>>>>>> <edit-cart-url>http://localhost:8000/cart/</edit-cart-url> >>>>>>> <continue-shopping-url> >>>>>>> http://localhost:8000/checkout/google/success/ >>>>>>> </continue-shopping-url> >>>>>>> <shipping-methods> >>>>>>> <flat-rate-shipping name="U.S. Mail"> >>>>>>> <price currency="USD">4</price> >>>>>>> </flat-rate-shipping> >>>>>>> </shipping-methods> >>>>>>> </merchant-checkout-flow-support> >>>>>>> </checkout-flow-support> >>>>>>> </checkout-shopping-cart> >>>>>>> >>>>>>> Fri, 07 May 2010 17:19:40 payment.modules.google.processor DEBUG >>>>>>> Sig is: Yfhb2wmuQrtR16dhB/6WuMrOtKE= >>>>>>> Fri, 07 May 2010 17:19:40 satchmo_store.shop.models DEBUG Order >>>>>>> #4, recalc: sub_total=$27.00, shipping=$4.00, discount=$0.00, tax=$0.00 >>>>>>> >>>>>>> >>>>>>> On Fri, May 7, 2010 at 4:53 PM, Chris Moffitt <[email protected]>wrote: >>>>>>> >>>>>>>> I'm not an expert on the Google Checkout process. Do you see >>>>>>>> anything in your logs? Turn on the verbose logging to make sure it all >>>>>>>> looks >>>>>>>> as you would expect. >>>>>>>> >>>>>>>> In my limited experience with the paypal process, I couldn't test >>>>>>>> the call back process much because my callback url wasn't exposed to >>>>>>>> the >>>>>>>> internet. >>>>>>>> >>>>>>>> Anyone else on the list have experience getting google checkout to >>>>>>>> work correctly? >>>>>>>> >>>>>>>> -Chris >>>>>>>> >>>>>>>> On Fri, May 7, 2010 at 3:47 PM, Brian O'Connor < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> I just set this up with tip of satchmo and it's still doing it. >>>>>>>>> Does it on my localhost set up and on my server too. >>>>>>>>> >>>>>>>>> Anyone have any ideas at all? >>>>>>>>> >>>>>>>>> I need this or PayPal working within this weekend at least so we >>>>>>>>> can start taking orders. PayPal keeps telling me this order has >>>>>>>>> already >>>>>>>>> been paid for... >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, May 6, 2010 at 12:02 PM, Brian O'Connor < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hey guys, >>>>>>>>>> >>>>>>>>>> I'm very close to launchign this store, but I'm hitting a few >>>>>>>>>> roadblocks. Right now I have Google Checkout enabled (the sandbox, >>>>>>>>>> more >>>>>>>>>> specifically). When I go to checkout with my cart, it directs me to >>>>>>>>>> Google, >>>>>>>>>> I pay for my items, and I click the link to go back to my shop. >>>>>>>>>> However, >>>>>>>>>> the cart is not cleared. In addition, the order does not show up as >>>>>>>>>> 'New' >>>>>>>>>> in the admin panel, it just has a status of (None). >>>>>>>>>> >>>>>>>>>> Anyone have any idea why this is happening? When I checkout with >>>>>>>>>> either the purchase order module, or the dummy module, it clears the >>>>>>>>>> cart >>>>>>>>>> and orders show up fine in the admin. >>>>>>>>>> >>>>>>>>>> Thanks in advance! >>>>>>>>>> >>>>>>>>>> Brian >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Brian O'Connor >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Brian O'Connor >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Satchmo users" group. >>>>>>>>> To post to this group, send email to >>>>>>>>> [email protected]. >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected]<satchmo-users%[email protected]> >>>>>>>>> . >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/satchmo-users?hl=en. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Satchmo users" group. >>>>>>>> To post to this group, send email to [email protected] >>>>>>>> . >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected]<satchmo-users%[email protected]> >>>>>>>> . >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/satchmo-users?hl=en. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Brian O'Connor >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Satchmo users" group. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]<satchmo-users%[email protected]> >>>>>>> . >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/satchmo-users?hl=en. >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Satchmo users" group. >>>>>> To post to this group, send email to [email protected]. >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]<satchmo-users%[email protected]> >>>>>> . >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/satchmo-users?hl=en. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Brian O'Connor >>>>> >>>> >>>> >>>> >>>> -- >>>> Brian O'Connor >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Satchmo users" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<satchmo-users%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/satchmo-users?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Satchmo users" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<satchmo-users%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/satchmo-users?hl=en. >>> >> >> >> >> -- >> Brian O'Connor >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Satchmo users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<satchmo-users%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/satchmo-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<satchmo-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > -- Brian O'Connor -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
