RajatShukla / getpaid

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

Checkout generates error, hangs site #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. on new plone 3 buildout, walked through checkout screen
2. used test visa card
3. when i hit "pay", site hangs, payment doesn't complete. 

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

Um...it should Just Work :) Instead I see: 

2007-11-29 23:44:16 ERROR Zope.SiteErrorLog
http://localhost:8080/rc1/@@getpaid-checkout-wizard
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module Products.PDBDebugMode.pdbzope.runcall, line 60, in pdb_runcall
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.PloneGetPaid.browser.checkout, line 298, in __call__
  Module zope.formlib.form, line 769, in __call__
  Module Products.PloneGetPaid.browser.checkout, line 452, in update
  Module Products.Five.formlib.formbase, line 55, in update
  Module zope.formlib.form, line 736, in update
  Module zope.formlib.form, line 679, in handleSubmit
  Module zope.formlib.form, line 716, in validate
  Module zope.formlib.form, line 340, in getWidgetsData
  Module zope.app.form.browser.widget, line 329, in getInputValue
  Module zope.schema._bootstrapfields, line 138, in validate
  Module getpaid.core.fields, line 42, in _validate
  Module getpaid.core.fields, line 17, in creditCardValid
AttributeError: 'unicode' object has no attribute 'isnumber'
>
/home/cjohnson/software/getpaid/getpaid-wc/getpaid-30.buildout/src/getpaid.core/
src/getpaid/core/fields.py(17)creditCardValid()
-> if not card_number.isnumber():

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 30 Nov 2007 at 4:48

GoogleCodeExporter commented 9 years ago
still broken :(

Original comment by cjj.ifpe...@gmail.com on 1 Dec 2007 at 2:53

GoogleCodeExporter commented 9 years ago
Just verified a fix in Plone 2.5 buildout. 

Though when I ran the instance with this rev, it spits out TONS of errors: 

kupu.i18n-kupuconfig-da.po
2007-12-03 14:27:50 WARNING PlacelessTranslationService Message Catalog has 
errors 
kupu.i18n-kupuconfig-fr.po
2007-12-03 14:27:50 WARNING PlacelessTranslationService Message Catalog has 
errors 
kupu.i18n-kupuconfig-fr.po
2007-12-03 14:27:50 WARNING PlacelessTranslationService Message Catalog has 
errors 
kupu.i18n-kupuconfig-ja.po
2007-12-03 14:27:50 WARNING PlacelessTranslationService Message Catalog has 
errors 
kupu.i18n-kupuconfig-ja.po

not sure what that is about...lots and lots of them though.

Original comment by cjj.ifpe...@gmail.com on 3 Dec 2007 at 7:32