Hello,
I have Zen Cart v1.3.8a/v1.3.8 and from few days/weeks ago I have problem with credit cart payment.
Firstly, it was error: - (7) couldn't connect to host
I run some updates on my VPS ( Contabo ) and now I have error: - (28) connect() timed out!
I have read many threads on this forum, but found nothing helpful, or i just dont understand zencart so much...
output: /extras/curltest.php?paypal=1
Array
(
[url] => "https://api-3t.paypal.com/nvp"
[content_type] => text/plain; charset=utf-8
[http_code] => 200
[header_size] => 540
[request_size] => 166
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.948495
[namelookup_time] => 0.000804
[connect_time] => 0.167188
[pretransfer_time] => 0.692882
[size_upload] => 37
[size_download] => 146
[speed_download] => 153
[speed_upload] => 39
[download_content_length] => 146
[upload_content_length] => 0
[starttransfer_time] => 0.948468
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 173.0.88.101
[certinfo] => Array
(
)
)
ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF
output /extras/curltest.php
Powered by Zen Cart :: The Art of E-Commerce
CURL Test Page
This page is intended for testing CURL behaviour. You should be accessing this page via CURLTESTER.PHP running on YOUR server.
You submitted the following fields and data:
Array
(
[field1] => This is a test
[statuskey] => ready
)
Data validation
Good
Other Info
Your server IP address is: 213.136.87.111.
user-agent: unknown.
Copyright © 2003 - 2015 Zen Ventures, LLC - Authors of Zen Cart™
Array
(
[url] => "http://www.zen-cart.com/testcurl.php"
[content_type] => text/html; charset=iso-8859-1
[http_code] => 200
[header_size] => 177
[request_size] => 174
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.333309
[namelookup_time] => 0.123789
[connect_time] => 0.22709
[pretransfer_time] => 0.227094
[size_upload] => 37
[size_download] => 2079
[speed_download] => 6237
[speed_upload] => 111
[download_content_length] => 2079
[upload_content_length] => 0
[starttransfer_time] => 0.333272
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 104.236.245.70
[certinfo] => Array
(
)
)
output /extras/ipncheck.php
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.
Paypal log from my last attempt:
2015-08-21 10:58:48
-------------------
(live transaction) --> https://payflowpro.verisign.com/transaction
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 - Payflow Pro
[4] => X-VPS-VIT-Integration-Version: 1.3.8a
)
Request Parameters: {DoDirectPayment}
Array
(
[ACCT] => ************8076
[AMT] => 2.20
[BUTTONSOURCE] => ZenCart-DP_uk
[CARDISSUE] =>
[CARDSTART] => 0105
[CITY] => arg
[COUNTRY] => GB
[CURRENCY] => GBP
[CVV2] => ***
[EMAIL] => robert.krisko######################
[EXPDATE] => 1215
[FIRSTNAME] => arg
[IPADDRESS] => 88.212.37.7
[LASTNAME] => arg
[PHONENUM] =>
[STATE] =>
[STREET] => argstrhgtrsh
[TENDER] => C
[TRXTYPE] => S
[VERBOSITY] => MEDIUM
[ZIP] => agrdsb
[REQUEST_ID] => 1440154668
[USER] => TopCartridge
[PWD] => *********
[PARTNER] => PayPalUK
[VENDOR] => TopCartridge
)
Response:
Array
(
[] =>
[CURL_ERRORS] => (28) connect() timed out!
)
(28) connect() timed out!
Array
(
[url] => https://payflowpro.verisign.com/transaction
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0.051976
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 173.0.82.49
[certinfo] => Array
(
)
)
DoDirectPayment, Elapsed: 60062ms -- Failed
(28) connect() timed out!
Array
(
[url] => https://payflowpro.verisign.com/transaction
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0.051976
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 173.0.82.49
[certinfo] => Array
(
)
)
Is there a way to find out, who is blocking connection ? If my VPS ( iptables turned off and still same problem) or contabo ( VPS provider) ?
I did not change anything on my VPS configuration. Except modules updates after problem occured.
Thanks in advace!
Robert
Bookmarks