Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    41
    Plugin Contributions
    1

    Default Re: Paypal express not working

    K, I'm going to upload this to my live server and see if I'm missing something. I havent made any code changes yet so if I fail I will reinstall all DB data and try rerunning the site to see what happens

  2. #2
    Join Date
    Jan 2007
    Posts
    41
    Plugin Contributions
    1

    Default Re: Paypal express not working

    Ok think I'm getting somewhere now! Log file shows this:
    Request Headers: array (
    0 => 'Content-Type: text/namevalue',
    1 => 'X-VPS-Timeout: 45',
    2 => 'X-VPS-VIT-Client-Type: PHP/cURL',
    3 => 'X-VPS-VIT-Integration-Product: PHP::Zen Cart WPP-NVP',
    4 => 'X-VPS-VIT-Integration-Version: 0.1',
    )

    Request Parameters: array (
    'LOCALECODE' => 'US',
    'PAYMENTACTION' => 'Sale',
    'AMT' => '0.00',
    'RETURNURL' => 'http://gelli.homedns.org/zencart/ipn_main_handler.php?type=ec',
    'CANCELURL' => 'http://gelli.homedns.org/zencart/index.php?main_page=login&ec_cancel=1',
    'PAGESTYLE' => 'Primary',
    'METHOD' => 'SetExpressCheckout',
    'CURRENCYCODE' => 'GBP',
    'USER' => 'sales_api1.starchsupplies.co.uk',
    'PWD' => '****************',
    'VERSION' => '2.3',
    'SIGNATURE' => '****************************************************.8tY',
    )

    Response: array (
    'TIMESTAMP' => '2007-01-06T13:04:13Z',
    'CORRELATIONID' => '5b4af68412fe4',
    'ACK' => 'Failure',
    'L_ERRORCODE0' => '10426',
    'L_SHORTMESSAGE0' => 'Transaction refused because of an invalid argument. See additional error messages for details.',
    'L_LONGMESSAGE0' => 'Order total is invalid.',
    'L_SEVERITYCODE0' => 'Error',
    'VERSION' => '2.300000',
    'BUILD' => '1.0006',
    )

    SetExpressCheckout, Elapsed: 1648ms; Failure
    Error is Order Total is Invalid, I'm going to work on that, create a standard zencart account and work through the old pages to figure out where its slipping up.

  3. #3
    Join Date
    Jan 2007
    Posts
    41
    Plugin Contributions
    1

    Default Re: Paypal express not working

    K, Figured it out, rather stupidly I hadnt attached a price to the test product I was using. Put a price in, setup flat rate shipping and added the Testing version of the new PaypalWPP file because of ot_tax issues and seems to work well, except I have another problem now!! I'm going to create a new post for that though!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal express not working

    What's even more strange is that if the cart contents "total" is $0, the Express Checkout button isn't supposed to be shown at all.

    From which page were you clicking on the Express Checkout button? Was it the Shopping Cart page or the Login page ?


    Probably can fix it by editing /includes/modules/payment/paypal/tpl_ec_button.php
    line 12 should read:
    Code:
    if ($ec_enabled && ($_SESSION['cart']->count_contents() > 0 && $_SESSION['cart']->total > 0)) {
    and similarly in /includes/modules/pages/login/header_php.php
    line 121:
    Code:
    $ec_button_enabled = ($paypalec_enabled && ($_SESSION['cart']->count_contents() > 0 && $_SESSION['cart']->total > 0));
    .

    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
    Jan 2007
    Posts
    41
    Plugin Contributions
    1

    Default Re: Paypal express not working (Error 10426)

    Yeah I was primarily using the shopping cart logo. I'll give that method a try shortly

  6. #6
    Join Date
    Jan 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Paypal express not working

    Quote Originally Posted by leighbee View Post
    Ok think I'm getting somewhere now! Log file shows this:


    Error is Order Total is Invalid, I'm going to work on that, create a standard zencart account and work through the old pages to figure out where its slipping up.
    Thanks Leighbee for looking into this. I still have no idea what is wrong with my paypal express module. I also have spoke to someone that is having the same issue and we believe it may be the host 1&1. Still not sure on that issue but we are looking into it. Anyone else using 1&1 and having this issue?

    That is the exact same message that I keep getting in my debug log. I hope you get it figured out and please let me know if you do.

  7. #7
    Join Date
    Jan 2007
    Posts
    41
    Plugin Contributions
    1

    Default Re: Paypal express not working

    Quote Originally Posted by aharper78 View Post
    Thanks Leighbee for looking into this. I still have no idea what is wrong with my paypal express module. I also have spoke to someone that is having the same issue and we believe it may be the host 1&1. Still not sure on that issue but we are looking into it. Anyone else using 1&1 and having this issue?

    That is the exact same message that I keep getting in my debug log. I hope you get it figured out and please let me know if you do.
    Hi Harper,

    Yeah it was a combination of things, firstly make sure you can use standard shopping cart. This will highlight any configuration problems (such as total price coming up as zero). That will stop the bug report reported here.

    You may wish to take a look over at http://www.zen-cart.com/forum/showthread.php?t=55143 where there are a few other niggles that have popped up, plus a fixed module file. However you will still need to fix the DB bug manually. Applying the fix on that thread will allow you to sit on a level playing field.


    Hope that helps

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal express not working (Error 10426)

    Note: the db bug is automatically fixed by using the new module attached yesterday in the thread you mentioned.
    .

    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.

 

 

Similar Threads

  1. v154 PayPal Express Error 10426
    By twiddletails in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 3 Nov 2015, 05:32 PM
  2. My Paypal IPN and Express NOT WORKING after Paypal Expansion
    By styledata in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 29 Sep 2011, 02:11 AM
  3. Paypal Express not working HELP! Error logs
    By Muzz in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 12 Nov 2009, 02:28 AM
  4. PayPal Express Checkout Errors 10401, 11059, 10426 with JPY
    By _prd_ in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 6 Oct 2008, 10:51 PM
  5. Paypal express not working any different than normal paypal
    By astrocreep13 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 5 Feb 2007, 10:46 PM

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