> 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.
sorry, if there is I do not have it. > > 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 -~----------~----~----~----~------~----~------~--~---