If this is your first visit, check our documentation. To post, register or login.

Paypal time out problems

Started by toyseller on 3 Mar 2015, 6:37 PM · Views: 4,530

Results 1 to 12 of 12
3 Mar 2015, 6:37 PM
#1
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Paypal time out problems

I am having problems with Paypal transactions timing out

ie the message is either "(6) name lookup timed out" or
Cardinal Centinel - cmpi_lookup error - 8030 - Communication Timeout Encountered

I understand from this forum that this is caused by DNS lookup problems.

My website host is denying that there is a problem.

My question is .... that although my website is hosted by one set of people ... my actual domain (which lists the named servers) is purchased and held by a different hosting company.

Could the problem lay with the people who are the custodians my domain name ?

3 Mar 2015, 6:52 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Paypal time out problems

toyseller:

I am having problems with Paypal transactions timing out

ie the message is either "(6) name lookup timed out" or
Cardinal Centinel - cmpi_lookup error - 8030 - Communication Timeout Encountered

I understand from this forum that this is caused by DNS lookup problems.

Correct. It's a DNS issue.

toyseller:

My website host is denying that there is a problem.

No surprises there. However, it is impossible for us to to tell if it is thier problem, or a problem somewhere else along the line.

toyseller:

My question is .... that although my website is hosted by one set of people ... my actual domain (which lists the named servers) is purchased and held by a different hosting company.

Could the problem lay with the people who are the custodians my domain name ?

No! Your domain name or nameservers only relate to connectivity to your site.

The site itself will be using different name servers for outgoing connections.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

3 Mar 2015, 8:05 PM
#3
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: Paypal time out problems

Thank you ... so it looks as if the issue is definitely with my website host. At least I dont have 2 people to deal with.

Ive just had another fail today and the strange thing is that although my logs have the
"(6) name lookup timed out" error message, the order was actually placed and the money has gone into my Paypal account.

I just dont know what to do next.

3 Mar 2015, 9:34 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Paypal time out problems

What paypal method are you using? Paypal express (which tends to not have the issue of order being placed and not being logged in the store.)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

3 Mar 2015, 10:39 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal time out problems

The /extras/curltester.php script as explained at http://www.zen-cart.com/showthread.php?65680-PayPal-Communications-Response-Testing-Tools is provided to help diagnose communications issues with your host server.

So, that'll help you see what issues might exist with connecting to paypal servers.

Your "Cardinal" errors are happening when attempting to connect to https://paypal.cardinalcommerce.com/maps/processormodule.asp ... which is not tested by the curltester.php script.

Perhaps those will be helpful in demonstrating the problem to your hosting company without having to go through making transactions to test it.

.
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 Mar 2015, 11:09 PM
#6
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: Paypal time out problems

Im using Website Payment Pro and Paypal Express.

This is the result from the test you told me about ....

IPNCHECK.PHP - Version 1.3.9

CURL RESPONSE RECEIVED - Communications OKAY
IPN TESTING - Response Received via CURL -- COMMUNICATIONS OKAY

IPN TESTING - Confirmation/Validation response with fsockopen(): FSOCKOPEN() RESPONSE RECEIVED - Communications OKAY

Default method likely to be used for communications is: CURL, with the fallback method being FSOCKOPEN if possible.

Script finished.

3 Mar 2015, 11:39 PM
#7
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: Paypal time out problems

I also ran this test with ?ssl=1 and ?paypal=1 ... and both passed the test.

includes/modules/paypal.php now set to CURL_TIMEOUT, 30 ... it was I think initially set to 5? up'd to 8, but still had timeouts so I set to this to 30.

It there any other timeout settings I should increase ?

They messages dont happen on every transaction, when these messages started I ran my own credit card through the website without any issue.

6 Mar 2015, 1:51 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal time out problems

toyseller:

I also ran this test with ?ssl=1 and ?paypal=1 ... and both passed the test.

includes/modules/paypal.php now set to CURL_TIMEOUT, 30 ... it was I think initially set to 5? up'd to 8, but still had timeouts so I set to this to 30.

It there any other timeout settings I should increase ?

They messages dont happen on every transaction, when these messages started I ran my own credit card through the website without any issue.
CURL_TIMEOUT doesn't deal with DNS failures on the server.
I'm inclined to not set it to a large value. It's better to get the webserver's DNS services working properly.

.
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.

8 Mar 2015, 3:41 PM
#9
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Paypal time out problems

toyseller:

It there any other timeout settings I should increase ?

The messages don't happen on every transaction

As much as I hate to tell you this, your problem is related to DNS issues, and unless you are running your own server (which you aren't) there is literally nothing that you can do to resolve the issue (other than migrate to a new host).

If you can't or don't wish to move hosts, your only other option is to keep logging the errors and forward a copy of them to the host whenever they occur, and hope that sooner or later they'll take the problem seriously and look into the matter.

It is highly unlikely that you will be their only customer suffering from this problem.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

22 Apr 2015, 2:57 AM
#10
mrsensible avatar

mrsensible

New Zenner

Join Date:
Mar 2010
Posts:
11
Plugin Contributions:
0

Re: Paypal time out problems

ToySeller -

I'm having exactly the same issue as you - does your host company's name begin, by any chance, with 'T'?

MrSensible

29 May 2015, 6:21 PM
#11
terragirl avatar

terragirl

Zen Follower

Join Date:
Jun 2010
Location:
Austria
Posts:
123
Plugin Contributions:
0

Re: Paypal time out problems

Hi Zen Cart team,

We are looking into this issue for clients hosted with us. We found issues with the CA bundle in use, Cardinal appears to be picky with regards to the certificate chain, which we've fixed a few weeks ago & the client reported that everything was working but now the error has returned.

I've created a test script at http://enterprise.terrassl.net/~min683ad/cardinal.php

Test script works and our DNS appears fine. We have 1 customer currently reporting an issue, with a total 2 customers on the same server who had the issues in the past, no other reports on any of our servers which have the same set up. So from our end we have 2 Zen Cart customers facing Cardinal errors, nobody else reporting any issues in using Cardinal.

Is there anything else we can look at to fix this for the clients? If there are any tests or investigations we can run, please advise. We are keen to get this resolved, but are at a loss to understand why Cardinal is failing on this 2 ZC installs.

Many thanks, Edith

2 Jun 2015, 2:14 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal time out problems

It's probably best to address that issue directly with Cardinal.

.
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.