material-design-lite icon indicating copy to clipboard operation
material-design-lite copied to clipboard

How to re initialize paypal in woocommerce

Open tomasmd opened this issue 6 years ago • 3 comments

I installed WooCommerce PayPal Checkout Gateway for my test site but I'm having trouble rendering the pay now buttons.

It turns out that my theme for some reason attempts to wrap all the content of the page inside one of its own containers after the site has finished loading. this means that in recreating that content, payPal is not re initialized and so It's lost. You can actually see the button dissapear.

I made a ticket about it but couldn't follow up with a solution. Jon suggested trying to re initialize it from the new wrapper but I have no idea how to do that.

Does anyone know what I can do to re initialize the paypal buttons?

Thanks!

tomasmd avatar Feb 25 '19 20:02 tomasmd

Works for me.

rickbeacham avatar Apr 17 '19 04:04 rickbeacham

Seems you have solved the problem, Can you tell how? I'm having same problem. But It has nothing to do with material-design-lite.

ItsmePNP avatar Nov 08 '20 10:11 ItsmePNP

I have also the same problem. Sometimes it works and sometimes not. It works less in mobile. I have no solution.

CatherineColin avatar Feb 14 '21 08:02 CatherineColin