Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul 11 posts 41 karma points
    Aug 27, 2013 @ 23:04
    Paul
    0

    PayPal Decimal Quantity

    Umbraco 6.1.1 and TeaCommerce 2.1.3.


    Paypal requires the quanity to be an integer which TeaCommerce does for single quanity lines.  However add more than a quantity of 1 and a decimal is posted.  For example the post generated for Paypal might include:


    ...

    <input id="quantity_1" type="hidden" value="2.0000" name="quantity_1">

    <input id="quantity_2" type="hidden" value="1" name="quantity_2">
    ...


    Which Paypal rejects ending the checkout for the user.  Has this been fixed in 2.1.4?  Or is there something I can do in the meantime?

    Cheers

  • Anders Burla 2560 posts 8256 karma points
    Aug 28, 2013 @ 14:12
    Anders Burla
    100

    Hi Paul

    I have fixed it and comittet the code to our open source payment provider project at bit bucket. Go download it. Build it and replace your dll files in your bin folder. It should fix your problem.
    https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft