Support

Home Forums Event Espresso Premium Paypal problems after update

Paypal problems after update

Posted: December 14, 2012 at 3:57 pm


Michel Neray

December 14, 2012 at 3:57 pm

Just updated to latest EE and add-ons, and wordpress. Since then, all of our event registrations show up as incomplete payments, even though they have gone through in PayPal. I’ve had to manually update them and send payment confirmations, as registrants aren’t getting a confirmation.

I updated the customized templates we’ve been using, so I don’t think that’s the issue… am I missing something? Is this a bug, or something on PayPal’s end?


Josh

  • Support Staff

December 14, 2012 at 4:03 pm

Hi Michel,

I ran a test registration and it looks like the ticket amount is getting correctly sent to PayPal. Can you check the paypal ipn log in /wp-content/uploads/espresso/logs for errors?


Michel Neray

December 14, 2012 at 4:11 pm

Thanks Josh – what am I looking for? Nothing is standing out as an error… near the end I see:

Errors resulting from the execution of curl transfer: [12/14/2012 5:57 PM] - SUCCESS!

This is on registrations that show up in Paypal, but as incomplete in espresso.


Seth Shoultes

  • Support Staff

December 16, 2012 at 12:29 am

Maybe this solution will help:
https://eventespresso.com/topic/ipn-not-working-2/#post-14092


Michel Neray

December 17, 2012 at 2:27 pm

I’m not sure exactly what that PHP script is supposed to do? Could you elaborate? In the meantime I can check with our host to see if they are blocking curl calls.

Just to reiterate – registrations are going through to Paypal fine, they just aren’t being received in Espresso as paid. No-one is getting confirmations. It was working fine before we upgraded (which may be coincidence, who knows)


Josh

  • Support Staff

December 17, 2012 at 2:46 pm

Hi Michel,

The code that’s in the topic that Seth linked to is a test script that will help determine whether the server is blocking cURL. So you’d create a new file on the server, copy and paste the code into it, save, then visit it in your browser.

Two other things you can check:

You can log into the PayPal account and make sure that the IPN is turned on in the account settings.

There are also plugins that will block access to the site as well, if you have any plugins that have that functionality, they will usually have an option that will let you whitelist PayPal’s IP addresses.


Michel Neray

December 17, 2012 at 2:57 pm

I checked with my host, they said curl was enabled – again this was working fine before we upgraded EE and WP.

I just tried a registration – paid with Paypal, and then was directed back to our website for about 5 seconds, where it said my payment was incomplete. I was then taken back to Paypal.


Michel Neray

December 17, 2012 at 3:02 pm

From the log after the order I just put through:

Success Setting host: https://www.paypal.com/cgi-bin/webscr
Success Setting request type to post
Success Setting post fields: I HAVE DELETED THESE DETAILS - IF YOU NEED TO SEE THEM, LET ME KNOW
Success Setting Fain On Error
Success Setting return transfer
Success Setting Timeout
Success Setting verbose mode
Errors resulting from the execution of curl transfer: [12/17/2012 4:52 PM] - SUCCESS!
IPN POST Vars from gateway:
I HAVE DELETED THESE DETAILS - IF YOU NEED TO SEE THEM, LET ME KNOW
IPN Response from gateway Server:
VERIFIED


Josh

  • Support Staff

December 17, 2012 at 3:05 pm

Hi Michel,

Thanks for checking that. Do you have the Groupon add-on activated? If so, has it been updated to version 1.5.3?


Michel Neray

December 17, 2012 at 3:24 pm

  1. Code – created page on server and visited, I get a 301 moved notice which links to google.com. Assuming thats what it’s supposed to do?
  2. IPN is turned on in Paypal. Calls are being sent and logged.
  3. Don’t have any plugins installed that would block access to the site.
  4. Don’t have the Groupon add-on installed.

Would it help if I provided admin access so you could look around?


Josh

  • Support Staff

December 17, 2012 at 3:51 pm

Hi Michel,

I have a few questions about the modified templates. Which templates have been modified? Are these in /wp-content/uploads/espresso/templates, and are there some modified templates in /wp-content/uploads/espresso/gateways as well?


Michel Neray

December 18, 2012 at 1:20 pm

I modified the registration page display, confirmation display and event post – all are in uploads/espresso/templates. (moved all of the template files) No modified templates in gateways.


Josh

  • Support Staff

December 18, 2012 at 4:36 pm

Hi Michel,

Can you try renaming the /wp-content/uploads/espresso/templates directory temporarily and running another test?


Michel Neray

December 19, 2012 at 12:02 pm

Ok – I renamed the templates directory, and just ran a registration through. Same thing happened. Paid with Paypal, and then was directed back to our website for about 5 seconds, where it said my payment was complete this time). I was then taken back to Paypal. In EE my payment is recorded as incomplete.

I was notified by email from WordPress that “Instant Payment Notification – Gateway Variable Dump” – instant payement notification failed.


Josh

  • Support Staff

December 19, 2012 at 3:39 pm

Hi Michel,

I’d like to take a look at the admin at this point. I’m not sure why this would happen all of a sudden. In the process of looking into this, would it be okay if I ran a quick test in sandbox mode?

If either of these are possible, can you send WP admin credentials and FTP credentials via the contact form:
https://eventespresso.com/contact/

Please select the “I am sending login info as requested” department form.


Josh

  • Support Staff

December 19, 2012 at 5:58 pm

Hi Michel,

We received your credentials, and I saw that you had left some phone numbers with the instructions to call you. Please understand that we do not offer support over the phone at this time with the exception of when there has been a priority support token purchased.

What is your other suggestion that may be better? Please feel free to send this via the contact form if need be.


Michel Neray

December 19, 2012 at 9:36 pm

My suggestion was that we consider a custom integration with our primary gateway.


Michel Neray

December 20, 2012 at 1:16 pm

Hi Josh – full credentials sent via contact form. Totally ok for you to run a test! Thanks.


Josh

  • Support Staff

December 20, 2012 at 2:27 pm

Hi Michel,

This appears to be an issue with the old templates in /wp-content/uploads/espresso/templates. Right now, there are over a dozen files in that location dated 8/30/12. These are from an older version of Event Espresso and are causing problems because they are overriding the files in the new version of Event Espresso.

Before running a quick test in Sandbox mode, I temporarily renamed the /wp-content/uploads/espresso/templates directory to be /wp-content/uploads/espresso/templates-temp-off, then switch PayPal to use a sandbox account.

The registration went through as completed. What you will need to do is remove all the templates in /wp-content/uploads/espresso/templates that are dated 8/30/12. You’ll need to copy over a fresh copy of registration_page.php from the current version of Event Espresso so that your customized registration_page_display.php will load up.

If you still experience issues after removing the old template files from the /wp-content/uploads/espresso/templates directory, the customized files need to be updated to be in sync with the current version.


Michel Neray

December 20, 2012 at 3:09 pm

Josh – thank you!!! Removed the old files, ran a test order, and it worked perfectly. I really appreciate your quick and efficient help with this! You guys are awesome 🙂


Michel Neray

December 21, 2012 at 1:02 pm

Hi Josh – update. I ran two test registrations, which went through no problem, but we had someone else register and got the same error as before. Payment went through in Paypal, but no API call to Espresso.


Josh

  • Support Staff

December 21, 2012 at 2:17 pm

Hi Michel,

Can you check the PayPal IPN error log?

The support post ‘Paypal problems after update’ 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