Ticket #720. I included a patch at the template layer.
On Jan 28, 9:29 am, Chris Moffitt <[email protected]> wrote:
> This is a new change in trunk. We converted to using Decimal because some
> products might not be sold in whole numbers.
>
> It looks like we need to do an int() conversion in the paypal code. It
> should be really simple to do. If you want to put in a ticket and patch that
> would be good.
>
> -Chris
>
> On Wed, Jan 28, 2009 at 7:59 AM, Bernard <[email protected]> wrote:
>
> > Hey Dan,
>
> > what satchmo version are you running?
>
> > python manage.py shell
> > >>> import satchmo
> > >>> satchmo.VERSION
>
> > I use the paypal payment module and never had that error with version
> > 8.1
>
> > On Jan 28, 2:58 am, Dan Harris <[email protected]> wrote:
> > > I was going through the paypal module checkout process and it appears
> > > that it now causes errors due to item quantities being stored as
> > > decimals. The form that posts to paypal looks something like the
> > > following:
>
> > > <input name="item_name_1" value="Classic Hat" type="hidden">
> > > <input name="amount_1" value="26" type="hidden">
> > > <input name="quantity_1" value="1.000000" type="hidden">
>
> > > However, the paypal spec states "The value of quantity_x must be a
> > > positive integer. Null, zero, or negative numbers are not allowed."
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---