google / google/material-design-lite
How to re initialize paypal in woocommerce
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
I installed WooCommerce PayPal Checkout Gateway for [my test site](https://dev.cmhelmets.com/product/sebastian-vettel-2018-united-states-gp-f1-replica-helmet-full-size/) 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.](https://github.com/paypal/paypal-checkout-components/issues/984)
Does anyone know what I can do to re initialize the paypal buttons?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.