Support

Home Forums Event Espresso Premium EE3 – Payment Incomplete

EE3 – Payment Incomplete

Posted: March 26, 2014 at 8:16 am


Jan Cerny

March 26, 2014 at 8:16 am

Hello,

I know that this topic was being solved couple of times in the past, but I really need your help (advice).

I have a personal licence, set up PayPal IPN payment and now two points:

1) I get the payment from the registering individual, but the payment is always incomplete. I read all the advices throughout the forums, check all the setting, upload special theme, just everything, but nothing. Only one thing, there is no log directory in the EE folder. I checked it twice through FTP. Then I wrote to hosting provider, but they told me that everythings is set up correctly.

2) When the payment is done, there is no automatic tranfer back to register page. User must click on a link on the PayPal framework.

I would be happy for every idea.

Thanks a lot.

Jan


Tony

  • Support Staff

March 26, 2014 at 8:54 am

Hi Jan,

First thing to check is if the Paypal Account you are using had IPN enabled?

Follow the steps available here:

https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/#paypal

‘My Selling Tools’ may be ‘My Selling Preferences’


Jan Cerny

March 26, 2014 at 9:48 am

Yes, it is enabled. All those steps I tried yesterday already.


Jan Cerny

March 26, 2014 at 10:56 am

All steps Ive done:
1) Checked IPN is enabled
2) Double-checked all links of pages
3) Sandbox is off
4) Force HTTPS is off
5) cURL is running
6) Template for Teransactions page is uploaded and chosen
7) No Log directory in EE folder (how can I fix this?)
8) Checked that every page is published, view-able…


Lorenzo Orlando Caum

  • Support Staff

March 26, 2014 at 11:24 am

Hi Jan,

This should be working without any issues. I did see the steps that you mentioned and those look okay.

Could you briefly deactivate all plugins and reactivate only Event Espresso and retest?

Also here is how you setup the redirect to your site in PayPal:

1) Login to your PayPal account and click on Profile and then My Selling Tools.

2) Locate website preferences under selling online and click on the update link.

3) Switch auto-return to on and enter the URL for your thank you page for Event Espresso.


Lorenzo


Jan Cerny

March 26, 2014 at 11:29 am

Hi Lorenzo,

all plugis except EE deacticvated, payment is incomplete ๐Ÿ™


Jan Cerny

March 26, 2014 at 11:30 am

Maybe, the LOG folder is the main part of the problem…


Lorenzo Orlando Caum

  • Support Staff

March 26, 2014 at 11:52 am

Hi Jan,

Could you share a link to an event so I can take a look around?


Lorenzo


Jan Cerny

March 26, 2014 at 12:00 pm

Hi Lorenzo, sure, thank you.

http://www.mksh.cz/event-registration/


Josh

  • Support Staff

March 26, 2014 at 5:12 pm

The log file not being there wouldn’t necessarily be causing any problems, except in this case it would be nice to see log entries for troubleshooting. Usually if the log file doesn’t get written that means PHP doesn’t have write permissions for the /wp-content/uploads/espresso/ directory.

If you go to Event Espresso > System settings there will be an indicator near the bottom next to “Espresso Logging”. It should say “Log directory is writable”. If it’s not, you can try changing the folder permissions to allow writing. If you’re able to upload images to /wp-content/uploads/ then what you can do is copy the file permissions that are set there and apply the same permissions to /wp-content/uploads/espresso/ and /wp-content/uploads/espresso/logs.

After that, you could try another test to see if the IPN gets logged.


Jan Cerny

March 27, 2014 at 2:57 am

Hello,

problem still exists. Espresso logging says: Log directory is writeable.

ร repeated all the steps. Still have the red sign – payment incomplete


Jan Cerny

March 27, 2014 at 9:26 am

PAYMENT INCOMPLETE problem still exists. I tried all the steps throughout this site. I even found:

<code>Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/mksh.cz/www/mksh.cz:/home/www/tmp) in /home/www/mksh.cz/www/mksh.cz/wp-content/plugins/event-espresso/includes/espresso-admin-status.php on line 295
/tmp does not exist - contact your host to resolve the problem.</code>

