Woocommerce Payments iframe disappears after updating form content
-
Hello everyone,
I have a problem integrating Woocommerce Payments into a customer’s shop.
The Stripe iframe is initially displayed to me, but if I choose a different payment method or the form is reloaded for other reasons, the iframe is then missing. Not only is it not displayed, it has completely disappeared from the DOM. It is also noticeable that the label for Woocommerce Payments at the beginning (i.e. when the iframe is still displayed) has the following caption: “Popular payment methods” and then afterwards “WooCommerce payments”.
It is possible to activate the radio button afterwards, but the iframe is still missing. To be more specific, I’m talking about the following DOM element: <div class=”__PrivateStripeElement” …>…(iframe)…</div>This is probably caused, among other things, by the AJAX call “?wc-ajax=update_order_review”. After such a call, the part with the iframe from the DOM is missing.
I very much hope that you can help me with the problem, otherwise I would have to use other means of payment.
Thanks in advance!
Kind regards,
Patrick
- The topic ‘Woocommerce Payments iframe disappears after updating form content’ is closed to new replies.