Support

Home Forums Event Espresso Premium EE3 PayPal return to website

EE3 PayPal return to website

Posted: November 14, 2014 at 7:31 am


expfarm

November 14, 2014 at 7:31 am

I’m tinkering with a website whose payment gateway is PayPal (the regular version). When a payment is completed, the return to the website is voluntary (not an automatic redirect back to the website). This causes the confirmation emails not to deploy until the customer is returned.

Is there a method for ensuring the emails deploy upon receipt of payment? The voluntary redirect means many people will think their registration is completed when in fact it is not because the system did not receive the notice that the payment was received.

Thank you for your help… Y’all are awesome.


Lorenzo Orlando Caum

  • Support Staff

November 14, 2014 at 8:18 am

Hi,

Please set the auto return URL to your Event Espresso thank you page:

https://www.paypal.com/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

This is usually:

example.com/thank-you/


Lorenzo


expfarm

November 14, 2014 at 8:38 am

Is the “Thank You” page something I need to make or is there an auto-generated one from EventEspresso?

Thanks.


expfarm

November 14, 2014 at 8:49 am

Additionally, is this a global setting that would apply to ALL PayPal payments received through this one PayPal account or just payments received through that account from our registration website?

The client has payments coming in via their main website, but the registration website is a separate website.


Tony

  • Support Staff

November 14, 2014 at 8:50 am

The ‘Thank You’ page should automatically be generated when installing Event Espresso.

It will be a page containing a single shortcode.

For EE3 this will be [ESPRESSO_PAYMENTS]

For EE4 it will be [ESPRESSO_THANK_YOU]


expfarm

November 14, 2014 at 9:16 am

The client has an alternate PayPal account we can use to setup for the auto-return.

I’ve set the auto-return to:
https://ncng.meetingservicesinc.com/?page_id=5

However, the PayPal payments are being received according to PayPal, but upon returning to the registration website the payments are showing as “Incomplete”.


expfarm

November 14, 2014 at 9:19 am

I just checked the Attendee lists, and the payments are showing as “Complete”… It is only on the return URL (the Thank You page) that the payments show as “Incomplete”.


Tony

  • Support Staff

November 14, 2014 at 9:20 am

Is this EE3 or EE4?

If you view the registration for one of the attendees, do they also show as incomplete within the admin?


expfarm

November 14, 2014 at 9:34 am

version EE3

The confirmation emails are deploying, albeit a bit slowly. It’s only on the Thank-You page that the “Incomplete” status is showing.


Tony

  • Support Staff

November 14, 2014 at 9:35 am

If you make a payment then when you are redirected back to the thank you page, wait roughly 10-20 seconds and refresh the page, doe the status then say complete?


expfarm

November 14, 2014 at 9:39 am

I refreshed the page, it asks to “Resend” the data. After a few seconds it does display as “Complete”.

What is happening here? I’m concerned users will think they have not successfully paid if seeing the “Incomplete” warning.


Lorenzo Orlando Caum

  • Support Staff

November 14, 2014 at 9:47 am

Hi, could you setup the simplified transactions template:

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

It can be uploaded here:

wp-content/themes/yourthemefolder/

Then go to WP-admin –> Pages and click on the transactions page. Then update the layout to the new template and save changes.


Lorenzo


expfarm

November 14, 2014 at 10:02 am

I’ve completed these steps and I’m still encountering the “Incomplete” status when the Thank-You page loads in. If I wait a few seconds and refresh (“resend” the page during the refresh) then it loads in as “Complete”.

In other words: the new Template did not correct my issue.

There is a ticket that only costs .50 cents. If you want to walk through registration to see what I’m referring to.

to test the system:

Go to:
https://ncng.meetingservicesinc.com/registration/

Click: “Begin Registration”
Select ticket: “TEST – not a real registration”


expfarm

November 14, 2014 at 10:54 am

I have added the Simplified Transactions template to the Theme.

I have confirmed the IPN is set to send back to the Thank-You page, and the auto-return is turned on.

I am still receiving Incomplete on the Thank-You page, but the payments are processing, and the EE3 plugin is sending the auto-confirmation emails after about 1 minute wait time.

The registrations are showing as Complete in the Attendee list.

The user is still receiving an Incomplete payment notice when arriving at the Thank-You page after PayPal has redirected the user back to the registration website, landing on the Thank-You page.

We’ve not had these issues before using the LinkPoint payment gateway, it appears only with the PayPal gateway.


Lorenzo Orlando Caum

  • Support Staff

November 14, 2014 at 11:24 am

Hi,

It is usually quick but the PayPal IPN can sometimes be delayed on PayPal’s end.

PayPal mentions this on their documentation page:

Although PayPal usually processes IPN messages immediately, IPN is not synchronized with actions on your website. Internet connectivity is not always 100% reliable and IPN messages can be lost or delayed. The IPN service automatically resends messages until the listener acknowledges them. The service resents messages for up to 4 days.
Because IPN is not a real-time service, your checkout flow should not wait for the IPN message before it is allowed to complete. If the checkout flow is dependent on receiving an IPN message, processing can be delayed by system load or other reasons. Configure your checkout flow to handle a possible delay.

More information is shown here:

https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/


Lorenzo


expfarm

November 17, 2014 at 10:23 am

Is IPN more reliable with the PayPal Pro accounts (the paid for PayPal service, if I have the name wrong)?

What solutions are there for this issue, in other words?


expfarm

November 17, 2014 at 11:21 am

https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNTesting/

see: Delayed IPN messages
regarding — >> HTTP 200 OK

Is this something managed by the server or is it something managed by EE3?


Lorenzo Orlando Caum

  • Support Staff

November 17, 2014 at 12:20 pm

Hi,

The IPN is handled by PayPal. If it fails, then PayPal will try again.

What are you seeing under the status for the recent purchase in the IPN history?

http://cl.ly/image/05380q46230k


Lorenzo


expfarm

November 17, 2014 at 12:23 pm

Where do I find the IPN history?


expfarm

November 17, 2014 at 12:27 pm

I found it. They all appear as “sent”.

Ok, let’s assume the IPN is transmitting appropriately. Is there a way to hide the display of the Incomplete payment notification on the return page when PayPal delivers a user back to the website?


Lorenzo Orlando Caum

  • Support Staff

November 17, 2014 at 12:59 pm

Yes you can do that. Take a look at the payment_overview.php file. It is located here:

wp-content/plugins/event-espresso/templates/payment_overview.php

Download a copy to your computer using an SFTP or FTP client. Filezilla and Cyberduck are free options.

Then browse to this location:

wp-content/uploads/espresso/templates

Upload the file there.

Then you can edit the file. The payment status information starts around line 29.


Lorenzo


expfarm

November 17, 2014 at 1:52 pm

I was able to update the “Incomplete” to read an alternate message.

This entire experience has not endeared me towards PayPal. This has been a major headache. Thanks for your help.


Josh

  • Support Staff

November 17, 2014 at 5:45 pm

I feel the same way about PayPal, and generally recommend using Stripe where possible.


expfarm

November 19, 2014 at 10:30 am

Thanks for your help with this. EventEspresso team was very helpful.

The support post ‘EE3 PayPal return to website’ 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