Thanks, Massimo. Very encouraging to have a kind response from you.
Looking closely, I noticed I overlooked the error messages "too small or too large!" under the boxes for Ship Fedex *bc. Initially these boxes were empty. When I put 0.0 into these boxes at http://127.0.0.1:8000/eStore/manage/setup, I got a happy flash message "that was easy! now go vist your store." :-) I still haven't figured out why the boxes for Ship Fedex *bc were initially empty while store.py in models specified 0 as default, but am happy to see that the appliance is working without errors now. Google checkout is a good choice, but its offer for sellers seems not to be available in Japan yet. I look forward to using it in Japan sometime later. Meanwhile, I plan to customize the codes for other checkout routines. Is there such codes in Python/web2py already available somewhere, like PayPal's? I will appreciate information or pointers with regard to codes for checkout. Cheers, Teru On 6月1日, 午前5:51, mdipierro <mdipie...@cs.depaul.edu> wrote: > 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 -~----------~----~----~----~------~----~------~--~---