You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see this error on the checkout page and the “Debit/Credit Card” option button does not appear:
Failed to execute 'querySelector' on 'Document': '["#ppc-button-ppcp-gateway","paypal"]' is not a valid selector.
The button shows up for a quick second and then disappears. I have disabled all plugins on the website and kept it disabled. The only active plugins currently are WooCommerce and WooCommerce Paypal Payments.
To Reproduce
in checkout page (storefront) go edit page mode
and if you are in block mode you have two choice to switch to classic shortcode mode see this screenshot https://ibb.co/34Kp7xp
in right side settings (switch to classic checkout button) (will be good!)
in left side slassic shortcode option form the menu (will be error)
and if you select the second options (2.) and update the page see the result this will be cause an error and the paypal button shows up for a quick second and then disappears. Failed to execute 'querySelector' on 'Document': '["#ppc-button-ppcp-gateway","paypal"]' is not a valid selector.
the solution: use the in right side settings (switch to classic checkout button) (will be good!)
InpsydeNiklas
changed the title
Failed to execute 'querySelector' on 'Document': '["#ppc-button-ppcp-gateway","paypal"]' is not a valid selector.
Failed to execute 'querySelector' on 'Document': '["#ppc-button-ppcp-gateway","paypal"]' is not a valid selector. (2830)
Apr 12, 2024
Describe the Bug
I see this error on the checkout page and the “Debit/Credit Card” option button does not appear:
Failed to execute 'querySelector' on 'Document': '["#ppc-button-ppcp-gateway","paypal"]' is not a valid selector.
The button shows up for a quick second and then disappears. I have disabled all plugins on the website and kept it disabled. The only active plugins currently are WooCommerce and WooCommerce Paypal Payments.
To Reproduce
the solution: use the in right side settings (switch to classic checkout button) (will be good!)
Screenshots
https://ibb.co/34Kp7xp
Expected Behavior
Actual Behavior
Environment
WP Version: 6.4.3
WC Version: 8.6.1
storefront ( 4.5.4)
woocommerce-paypal-payments 2.6.0
Additional Details
because in block mode dont show any paypal button (this is a bug too i think) i switch to classic shortcode mode
more info here:
https://wordpress.org/support/topic/failed-to-execute-queryselector-on-document/
System status
The text was updated successfully, but these errors were encountered: