RajatShukla / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

Checkout process broken #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add an item to cart (buyable or donation)
2. checkout
3. look at error log/pdb

What is the expected output? What do you see instead?

Attempted a checkout of an item in GetPaid that was “buyable” and one that
was donation (both with test prorcessor). Received same error both times. 

Error en el sitio
Este sitio encontró un error intentando completar su petición. Los errores
fueron:
Tipo de Error 
AttributeError 
Valor del Error 
'module' object has no attribute 'IDonationMarker' 
Petición hecha en 
2007/08/20 22:26:09.058 GMT-3 

wizard checkout-address-info checkout-review-pay

moving to next step checkout-review-pay

{'cur_step': 'checkout-review-pay',

 'form.actions.make-payment': 'Make Payment',

 'form.bill_city': 'Atlanta',

 'form.bill_country': 'US',

 'form.bill_first_line': '130 Boulevard NE #6',

 'form.bill_postal_code': '30312',

 'form.bill_second_line': '',

 'form.bill_state': 'US-GA',

 'form.cc_cvc': '1234',

 'form.cc_expiration': '9809',

 'form.credit_card': '100000000000004',

 'form.credit_card_type': 'Visa',

 'form.credit_card_type-empty-marker': '1',

 'form.name_on_card': 'yo mismo',

 'form.phone_number': '8888888888',

 'form.ship_city': 'Atlanta',

 'form.ship_country': 'US',

 'form.ship_first_line': '130 Boulevard NE, #6',

 'form.ship_postal_code': '30312',

 'form.ship_second_line': '',

 'form.ship_state': 'US-GA'}

wizard checkout-review-pay None

2007-08-20 22:22:29 ERROR Zope.SiteErrorLog
http://localhost:8080/pgp/@@getpaid-checkout-wizard

Traceback (innermost last):

  Module ZPublisher.Publish, line 115, in publish

  Module ZPublisher.mapply, line 88, in mapply

  Module Products.PDBDebugMode.pdbzope.runcall, line 60, in pdb_runcall

  Module ZPublisher.Publish, line 41, in call_object

  Module Products.PloneGetPaid.browser.checkout, line 173, in __call__

  Module Products.PloneGetPaid.browser.checkout, line 282, in update

  Module Products.Five.formlib.formbase, line 54, in update

  Module zope.formlib.form, line 738, in update

  Module zope.formlib.form, line 582, in success

  Module Products.PloneGetPaid.browser.checkout, line 304, in makePayment

  Module Products.PloneGetPaid.browser.checkout, line 360, in createOrder

  Module zope.event, line 23, in notify

  Module zope.app.event.dispatching, line 66, in dispatch

  Module zope.component, line 181, in subscribers

  Module Products.Five.site.localsite, line 136, in subscribers

  Module zope.interface.adapter, line 481, in subscribers

  Module zope.app.event.objectevent, line 192, in objectEventNotify

  Module zope.component, line 181, in subscribers

  Module Products.Five.site.localsite, line 136, in subscribers

  Module zope.interface.adapter, line 481, in subscribers

  Module Products.PloneGetPaid.order, line 21, in classifyOrder

AttributeError: 'module' object has no attribute 'IDonationMarker'

>
/home/cjohnson/software/getpaid/getpaid-wc/getpaid.buildout/develop-products/Plo
neGetPaid/order.py(21)classifyOrder()

-> elif interfaces.IDonationMarker.providedBy( payable ):

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 21 Aug 2007 at 1:53

GoogleCodeExporter commented 9 years ago
fixed by jefroche

Original comment by kapilt@gmail.com on 22 Aug 2007 at 5:18