Posted: May 6, 2014 at 5:42 pm
|
I cannot get the payment status to complete. I have tested in sandbox and in live version mode. I have looked at other threads on the forum and I’m not sure how to resolve this. The PayPal accepts the payment and when you’re directed to the Thank You page the Payment Status is incomplete and the Transaction ID is 0. The Error message from the paypal.pin_results.log shows this line: I’m not sure if this is a hosting server error? Wordpress version: 3.9 |
Hi Susan, I did some research on this issue and it can happen on Windows IIS based servers. Do you know if your site is running on a Windows server? — |
|
|
Hi Lorenzo, I checked with the hosting company and they informed me that their server runs on a hybrid platform which is Windows and Unix. The hosting company is called easyhosting.com. I showed them the log error message and they had no solution. Aside from moving to another hosting company is their a solution to this? |
Hi Susan, That error is likely caused by an issue with the servers CA file. Your host should have fixed this for you. You could contact them once again requesting the check the server has a CA cert bundle installed, is configured correctly and has the correct permissions, or you can try installing one yourself. Josh has previously posts some info on the HERE. |
|
|
Hi, I followed the instructions from the Josh post. I installed the cacert.pem file myself and then the host company told my I had to create the php.ini file so that it can point to the location of the pem file. I did another sandbox text and the SSL error message is gone but I still receive this error message according to the log: Errors resulting from the execution of curl transfer: Connection timed out after 45001 milliseconds[05/07/2014 2:55 PM] – FAIL: IPN Validation Failed . /cgi-bin/webscr : http://www.sandbox.paypal.com. Is this still a hosting issue? |
|
It could be the host. We currently set the timeout on the cUrl transfer to 45 seconds in gateways/paypal/Paypal.php on line 89: $error["set_timeout"] = curl_setopt($ch, CURLOPT_TIMEOUT, 45); You could try changing that to 90, but it could be the host blocking outgoing connections from your server, in which case it would still timeout. One thing you might want to try, since most hosting company support staff will balk at helping you with something with a lot of moving parts, is to make a simple script to test whether the server’s curl functionality is working correctly. Copy the script found here into a file called test.php in your site’s web root directory. Then pull up yousite.com/test.php to check the results. If it fails, then the host’s support staff should have no problem helping you fix it, since they are not having to deal with a situation where the complications in the code could be the problem. |
|
Hi, I did the test and it fails on every account. You can see below the first fail. Installing the cacert.pem doesn’t seem to have solved the problem after all. SSL certificate problem: unable to get local issuer certificateArray [redirect_url] => The host company’s solution was to upgrade the account to an SSL manager which didn’t make sense so they were not helpful. At this stage I’m going to suggest that we move the site to hostgator as I see it’s listed as one of the hosting companies that you recommend. |
Hi Susan, Be sure to request an apache or nginx based server with your new web host. — |
|
|
Hi, I just wanted to follow up. |
Hello, What is your IPN url set to in your PayPal account? Also, do you have auto return enabled? — |
|
|
Hi Lorenzo, Currently the pin is set to this url: http://corvetteclubofontario.com/transactions/. Currently Auto Return in Paypal is Off under the Website Payment Preferences. |
The Auto return URL is optional. Currently, if its off then a customer will need to manually click the link to return to your site. If you would like to turn it on, then set it to this URL: http://corvetteclubofontario.com/thank-you/ — |
|
|
Hi Lorenzo, I set it to Auto return URL. That part works fine. |
|
Hi, Have you tried the Simplified Transaction Page template? https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/#incomplete |
|
Hi Dean, I just tried it now. As you can see this page has the stripped down template: http://corvetteclubofontario.com/transactions/. I did a live test and it returns back incomplete. If I refresh the browser it appears as complete. Any other suggestions? |
|
Well, the only other option I can think of (barring using a different gateway) would be to try Sidney’s partial fix here: https://gist.github.com/sidharrell/7087307 What it does is check for any form of communication from PayPal and if it is not completed it will mark it as pending instead. It’s not much but could perhaps limit any issues. |
The support post ‘Incomplete Payment Status’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.