PHP Warning woocommerce-gateway-stripe
-
Hi everyone,
I recently activated Google Pay and Apple Pay in the Stripe configuration and since then I have 2 problems:
First problem, in my error_log file I am looking forward to this warning: [10-Jan-2020 19:07:40 UTC] PHP Warning: preg_match (): Unknown modifier ‘& amp;’ in /home2/descalificado/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php on line 988
[10-Jan-2020 21:44:35 UTC] PHP Warning: preg_match (): Unknown modifier ‘& amp;’ in /home2/descalificado/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php on line 975
[10-Jan-2020 21:44:35 UTC] PHP Warning: preg_match (): Unknown modifier ‘& amp;’ in /home2/descalificado/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php on line 988.The second problem, I do not understand why, the button (Buy now) of Google Pay on the cart page works worldwide, on PC and mobile devices, except me, which only works on mobile devices, on PC NO It works for me, I tried everything, browsing incognito, clearing cache, I have checked all the Google pay settings from top to bottom, I can pay in my store with the mobile but the button does not appear on the PC. I’ve also tried on different computers and nothing, it doesn’t work. I have opened the Google inspector and I see these display: none.
<p id = «wc-stripe-payment-request-button-separator» style = «margin-top: 1.5em; text-align: center; display: none;»> – O – </p>
<div id = «wc-stripe-payment-request-wrapper» style = «clear: both; padding-top: 1.5em; display: none;»>
<div id = «wc-stripe-payment-request-button»>
<! – A Stripe Element will be inserted here. ->
</div>
</div>In Stripe support I have been told to contact woocommerce support.
Can you help me?
Thank you.
- El debate ‘PHP Warning woocommerce-gateway-stripe’ está cerrado a nuevas respuestas.