Replies: 0
I followed the instructions stated on your docs https://docs.woocommerce.com/document/stripe/#section-22 and then got a lot of these errors.
Uncaught Error: Class ‘WC_Stripe_Payment_Request’ not found in /home/holistic/public_html/wp-content/themes/flatsome-child/functions.php:3
Stack trace:
#0 /home/holistic/public_html/wp-settings.php(424): include()
#1 /home/holistic/public_html/wp-config.php(78): require_once(‘/home/holistic/…’)
#2 /home/holistic/public_html/wp-load.php(37): require_once(‘/home/holistic/…’)
#3 /home/holistic/public_html/wp-blog-header.php(13): require_once(‘/home/holistic/…’)
#4 /home/holistic/public_html/index.php(17): require(‘/home/holistic/…’)
#5 {main}
thrown in /home/holistic/public_html/wp-content/themes/flatsome-child/functions.php on line 3
Also my website went blank with error 500 when I tried to switch to trouble-shooting mode using WP Health Check. But once I have your two lines of code removed, it’s all gone.
Could you advise a proper solution to hide the Payment Request Button please?
Thanks!