Hey there Brandon I was busy going through your email, and following all the steps when suddenly I got an error. Below is where I was, and in red I posted the traceback.
2009/10/30 Brandon Craig Rhodes <[email protected]> > > Verify that buttons now appear and disappear > -------------------------------------------- > > After following the instructions above, and with your Plone instance > running, you are ready to check out the new features of my branch. It > is designed to allow multiple off-site payment processors to live > happily together on the screen at the same time, and also to allow > on-site payment processing to be an option that can be turned on or off. > Here is how to try out my new features: > > * Visit your shopping cart at: > > http://localhost:8080/Plone/@@getpaid-cart > > The cart should have a single checkout button, beneath the "Continue > Shopping" button, and it should be labeled "Checkout". Try clicking > on it; it should send you to the first page of the built-in checkout > process. > > * The first feature of my branch that you should try out is that onsite > checkout can now be enabled or disabled, separately from the offsite > payment options. To see this, visit: > > http://localhost:8080/Plone/@@manage-getpaid-payment-options > > and un-check the "Activate On-site Payment" button and click "apply". > Now return to and re-load your shopping cart page. You should note > that no "Checkout" button now appears. > > * The next feature you should try out is the fact that off-site payment > buttons can be made to appear. Return to the payment options screen > and move "Google Checkout" into the right column and press "Apply". > Re-load your cart and you should now see a Google Checkout button > appear. Now return to the payment options screen and add the "PayPal" > processor to the list on the right as well; now, your cart should show > two checkout buttons. > > And this is where I hit a wall :/ > > Traceback (innermost last): > Module ZPublisher.Publish, line 119, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 42, in call_object > Module Products.PloneGetPaid.browser.cart, line 47, in __call__ > Module Products.Five.browser.metaconfigure, line 417, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 891, in do_useMacro > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 891, in do_useMacro > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 949, in do_defineSlot > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 949, in do_defineSlot > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 534, in do_optTag_tal > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal > Module Products.PageTemplates.Expressions, line 221, in evaluateStructure > Module zope.tales.tales, line 696, in evaluate > - URL: index > - Line 6, Column 1 > - Expression: <PathExpr standard:'view/manager/render'> > - Names: > {'container': <PloneSite at /Plone>, > 'context': <PloneSite at /Plone>, > 'default': <object object at 0xb7cab528>, > 'here': <PloneSite at /Plone>, > 'loop': {}, > 'nothing': None, > 'options': {'args': (<Products.Five.metaclass.SimpleViewClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/cart-manage.pt > object at 0xd2f23ec>,)}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xd2f2bac>, > 'request': <HTTPRequest, > URL=http://localhost:8080/Plone/@@getpaid-cart>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xd2f27cc>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <Products.Five.metaclass.SimpleViewClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/cart-manage.pt > object at 0xd2f23ec>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object > at 0xd2f2fcc>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 161, in _eval > Module Products.PageTemplates.Expressions, line 123, in render > Module zope.viewlet.manager, line 110, in render > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 824, in do_loop_tal > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 534, in do_optTag_tal > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal > Module Products.PageTemplates.Expressions, line 221, in evaluateStructure > Module zope.tales.tales, line 696, in evaluate > - URL: viewlet-manager > - Line 4, Column 5 > - Expression: <PathExpr standard:'viewlet/render'> > - Names: > {'container': <PloneSite at /Plone>, > 'context': <PloneSite at /Plone>, > 'default': <object object at 0xb7cab528>, > 'here': <PloneSite at /Plone>, > 'loop': {'viewlet': <Products.PageTemplates.Expressions.PathIterator > object at 0xd3102cc>}, > 'nothing': None, > 'options': {'args': (), > 'viewlets': > [<Products.Five.viewlet.viewlet.SimpleViewletClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/cart-listing.pt > object at 0xd2f26ec>, > > <Products.Five.viewlet.viewlet.SimpleViewletClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/cart-actions.pt > object at 0xd2f29ec>]}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xd2e6cec>, > 'request': <HTTPRequest, > URL=http://localhost:8080/Plone/@@getpaid-cart>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xd2f4a2c>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <UnauthorizedBinding: context>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object > at 0xd2e696c>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 161, in _eval > Module Products.PageTemplates.Expressions, line 123, in render > Module Products.PloneGetPaid.browser.cart, line 290, in render > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 855, in do_condition > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 534, in do_optTag_tal > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal > Module Products.PageTemplates.Expressions, line 221, in evaluateStructure > Module zope.tales.tales, line 696, in evaluate > - URL: cart-actions > - Line 30, Column 2 > - Expression: <PathExpr standard:'context/@@getpaid-checkout-buttons'> > - Names: > {'container': <PloneSite at /Plone>, > 'context': <PloneSite at /Plone>, > 'default': <object object at 0xb7cab528>, > 'here': <PloneSite at /Plone>, > 'loop': {}, > 'nothing': None, > 'options': {'args': ()}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xd31066c>, > 'request': <HTTPRequest, > URL=http://localhost:8080/Plone/@@getpaid-cart>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xd310e6c>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <Products.Five.viewlet.viewlet.SimpleViewletClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/cart-actions.pt > object at 0xd2f29ec>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object > at 0xd310e0c>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 161, in _eval > Module Products.PageTemplates.Expressions, line 123, in render > Module Products.PloneGetPaid.browser.checkout_buttons, line 62, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 824, in do_loop_tal > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 534, in do_optTag_tal > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal > Module Products.PageTemplates.Expressions, line 221, in evaluateStructure > Module zope.tales.tales, line 696, in evaluate > - URL: index > - Line 9, Column 2 > - Expression: <PathExpr standard:'offsite_button'> > - Names: > {'container': <PloneSite at /Plone>, > 'context': <PloneSite at /Plone>, > 'default': <object object at 0xb7cab528>, > 'here': <PloneSite at /Plone>, > 'loop': {'offsite_button': > <Products.PageTemplates.Expressions.PathIterator object at 0xd3150ec>}, > 'nothing': None, > 'options': {'args': ()}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xd31022c>, > 'request': <HTTPRequest, > URL=http://localhost:8080/Plone/@@getpaid-cart>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xd31042c>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <Products.Five.metaclass.SimpleViewClass from > /home/hannes/zopes/getpaid/no-overrides/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/checkout-buttons.pt > object at 0xd31012c>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object > at 0xd310c6c>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 161, in _eval > Module Products.PageTemplates.Expressions, line 123, in render > Module Products.Five.browser.metaconfigure, line 417, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 408, in do_startTag > Module zope.tal.talinterpreter, line 485, in attrAction_tal > Module Products.PageTemplates.Expressions, line 228, in evaluateText > Module zope.tales.tales, line 696, in evaluate > - URL: index > - Line 1, Column 0 > - Expression: <PathExpr standard:'view/action_url'> > - Names: > {'container': <getpaid.paypal.paypal.PayPalStandardProcessor object at > 0xd310b8c>, > 'context': <getpaid.paypal.paypal.PayPalStandardProcessor object at > 0xd310b8c>, > 'default': <object object at 0xb7cab528>, > 'here': <getpaid.paypal.paypal.PayPalStandardProcessor object at > 0xd310b8c>, > 'loop': {}, > 'nothing': None, > 'options': {'args': (<Products.Five.metaclass.SimpleViewClass from > /home/hannes/zopes/getpaid/no-overrides/src/getpaid.paypal/src/getpaid/paypal/templates/paypal-checkout-button.pt > object at 0xd310c2c>,)}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xd312fac>, > 'request': <HTTPRequest, > URL=http://localhost:8080/Plone/@@getpaid-cart>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xd3123ec>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <Products.Five.metaclass.SimpleViewClass from > /home/hannes/zopes/getpaid/no-overrides/src/getpaid.paypal/src/getpaid/paypal/templates/paypal-checkout-button.pt > object at 0xd310c2c>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object > at 0xd31296c>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 161, in _eval > Module Products.PageTemplates.Expressions, line 123, in render > Module getpaid.paypal.views, line 18, in action_url > Module getpaid.paypal.paypal, line 22, in server_url > KeyError > > > > Now return to the payment options and turn the > "Activate On-site Payment" check box back on; your cart should now > show all three buttons for the user to choose from. > > -- > Brandon Craig Rhodes [email protected] > http://rhodesmill.org/brandon > > > > --~--~---------~--~----~------------~-------~--~----~ GetPaid for Plone: http://www.plonegetpaid.com (overview info) | http://code.google.com/p/getpaid (code and issue tracker) You received this message because you are subscribed to the Google Groups "getpaid-dev" 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/getpaid-dev?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
