Did you fill in your merchant ID, Key and Test ID? You'll need to get those from Google first.
-Chris On Mon, Nov 30, 2009 at 5:03 PM, Ollie Petch <[email protected]> wrote: > Sorry I know this is probably a really basic question but i'm new to > satchmo and django for that matter, but i'm trying to set up my store > to use google checkout as a payment processor. So far I have done the > following: > > * enabled the module by adding 'payment.modules.google' under > INSTALLED_APPS in settings.py > * from the settings page; selected just 'Google Checkout Module' under > 'Enable payment modules' > * and set my Google Checkout settings to : > Accept real payments - Flase > Checkout Button Size - Medium > Checkout Button URL - http://checkout.google.com/buttons/check > out.gif <http://checkout.google.com/buttons/check%0Aout.gif> > Currency Code - GBP > Merchant ID - "" > Merchant Key - "" > Merchant Test ID - "" > Default value: "" > Merchant Test Key - "" > Post URL(real) - https://checkout.google.com/api/checkout /v2/ > checkout/Merchant/%(MERCHANT_ID)s > Post URL (test) - https://sandbox.google.com/checkout/api/ checkout/ > v2/checkout/Merchant/%(MERCHANT_ID)s > The url base used for constructing urlpatterns which will use this > module - ^google/ > Use SSL for the module checkout pages? - False > Verbose logs - False > XML Template - shop/checkout/google/cart.xml > > When I click 'checkout' and then 'continue checkout' I get the > following: > > TypeError at /checkout/google/confirm/ > > character mapping must return integer, None or unicode > > Request Method: GET > Request URL: http://localhost:8000/checkout/google/confirm/ > Exception Type: TypeError > Exception Value: > > character mapping must return integer, None or unicode > > Exception Location: /usr/lib/python2.6/hmac.py in __init__, line 72 > Python Executable: /usr/bin/python > Python Version: 2.6.2 > Python Path: ['/home/ollie/workspace/SatchmoSite/src/projects/ > simple', '/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11- > py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Reportlab-2.1.0001- > py2.5.egg', '/usr/local/lib/python2.6/dist-packages/TRML2PDF-1.0- > py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ > django_registration-0.7-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/PyYAML-3.09-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/ > dist-packages/django_threaded_multihost-1.3_2-py2.6.egg', '/usr/local/ > lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/docutils-0.6-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/Jinja2-2.2.1-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/Pygments-1.1.1-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/Satchmo-1.0_pre-py2.6.egg', '/usr/lib/ > python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- > tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ > usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ > PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python- > support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/ > lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist- > packages', '../../apps', ''] > Server time: Mon, 30 Nov 2009 15:02:34 -0800 > > -- > > 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]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
