Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    2
    Plugin Contributions
    0

    Default Stumped on curl, paypal express invalid transaction error

    I continue to get "Return to Merchant This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow." ZenCart is an excellent web cart but extremely frustrating using one's own web server, especially for me-with limited programming experience, and a little more system admin experience than that. I would go to a recommended host but require keeping it in-house because of a local archive that the store is used for. Would also use one of the xxamp versions but I have not been weened off of the OSX gui and one of the xxamp versions does not work on the PPC system being used.

    The cart and site are running on a Mac OSX Server, ver 10.4.10, PHP 4.4.7, Zen Cart 1.3.7.1, MySQL 4.1.22. The settings on my paypal account to enable Paypal Express was added and is correct, and the account is a business and verified. Port 443 is enabled for both incoming and outgoing traffic on the router.

    The curl library was rebuilt from scratch and it installed fine-
    (curl 7.16.4 (powerpc-apple-darwin8.10.1) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: IPv6 Largefile NTLM SSL libz)

    however when PHP is rebuilt with the 'new' curl library ZenCart admin does not show the library as being ssl-enabled-
    (curl
    CURL support enabled
    CURL Information libcurl/7.16.4 zlib/1.2.3)

    The logfile generated from the Paypal Express error displays-

    2007-10-08 05:23:16
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    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: {SetExpressCheckout}
    Array
    (
    [LOCALECODE] => US
    [PAYMENTACTION] => Sale
    [REQCONFIRMSHIPPING] => 1
    [AMT] => 0.01
    [RETURNURL] =>
    https://website:443/zccatalog/ipn_ma...er.php?type=ec
    [CANCELURL] =>
    https://website:443/zccatalog/index....in&ec_cancel=1
    [PAGESTYLE] => Primary
    [METHOD] => SetExpressCheckout
    [CURRENCYCODE] => USD
    [USER] => mikeah21_api1.yahoo.com
    [PWD] => ****************
    [VERSION] => 2.3
    [SIGNATURE] =>
    ****************************************************9.di
    )


    Response:
    Array
    (
    [] =>
    [CURL_ERRORS] => (1) libcurl was built with SSL disabled, https:
    not
    supported!
    )

    (1) libcurl was built with SSL disabled, https: not supported!
    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0
    [namelookup_time] => 0
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
    )

    ipn_mail_handler.php from the website displays

    Nothing to process. Please return to home page.
    Warning: (null)() [function.mysql-free-result]: 2 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0

    ipncheck.php from the website displays

    IPNCHECK.PHP - Version 1.0

    IPN TESTING - POSTING to PayPal via: ssl://www.paypal.com:443

    IPN TESTING - Confirmation/Validation response: RESPONSE RECEIVED - Communications OKAY


    Script finished.

    I do not believe the problem is with ZenCart. configure and make for PHP have warning messages but that does not stop the build from completing and installing PHP, though I am clueless as to what impact those warnings may have on PHP, curl or openssl being functional. I am stumped and need help! HELP!
    Last edited by micamac; 9 Oct 2007 at 03:52 AM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stumped on curl, paypal express invalid transaction error

    Quote Originally Posted by micamac View Post
    ipncheck.php from the website displays

    IPNCHECK.PHP - Version 1.0

    IPN TESTING - POSTING to PayPal via: ssl://www.paypal.com:443

    IPN TESTING - Confirmation/Validation response: RESPONSE RECEIVED - Communications OKAY


    Script finished.
    This means that OpenSSL works for the fsockopen communications, which is important in order to receive transaction updates from PayPal.

    Quote Originally Posted by micamac View Post
    The curl library was rebuilt from scratch and it installed fine-
    (curl 7.16.4 (powerpc-apple-darwin8.10.1) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: IPv6 Largefile NTLM SSL libz)

    however when PHP is rebuilt with the 'new' curl library ZenCart admin does not show the library as being ssl-enabled-
    (curl
    CURL support enabled
    CURL Information libcurl/7.16.4 zlib/1.2.3)

    The logfile generated from the Paypal Express error displays-

    [CURL_ERRORS] => (1) libcurl was built with SSL disabled, https: not supported!
    This means that somehow the libcurl library you're compiling into PHP isn't OpenSSL-aware or maybe is incompatible with something else at compile-time.


    You're right that this isn't a Zen Cart issue. Zen Cart and PayPal are only exposing a problem.
    You might find more information about running your own self-hosted webserver on forums dedicated to that kind of topic, such as webhostingtalk.com
    .

    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. PayPal Error (Invalid transaction id value) 10011
    By alray10 in forum Addon Payment Modules
    Replies: 1
    Last Post: 28 Jan 2013, 10:48 PM
  2. PayPal Error: 10413 Transaction refused because of an invalid argument
    By lesbray in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 5 Nov 2010, 04:46 PM
  3. 10413 Transaction refused because of an invalid argument - with Paypal express
    By Darkpatate in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 17 Jul 2009, 04:20 PM
  4. Help please 'This transaction is invalid' on paypal express checkout
    By trev82 in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 10 Dec 2007, 03:50 PM
  5. This transaction is invalid - Paypal express
    By n350zz in forum PayPal Express Checkout support
    Replies: 48
    Last Post: 11 Sep 2007, 05:43 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