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

    Default Paypal supports negative amounts as line items now

    Hooray!

    https://cms.paypal.com/us/cgi-bin/?c..._ECCustomizing

    (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
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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
    Posts
    2
    Plugin Contributions
    1

    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. send order amount and shipping as separate line items to PayPal?
    By hockey2112 in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 14 Jun 2012, 11:31 PM
  2. line items re: shipping vs. PayPal
    By Servelan in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 12 Sep 2011, 03:00 AM
  3. Get Line items in Paypal?
    By kylex in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 25 Mar 2010, 04:08 PM
  4. 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
  5. 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

Bookmarks

Posting Permissions

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