From: xiru <xir...@gm...> - 2005-05-11 16:03:26
|
well... it should work... Look this code (PloneMallOrder/OrderManager.py) # check the shipping method from SESSION if has_shipping: shipping_method =3D session.get('shipping_method', None) if shipping_method is None: raise MissingShippingMethod # check the payment method from SESSION if has_payment: payment_method =3D session.get('payment_method', None) if payment_method is None: raise MissingPaymentMethod The has_shipping and has_payment are flag that should be turned on at AppConfig.py 2005/5/10, Kristofer Buffington <kr...@si...>: > The checkout.py script doesn't seem to throw the MissingShippingMethod > exception. It doesn't throw the MissingTaxMethod either. >=20 > Is there a switch of some sort, perhaps something in the > plonemall_registry that makes checkout throw these exceptions? >=20 > -kb >=20 > -- > S i x F e e t U p | "Nowhere to go but open-source" > Silicon Valley: +1 (650) 401-8579 x605 > Midwest: +1 (317) 861-5948 x605 > Toll-Free: 1-866-SIX-FEET > mailto:kr...@si... > http://www.sixfeetup.com | Zope Hosting from $19.95/month >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > Collective-commerce mailing list > Col...@li... > https://lists.sourceforge.net/lists/listinfo/collective-commerce >=20 --=20 Fabiano Weimar dos Santos Plone Developer and Consultant |