– found in the system status. Talk to my provider. Fix this, but still payment INCOMPLETE. I really cant understand why this happening. Folder Session was created.

The only thing – LOG folder still does not exist in the EE folder.

And I really need to solve this. I need to have IPN working.

Thanks for help, suggestions.


Jan Cerny

March 27, 2014 at 10:57 am

Hi, I also tried resend IPN from the PayPal framework. Nothing happened. All payments are red INCOMPLETE in the admin.


Jan Cerny

March 27, 2014 at 12:05 pm

Hello, can somebody give some suggestions, how to solve this situation? Thank you.


Jan Cerny

March 28, 2014 at 4:55 am

Hello, I am trying to get payment complete couple of days.
I checked all the possibilites and need to communicate with somebody who can resolve my problem. I continue this topic https://eventespresso.com/topic/ee3-payment-incomplete/ where nobody was answering.

After all the steps I use my IPN on WooCommerce Site and it works without any problems.

So there must be problem on EE plugin side.

I really need a help to finalize this, because the registration on my event should start today and I really cant afford any other delays.

Thank you in advance for the solution!

Jan


Josh

  • Support Staff

March 28, 2014 at 7:46 am

Hi Jan,

Here are three things you can try to get this working:

1) You can FTP in to the server and navigate to /wp-content/uploads/espresso/ and create a “logs” folder if there isn’t one there. Then inside the “logs” folder create a file and name it “paypal.ipn_results.log”. Please be sure that this file is writeable, then you can run a test to see if anything gets logged there.

2) You can log into the PayPal account and verify that Payment Data Transfer is Off by going to Selling Tools > Website Payment Preferences. This is a different setting that IPN, and IPN needs to be set to “Receive IPN Messages” (Enabled) which you already set.

3) You can try testing the Payments with all non – Event Espresso plugins deactivated. If you have any security plugins installed or special .htaccess rules set up, please be sure they are not blocking access to your site. They may be blocking the PayPal IPN from reaching the Event Espresso IPN listener page.

As an aside, the reason your post didn’t get a reply yesterday is because we generally work through the forums starting with the thread that has the last reply, but this post got bumped a few times which made it look like it got replies.


Jan Cerny

March 28, 2014 at 9:47 am

Hello Josh,
thank you.
I tried all the things you wrote. Nothing worked. Still payment incomplete ๐Ÿ™


Josh

  • Support Staff

March 28, 2014 at 11:13 am

Can you try testing a PayPal Sandbox account?

When you test a PayPal sandbox account, Event Espresso will try to send the admin an email that includes some PayPal response variables.


Jan Cerny

March 31, 2014 at 3:31 pm

Hello, I tried it, but still the payment is incomplete. What variables do you think? What should I do now?


Jan Cerny

March 31, 2014 at 3:59 pm

Strange thing – I just checked the log file and found this:
Errors resulting from the execution of curl transfer: SSL certificate problem: unable to get local issuer certificate[03/31/2014 9:26 PM] - FAIL: IPN Validation Failed . /cgi-bin/webscr : www.sandbox.paypal.com

Force HTTPS was unchecked, IPN was enabled.

Or did I wrong something somewhere else?

Thanks Jan


Josh

  • Support Staff

March 31, 2014 at 9:08 pm

The solution is to fix the PHP setup on your server so it has a valid cacert.pem file list:

1) Download a list file with up-to-date certificate authorities from here:
http://curl.haxx.se/ca/cacert.pem

2) Upload it to your server

3) Add this setting to your php.ini

curl.cainfo=*path-to*cacert.pem

where *path-to* = the path to where you uploaded the cacert.pem file

4) Restart your web server.


Jan Cerny

April 1, 2014 at 3:57 pm

This is the solution! Thanks a lot.. Payments COMPLETE appeared after 10secs (page reload).

The support post ‘EE3 – Payment Incomplete’ 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.

Event Espresso