Checkout not working
-
Hi,
We are using the WooCommerce plugin version 2.6.1 and it was recently updated.
We are also use the latest version of PayPal for WooCommerce 1.2.3 (PayPal Payments Pro (PayFlow)Our checkout doesn’t work when the PayPal for WooCommerce plugin is active. If I deactivate it, the checkout works but of course there is no payment option.
I’ve tried to check the settings but I keep getting Error 500
Any help would be greatly appreciated.
-
500 error means there must be some sort of a PHP failure happening causing the page to be unable to load. This could happen for a number of reasons.
The first thing I would check is your PHP version. Our plugin requires 5.3+ to work correctly. If you are running anything under that it would be highly recommend to upgrade PHP on the server regardless of whether you continue using our plugin or not.
If you are already running PHP 5.3 or higher than it must be a conflict with some other plugin or the theme.
If you enable debug mode in WordPress it should show you more details on the failed screen.
Alternatively, you can check the PHP error logs on your server to see what’s showing up there.
Another option would be to disable other plugins to see if the issue goes away. If so, then re-enable each one at a time until the problem comes back. Then we’d know the culprit.
Running PHP version 5.4.43
I’ve already disabled all the plugins except for WooCommerce.
With just the WooCommerce plugin on, everything works. As soon as I turn on the PayPal for WooCommerce plugin (all other plugins are still off), the checkout stops working. All I get is a blank screen.Need to go ahead and enable debug mode or check the PHP error logs then. We need to see the error to get an idea of what might be going on.
Enabled debug mode and I get this:
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: Undefined index: card_icon in /home2/itwoctoo/public_html/wp-content/plugins/paypal-for-woocommerce/classes/wc-gateway-paypal-pro-angelleye.php on line 111
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /home2/itwoctoo/public_html/wp-includes/functions.php on line 3658
Fatal error: Class ‘WC_Gateway_PayPal_Credit_Card_Rest_AngellEYE’ not found in /home2/itwoctoo/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php on line 105
So you’re getting a bunch of notices about the use of force_ssl_admin() which has been deprecated. That must be coming from your theme if all other plugins are disabled, so you should really look into getting that updated.
The fatal error is what causes the blank white page (failure) and it’s saying that it cannot find the WC_Gateway_PayPal_Credit_Card_Rest_AngellEYE class.
The only time I’ve ever seen this error is when the site is not running on PHP 5.3+. That version is when namepsacing was introduced in PHP and the classes we are using depend on that.
So while your server may show PHP 5.4.43, it’s possible the server is running more than one version of PHP and this site is actually running something older. Can you look into that and see if that’s happening here, by chance?
The theme (Divi by Elegant Themes) is using the latest version and we called Bluehost and they swear that the site is use PHP version 5.4.43
Can it be anything else?
Can you load a file with phpinfo() in it on your site so we can confirm for ourselves that it’s running 5.4? I just really want to eliminate that possibility before we spend time looking into other things because I have never seen that error on 5.3+.
Sure, just let me know where you want the file and I will load it there. How do you want to send the file?
You just need to upload it to your server so we can load it and see its output.
Sorry,I’m not a developer so you will need to dumb it down a bit and be very specific in what you want me to do. Do you give me the file or do I create one?
Create a new PHP file with nothing but this in it:
<?php phpinfo(); ?>Save the file as “info.php” and then upload it to your web server.
Then we should be able to load http://www.yourdomain.com/info.php and see the output.
Done
Ok, now I need to know the URL to view so I can see it. 🙂
i2ctools.com :))
Ok, so now when you load this URL you’ll see the PHP info for your site: https://www.i2ctools.com/info.php
As you can see, it’s running PHP 5.2.17, so that’s your problem.
The topic ‘Checkout not working’ is closed to new replies.