Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2006
    Location
    Bangkok, Thailand (from Edinburgh, Scotland)
    Posts
    22
    Plugin Contributions
    0

    Default [Done v1.3.9] Website payments pro total amounts bug

    G'day,

    My brother has been having a problem with ZenCart using PayPal Website Payments Pro. The issue is that ZenCart was passing a series of values which did not add up to the order total. This was only on sites which were displaying prices including tax.

    A fix, albeit a fairly hacky fix, is attached.

    Hopefully this will help some other people with the same problem.

    Update: To apply this patch without using the patch command, follow these steps:
    1) Backup your files, database, and everything else that matters
    2) Make a copy of includes/modules/payment/paypalwpp.php and call it includes/modules/payment/paypalwpp.php.orig
    3) Edit the file includes/modules/payment/paypalwpp.php
    at line 1446 add this code:
    if (DISPLAY_PRICE_WITH_TAX == true)
    $optionsST['ITEMAMT'] -= $optionsST['TAXAMT'];
    I've included a copy of just this code in the attached file, I recommend copying & pasting it from there, so the indentation is correct.
    4) Save the file, enjoy :)
    Attached Files Attached Files
    Last edited by chmac; 15 May 2008 at 09:36 AM. Reason: Added note about indentation
    Cheers - Callum.

  2. #2
    Join Date
    Apr 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Website payments pro total amounts bug

    IT WORKS FINE !
    Thanks a lot from Italy...

    Thanks, thanks, thanks !

  3. #3
    Join Date
    Oct 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    This hack let me display prices with taxes and have PayPal Express checkout work correctly.

    But I had to set TAX rates to NONE on shipping on the shipping module, otherwise it will not work and PayPal will reject paiement.

    MODULE --> SHIPPING --> Choose the shipping module --> EDIT --> Tax Rate = NONE !!!


    This is a problem for Shipping modules which send prices without Taxes (VAT excluded), like UPS...

  4. #4
    Join Date
    Oct 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    So, now, does anyone have a final solution for this problem. I crawled trough many posts for hours and nobody seems to know how to solve this on zencart.

    We already have missed some sales due to this.

    Please help !

  5. #5
    Join Date
    Feb 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    Hi,
    What do we need to change in paypal express to make it work? Sorry!

  6. #6
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    We have shipping taxes set to VAT, the same as all of our products, and this fix works perfectly.

  7. #7
    Join Date
    Dec 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    thanks a million, it solved the problem for me!!

  8. #8
    Join Date
    Jan 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    I've applied the patch but I still have this problem:

    my configuration:

    Cifre decimali delle Tasse(decimals in taxes) 0 Info
    Mostra i Prezzi con Tasse(show prices with taxes) incluse true Info
    Mostra i Prezzi con Tasse incluse in Admin (show prices with taxes in admin) true Info
    Calcolo Tasse Prodotti basato su Store (tax calcolation store based) Info
    Calcolo Tasse Spedizione basato su Store (shipping tax calculation store based) Info
    Visualizzazione Tasse di Vendita (show selling taxes) 0

    Can you help me?

    zen cart 1.3.8a italian.

  9. #9
    Join Date
    May 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    Works with me!

  10. #10
    Join Date
    Jun 2004
    Posts
    25
    Plugin Contributions
    0

    Default Re: [Done v1.4.0] Website payments pro total amounts bug

    Hi chmac.

    Will this patch work with PayPal Express?, it appears to be the same problem with miss matched amounts?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 8
    Last Post: 8 Sep 2010, 06:41 PM
  2. Website Payments pro accept international payments?
    By psr racing in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 10 Nov 2009, 03:37 PM
  3. Is PayFlow Pro the same as PayPal Website Payments Pro?
    By alicia1234 in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 30 Jan 2009, 10:28 PM
  4. [Done v1.3.9] Solo cards with Website Payments pro
    By flobster in forum Bug Reports
    Replies: 16
    Last Post: 18 Jun 2008, 01:12 PM
  5. Website Payments Pro
    By Zinfandel in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 1 May 2008, 05:00 PM

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