Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2008
    Location
    St. Petersburg, Florida
    Posts
    5
    Plugin Contributions
    0

    Default CURL Test Fails Linkpoint Test

    Aloha from sunny Florida!

    My normal CURLTEST.php comes back "good." But, I ran my curltest.php to test linkpoint (.../extras/curltest.php?linkpoint=1), and got back the following error:

    Code:
    Array
    (
        [url] => "https://secure.linkpt.net:1129/LSGSXML"
        [http_code] => 200
        [header_size] => 40
        [request_size] => 175
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0.533742
        [namelookup_time] => 0.189605
        [connect_time] => 0.234021
        [pretransfer_time] => 0.485921
        [size_upload] => 37
        [size_download] => 280
        [speed_download] => 524
        [speed_upload] => 69
        [download_content_length] => 280
        [upload_content_length] => 0
        [starttransfer_time] => 0.533522
        [redirect_time] => 0
    )
    
    Malformed or unrecognized request. EOF
    I have scanned port 1129 and it is open. What dost mine error meaneth?

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

    Default Re: CURL Test Fails Linkpoint Test

    That is normal. The fact that you got a response back from Linkpoint means that your server can talk to the Linkpoint server properly.

    The attempt to contact the Linkpoint server only sends a request to verify that the server can respond. It doesn't contain any valid transaction data, thus the error message you see reported about Malformed request.
    .

    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
    Nov 2008
    Location
    St. Petersburg, Florida
    Posts
    5
    Plugin Contributions
    0

    Default Re: CURL Test Fails Linkpoint Test

    Hmm, i see. Well then i guess my issue is not what i originally thought:
    I am getting the dreaded "We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization" message after clicking "confirm" during checkout. I have double-checked everything that you said in the thread http://www.zen-cart.com/forum/showthread.php?t=62108, and i have run out of ideas!

    My info:
    I have Zen Cart 1.3.8a
    I'm on BlueHost, have a dedicated IP address and SSL
    Port 1129 says "open" when scanned (It took a lot to get it opened through Bluehost!)
    The curltest.php comes back "good"
    My .pem file is in the right place, and i have entered the account number into the Linkpoint module

    When i access my .pem file through my full URL in HTTP, i get a "403 Forbidden" on port 80
    When i access my .pem file through my full URL in HTTPS, i get a "403 Forbidden" on port 443


    Thank you for responding so quickly!

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CURL Test Fails Linkpoint Test

    Problem doesn't seem to be with Zen Cart.

    I would suggest you contact LinkPoint and your Hoster, and in that order.
    One of them should be able to help sort this out.

  5. #5
    Join Date
    Nov 2008
    Location
    St. Petersburg, Florida
    Posts
    5
    Plugin Contributions
    0

    Default Unable to contact the Credit Card company

    I'm stuck in this never-ending loop. I contacted LinkPoint, and they said the only issue they could find is they thought port 1129 wasn't open. I rescanned my port and found it to be closed! (After i had opened it through a script BlueHost provided me with)

    BlueHost said they see the port is open, and that all ports are open with a dedicated IP account. I telnetted to my server on port 1129 and it comes back with "Could not open connection to the host, on port 1129: Connect failed."

    I re-ran the perl script in the SSH shell, and telnet now repeatedly says "Connected to server on port 1129" and when scanned with "http://ping.eu", it says that port 1129 is open.

    However, i just ran a purchase through my cart and got the same "presently unable to contact the Credit Card company for authorization" message.

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

    Default Re: Unable to contact the Credit Card company

    In your Linkpoint module, turn on Debug Log To File, and try a transaction.

    You'll see a log of the transaction/communication details in the /cache folder, which may tell you more about what's going on.
    .

    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.

  7. #7
    Join Date
    Nov 2008
    Location
    St. Petersburg, Florida
    Posts
    5
    Plugin Contributions
    0

    Default Re: CURL Test Fails Linkpoint Test

    Contents of "Linkpoint_Debug_1-IaNWts_FAILED1226502920_neD8.log"

    Code:
    Nov-12-2008 08:15:20
    =================================
    
    Communication Result: 7 - couldn't connect to host
    
    Response Code: <
    
    Sending to Gateway: 
    result = LIVE
    oid = 1-IaNWts
    
    **Order info hidden**
    
    comments = Website Order
    items = Array
    (
        [0] => Array
            (
                [id] => 365
                [description] => $25 Gift Certificate
                [quantity] => 1
                [price] => 25.00
            )
    
    )
    
    ordertype = SALE
    host = secure.linkpt.net
    port = 1129
    keyfile = **This is the full link to my PEM file**
    configfile = **This is my account number, the same as the PEM file without ".pem" extension**
    transactionorigin = ECI
    terminaltype = UNSPECIFIED
    
    
    Result: proved>FAILURE</r_approved><r_error>Could not connect.</r_error>
    
    Communication Result: 7 - couldn't connect to host
    CURL info: Array
    (
        [url] => https://secure.linkpt.net:1129/LSGSXML
        [http_code] => 0
        [header_size] => 0
        [request_size] => 0
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0
        [namelookup_time] => 0.083704
        [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
    )
    
    Using CURL Proxy: [proxy.shr.secureserver.net:3128]  with Proxy Tunnel: Off

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

    Default Re: CURL Test Fails Linkpoint Test

    Quote Originally Posted by communicasting View Post
    Using CURL Proxy: [proxy.shr.secureserver.net:3128]
    If you're not on a GoDaddy server, why are you using a GoDaddy proxy?

    Go to Admin->Configuration->CURL Proxy Status, and turn it off.
    .

    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.

  9. #9
    Join Date
    Nov 2008
    Location
    St. Petersburg, Florida
    Posts
    5
    Plugin Contributions
    0

    Default Eurekaaaaaa!!!

    Quote Originally Posted by DrByte View Post
    If you're not on a GoDaddy server, why are you using a GoDaddy proxy?

    Go to Admin->Configuration->CURL Proxy Status, and turn it off.
    EUREKAAAAAA!!!

    I *DID* used to have the cart installed on a godaddy server, moved it using these instructions [https://www.zen-cart.com/tutorials/i...hp?article=100], and didn't even know that "Proxy Status" exsisted!! Successful checkout completed!!!

    THANK YOU, THANK YOU, THANK YOU!

 

 

Similar Threads

  1. Authorize.net (AIM) fails Test
    By nohart in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Oct 2010, 12:06 AM
  2. curl connection test error on setup (invalid address)
    By hayden in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2010, 12:04 AM
  3. Successfull linkpoint test means good to go?
    By kendur in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 May 2008, 10:03 PM
  4. Authorize.net Test Account. SSL & cURL.
    By esoin in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 26 Mar 2008, 10:35 PM
  5. Linkpoint- Module in Test Mode
    By paulssports in forum Addon Payment Modules
    Replies: 12
    Last Post: 23 Jan 2007, 07:49 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