Support

Home Forums Event Espresso Premium Purchase Screen locks up after submitting Credit Card info for purchase

Purchase Screen locks up after submitting Credit Card info for purchase

Posted: April 14, 2016 at 2:47 pm


Daniel Samsel

April 14, 2016 at 2:47 pm

Need help ASAP.

I have EE 4.8.36p
I’ve been testing an issue with Class/Event purchases.

When a credit card is submitted:
IF DECLINED nothing happens. It looks as though the screen locks up.

IF CARD IS APPROVED the page scrolls to the top of the screen and again appears to lock/freeze. If I hit F5/REFRESH the screen I see the CONGRATS message.

If the card is approved I receive the confirmation emails and tickets as I normally would if I refresh the screen or not.

TEST CLASS:
https://hopeforbeauty.com/hope/events/test-class/
This is a link to the test class I’m using. If you go through the process the accounting department knows to refund any money that is linked to this class purchase.

The client uses Authorize.net as their gateway.

Here are some screen shots:
Confirmation Email from Authorize.net
http://trubeautyconcepts.com/ee/auto-receipt-1.JPG

Payment Screen Freeze/lock:
http://trubeautyconcepts.com/ee/payment-freeze-screen.JPG

Payment Success if refreshing screen after submitting payment:
http://trubeautyconcepts.com/ee/success-after-refresshing-screen.JPG

I hope to hear from you as soon as possible.

Thanks


Josh

  • Support Staff

April 14, 2016 at 3:49 pm

Hi Daniel,

I checked your site and even when I try to add tickets to the cart it’s painfully slow. Is this site hosted on a Godaddy shared server? If so, you’ll find that when you move the site to a more capable hosting plan, like one of the options we list here, the site will perform much better and not lock up during the registration and payment process.


Daniel Samsel

April 14, 2016 at 6:12 pm

Josh,
Thanks for the quick response.
One thing to note that the client does have use a code for free classes and all works fine.

You are correct about the GoDaddy hosting. The client has Deluxe hosting on a Shared Hosting plan. Old servers not cPanel.

It’s not as though I can jump ship from GoDaddy to another hosting service over night, so would you have any recommendations to help solve the problem in the meantime?

According to the requirements link you had supplied. Their server meats the requirements, though it states PHP 5.39 and I think 5.4 may help theoretically.
fsockopen is enabled.

To upgrade to EE 4 I did upgrade the PHP to 5.3 and their mySQL is 5.5. I can upgrade the PHP to 5.4 contact GoDaddy to see about increasing the server’s resources. Do you think that will help correct the problem?

Let me know your thoughts.

Thanks again for the quick reply.


Daniel Samsel

April 14, 2016 at 6:24 pm

One more question:
If I were to switch hosts for this EE4 site, would a shared hosting plan on SITEGROUND be enough?


Tony

  • Support Staff

April 15, 2016 at 3:05 am

It’s not as though I can jump ship from GoDaddy to another hosting service over night, so would you have any recommendations to help solve the problem in the meantime?

The problem right now seems to be that your site is running out of memory, when I make a payment (using a test card so its not exactly the same) I get this error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 50306 bytes) in /wp-includes/functions.php on line 345

Which means your memory limit i set to 64MB (there’s usually a little wiggle room, the value above is around 67MB) and is running out of memory.

You’ll need to up the memory limit set on the server, you can do this within wp-config.php by adding something like:

define('WP_MEMORY_LIMIT', '96M');

Or a higher value if available.

More info is available here: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

According to the requirements link you had supplied. Their server meats the requirements, though it states PHP 5.39 and I think 5.4 may help theoretically.
fsockopen is enabled.

The requirements page lists what EE requires to actually function, for example we use functions only available within PHP 5.3+, so it’s a requirement. EE4 will not even allow you to activate on a server running PHP 5.2.

If I were to switch hosts for this EE4 site, would a shared hosting plan on SITEGROUND be enough?

We have seen many users using SiteGround with EE so yes. However it will also depends on the amount of memory you need and the package you go for, also you’ll need to make sure any server side caching is disabled on EE pages.


Daniel Samsel

April 15, 2016 at 1:35 pm

Tony,

Thank you for the response.

I will discuss with client on moving to a new hosting company.

I increased the Memory and tested. All WORKED as expected.

After clicking to Process Payment should there be a loading/processing animation or anything of that nature?

Currently nothing happens and then it goes to the Congrats page message.


Josh

  • Support Staff

April 15, 2016 at 2:17 pm

It depends on the payment method being used, and how long it takes for the gateway response to happen.


Daniel Samsel

April 15, 2016 at 3:02 pm

I think we’re good for now. Thanks for the excellent support. I have another question, but will start a new thread.

Thanks again
Dan

The support post ‘Purchase Screen locks up after submitting Credit Card info for purchase’ 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