Hi folks,

I've set up my first Satchmo site and things have went extremely
smoothly.  However, I've run across a problem with the authorize.net
payment module's support of ARB.  During checkout, I receive this
exception:

TypeError at /shop/checkout/credit/confirm/
unsupported operand type(s) for +: 'NoneType' and 'int'

I track this down to line 97 of satchmo/payment/modules/authorizenet/
processor.py, in getRecurringChargeData:

            occurrences = sub.recurring_times + trial_occurrences

I have not set recurring_times, as I expected a None value here to
indicate "continue indefinitely until cancelled".  Is this the correct
interpretation of the field's intent?

I should note I'm using the 0.8.1 svn tag, and I notice trunk has a
pretty different looking processor.py.  So I have two questions:
should I just set recurring_times to a large number like '9999' (if
I'm interpreting the field's meaning correctly), or would it be easier
to switch to trunk's payment processor?  I'm probably not in any
position at this point to migrate the entire project over.

Thanks for any assistance,
Dan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to