Hello,
the problem is when I do that the fields to fill in your card details to make a purchase becomes very small and not editable.
This sounds like a conflict issue with your theme or plugin. To determine what’s causing it, please try the following:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce and Stripe
If the card fields look normal after this, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
I did that and it’s still the same can you just help me with a code to put in my function.php file to hide the button that would work in that case the option is active but the button hidden
Hi,
You can hide the button as well as separator by adding a CSS code to Appearance > Customize > Additional CSS:
#wc-stripe-payment-request-button, #wc-stripe-payment-request-button-separator {
display: none !important;
}
You’re welcome! I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.