Support

Home Forums Event Espresso Premium Attendee payment status not updating after paypal successful payment

Attendee payment status not updating after paypal successful payment

Posted: August 18, 2015 at 8:05 pm

Viewing 1 reply thread


Ryan Ferons

August 18, 2015 at 8:05 pm

I am running EE 3.1.37.5.P and WP 4.3 Just upgraded hoping it would solve this issue.
Attendee’s payment status are not being updated to completed after receiving a successful notifcation from Paypal.
I ran a test payment through a paypal sandbox account.
In my access log I can see the notification come from paypal.
173.0.82.126 - - [18/Aug/2015:21:26:00 -0400] "POST /transactions/?r_id=24-55d3d7f8cb4be&type=paypal&id=360&event_id=24&attendee_action=post_payment&form_action=payment HTTP/1.0" 200 16370 "-" "PayPal IPN ( https://www.paypal.com/ipn )"

Once that request comes in I can see my debug log gets filled with a lot of notices from the paypal.php file. All the notices end with a final error
PHP Deprecated: Function eregi() is deprecated in /var/www/cabsc/cabsc/wp-content/plugins/event-espresso/gateways/paypal/Paypal.php on line 165
I am running php 5.6.4-4ubuntu6 on Apache/2.4.10 (Ubuntu). eregi was deprecated as of php 5.3. Why are deprecated functions being used in a premium plugin? this function should be changed to use preg_match instead.

After testing the change however my issue is still unresolved. Attendee information is still not being updated after a successful notice is received. Any direction on this will be helpful.

Thanks


Lorenzo Orlando Caum

  • Support Staff

August 19, 2015 at 10:18 am

Hi there Ryan,

This isn’t working in live mode or in sandbox mode with PayPal?

Have you temporarily deactivated other plugins to rule out a conflict?

On the deprecated notice, we’ll check into that. While we would like all of our members to use a current version of PHP, we do have members that are on old versions of PHP like 5.3.x and even 5.2.x.


Lorenzo

Viewing 1 reply thread

The support post ‘Attendee payment status not updating after paypal successful payment’ 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