Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    553
    Plugin Contributions
    0

    Default Paypal Express with Payflow-UK

    1.5.6c

    https://www.zen-cart.com/showthread....s-checkout-bug

    https://www.zen-cart.com/showthread....84#post1360684

    I can't update my server to php 7+ as this bug still exists.

    I desperately need to upgrade to the latest php and until this is solved I can't.

    Can we please work to solve this problem.

    Please, i've tried to solve it on my own and I desperately need the ZenCart team to help on this one.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,103
    Plugin Contributions
    72

    Default Re: Paypal Express with Payflow-UK

    FWIW, I found this (https://www.paypal.com/us/smarthelp/...-code-4-ts1205) PayPal posting describing the reasons that a result code 4 (Invalid amount) would be returned. It appears that 'Invalid amount' can mean a lot of things (not necessarily due to an amount-related issue)!

  3. #3
    Join Date
    Mar 2009
    Posts
    553
    Plugin Contributions
    0

    Default Re: Paypal Express with Payflow-UK

    The amount being passed contains an invalid character or amount.
    The address contains a period (for example, "Ave." or "Rd.").

    Use only two digits to the right of the decimal point. For example, "137.899" is incorrect. The correct format is "137.89" or "137.90" (if you're rounding up).
    Difference I can see in CURL log is

    The pricing amount values in 1.5.4 are always to 2 decimal places in 1.5.6 they are rounded

    [AMT] => 15.90
    [ITEMAMT] => 12.00
    [SHIPPINGAMT] => 3.90

    [PAYMENTREQUEST_0_AMT] => 15.9
    [PAYMENTREQUEST_0_ITEMAMT] => 12
    [PAYMENTREQUEST_0_SHIPPINGAMT] => 3.9

    What does DrB think? Can someone who talks to DrB ask him to come to this thread please

  4. #4
    Join Date
    Jan 2004
    Posts
    65,292
    Blog Entries
    7
    Plugin Contributions
    228

    Default Re: Paypal Express with Payflow-UK

    Elsewhere you posted:
    Quote Originally Posted by DigitalShadow View Post
    Would like to add to this that I've had the same error.

    Replacing /includes/modules/payment/paypalwpp.php from v1.5.4-12302014 fixed issue on v1.5.6c-07162019

    The file from v1.5.5-03172016 onwards has the problem
    If replacing the 1.5.4 file with the 1.5.6 file works, then what's the goal regarding 1.5.5?

    DigitalShadow]1.5.6c
    ...
    I can't update my server to php 7+ as this bug still exists.
    I'm not sure I understand why you can't upgrade your PHP. I'm guessing you're thinking this "invalid amount" error is caused by PHP 7?
    But, then you said it's fixed on 1.5.6c. And you said you're using 1.5.6c.
    .

    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.

  5. #5
    Join Date
    Mar 2009
    Posts
    553
    Plugin Contributions
    0

    Default Re: Paypal Express with Payflow-UK

    I am running zen-cart 1.5.6c apart from the paypal files which I've pulled from 1.5.4.

    The paypal files from 1.5.5 onwards do not work with paypal/payflow UK (regardless of php version) I mentioned this as there is a clear change in the way the paypal code is written from 1.5.4 to 1.5.5.

    The paypal files from 1.5.4 do work with payflow uk, but do not work with php 7

    So as the 1.5.4 paypal files do not work with php7+ I have to run the site in php 5.6 to ensure the paypal files from 1.5.4 work even though the rest of my website is running zen 1.5.6c
    Last edited by DigitalShadow; 25 Nov 2019 at 02:35 PM.

  6. #6
    Join Date
    Mar 2009
    Posts
    553
    Plugin Contributions
    0

    Default Re: Paypal Express with Payflow-UK

    I've replied DrB, I think you mis-understand the issue, please reply back.

    1.5.5 onwards is broken for payflow UK

    I am using 1.5.4 paypal files to make 1.5.6c work

    so can't use php 7> as 1.5.4 code doesn't work with php 7

    please help

  7. #7
    Join Date
    Mar 2009
    Posts
    553
    Plugin Contributions
    0

    Default Re: Paypal Express with Payflow-UK

    still broken DrB

 

 

Similar Threads

  1. v154 Does Paypal Payflow Gateway (Paypal Payflow Pro) work with 1.5.4?
    By mumzie in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 16 Jul 2015, 06:59 PM
  2. PayPal Express Checkout (Pro 2.0 Payflow Edition) (UK) - NOSTATE
    By JSWeb in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 30 Jun 2010, 06:51 PM
  3. Payflow Pro URL Change - Paypal Express - Zen 1.3.7.1
    By DogTags in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 13 Aug 2009, 08:45 PM
  4. PayPal Express Checkout (Pro 2.0 Payflow Edition) (UK) NOT CONFIGURED YET
    By meknownowt in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 5 Jul 2008, 03:26 AM
  5. Login Page Issue with Payflow and Paypal Express
    By rechargebaskets in forum Addon Payment Modules
    Replies: 4
    Last Post: 29 Oct 2007, 05:10 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