Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Plugin Contributions

    Default Paypal supports negative amounts as line items now


    (4) – Item unit price. This field specifies exactly how much one unit of the item costs. It can be a positive or negative value but not zero.

    L_AMTn - Amount - Item unit price. PayPal calculates the product of the item unit price and item unit quantity (below) in the Amount column of the PayPal Review page, as shown in PayPal Review Page With Order Details. The item unit price can be a positive or a negative value but not 0. You may provide a negative value to reflect a discount on an order, for example.

    The problem I am having with Express Checkout in Zencart 1.3.7 with the June 17 patch is discount coupons. If the three checkout steps are done first with a discount code then Paypal does not show line items and also shows the incorrect total (without the discount). It still works and charges the discounted total in the end, but customers are confused and are not finishing orders because they think it's broke.

    Just curious if someone more qualified like DrByte and familiar with the code would be able to figure out or help me with code to add discounts as a line item now that Paypal supports it?

  2. #2
    Join Date
    Jan 2004
    Blog Entries
    Plugin Contributions

    Default Re: Paypal supports negative amounts as line items now

    There is no further development happening on v1.3.7 or v1.3.8. Only security patches will be released for those versions, if necessary.

    The "negative amounts as line items" functionality has been in testing with mixed results (some good, some bad) for the v2.0.0 release. It is uncertain to what degree it will be implemented in the final 2.0.0 product. Final determination will be a result of internal testing and beta testing.

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2008
    Plugin Contributions

    Default Re: Paypal supports negative amounts as line items now

    Thanks DrByte, as always it's amazing how fast you respond.

    Guess I will just try to fix this bug on my own.



Similar Threads

  1. Error: The totals of the cart item amounts do not match order amounts.
    By werefish in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 20 Dec 2010, 09:56 AM
  2. Different shipping amounts for different items?
    By brucehere in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 26 May 2008, 02:34 PM
  3. Maximum number of items zen cart supports
    By ryudice in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 May 2008, 02:05 PM
  4. According to Paypal Zen Cart supports Website Payments Pro?
    By agsjim in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 15 Nov 2007, 02:59 AM
  5. Limit amounts of items customer can pick
    By mattlowe01 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Aug 2006, 12:18 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR