That will prevent users from buying but should not cause the problem you mention.
Try replace def setup(): response.view='manage/setup.html' form=SQLFORM(store.info,mystore) if form.accepts(request.vars,session): response.flash='that was easy! now go vist your store.' else: response.flash='welcome to the store setup' return dict(form=form) with def setup(): response.view='manage/setup.html' form=SQLFORM(store.info,mystore) if form.accepts(request.vars,session): response.flash='that was easy! now go vist your store.' else: print form.errors response.flash='welcome to the store setup' return dict(form=form) And let me know what it prints. On May 31, 12:20 pm, suiato <homm...@gmail.com> wrote: > I have run an appliance eStore, and it works fine except that I cannot > set parameters under Merchant ID athttp://localhost:8000/eStore/manage/setup > because the condition form.accepts(request.vars,session) in setup() is > false. Is it because I don't have an official Merchant ID? > > I am yet to learn debugging in Python/web2py, and will appreciate an > advice on the issue. > > --- > Teru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---