Posted: December 27, 2018 at 10:42 am
|
This issue appears to coincide with BlueHost, our web host, upgrading their PHP from 5.X to 7.X. They performed this upgrade the night of December 18, and we started having issues on December 19. The issue I’m experiencing happens at the end of the checkout process, when someone clicks Submit after filling in their payment card details, going through the checkout process starting on this page: I enabled WP_DEBUG and can see I’m getting the following error after hitting Submit payment: Confirmation emails are not sent, payments are not being processed by PayTrace, our payment gateway provider. I can see many failed transactions in this event’s registration since Dec. 19th. The blank Thank You page has a URL something like this: https://socialworkfoundations.com/thank-you/?r_id=20-5c250c262e31a I am not a PHP coding expert. Is there a change to the code I can make to resolve the issue? Or an update to the PayTrace gateway, perhaps via a patch? Perhaps the PayTrace gateway code doesn’t work on PHP 7, and BlueHost needs to roll me back to PHP 5? Suggestions are welcome, and thanks for your help. |
Hi, Thanks for the detailed report. You’re correct, the PayTrace gateway in its current state is not compatible with PHP 7. I made a branch of EE3 that includes an updated PayTrace gateway, and you can download it from here. Then, to install, you’ll deactivate & delete EE3, then upload install the updated version on the WP > Plugins page. |
|
|
Hey Josh, Question: After deactivating, deleting, and re-installing EE3, will the event data/settings be carried over into the new install? I am not sure if there’s a config file that will persist after deleting EE. Or will I need to manually input all the event data again (time, date, pricing, payment gateway settings). Also, will the already registered event attendees (there are about 90 of them) re-appear in the fresh install? |
Yes the data will remain because event data, registrations, settings, and everything else is stored in the site’s database. There are no config files in Event Espresso. All you’ll be doing is updating to the next release a tad bit early before it’s officially released. |
|
|
Hey Josh, Thank you for the custom EE fix! I followed your steps and we are up and running again! To save some time, is there a way to re-run failed transactions in EE? Or do we have to email these folks to let them know to register again? We’ve had about 27 failed transactions since Dec. 19. |
The fix will be included in a future update of EE3, so it’s nothing custom. With regards to the failed transactions, what you can do is first check in the PayTrace account to see if the payments were posted there. The point of failure would appear to happen after the payment was posted to PayTrace. If their payment did post before the error, then they’ve likely payed and you can manually update their registration in Event Espresso by adding the record of payment. If the payment did not post, you can go to Event Espresso > Event Overview, then view the attendee list, then click View/Edit Payment on the Edit Attendee Data, then send a payment reminder. |
|
|
Thank you so much, Josh! I believe we are all set, and this problem has been fully resolved. |
The support post ‘PHP Fatal error: PayTrace gateway, Thank You page loads blank’ 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.