Two “pay” buttons on checkout page
-
Hi, after activating the plugin (which works quite fine), I have a problem with the PayPal Pay Now Button.
When someone selects “Paypal” in the list of payment options, the yellow Paypal button will appear – but the original “Buy Now” button is still there. If people click on it, they will get an error. Only if they click the yellow Paypal button, everything works out.
https://ibb.co/S7vTQCv
HTML Code if both buttons are shown:<div class="wc-gzd-order-submit"> <div class="form-row place-order wc-gzd-place-order"> <noscript> Da dein Browser kein JavaScript unterstützt oder dieses deaktiviert ist, klicke bitte auf jeden Fall auf den Button <em>Gesamtbetrag aktualisieren</em>, bevor du deine Bestellung abschlie?t. Anderenfalls k?nnte dir ein h?herer Betrag in Rechnung gestellt werden, als derzeit oben angezeigt wird. <br/> <button type="submit" class="button alt" name="woocommerce_checkout_update_totals" value="Gesamtbetrag aktualisieren">Gesamtbetrag aktualisieren</button> </noscript> <div id="ppc-button" style="display: block;"><div id="zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq" class="paypal-buttons paypal-buttons-context-iframe paypal-buttons-label-pay paypal-buttons-layout-vertical" data-paypal-smart-button-version="5.0.263" style="height: 45px; transition: all 0.2s ease-in-out;"><style nonce=""> #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq { position: relative; display: inline-block; width: 100%; min-height: 35px; min-width: 200px; max-width: 750px; font-size: 0; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > iframe.component-frame { z-index: 100; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > iframe.prerender-frame { transition: opacity .2s linear; z-index: 200; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > iframe.visible { opacity: 1; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > iframe.invisible { opacity: 0; pointer-events: none; } #zoid-paypal-buttons-uid_4ef2357f45_mdg6mti6mtq > .smart-menu { position: absolute; z-index: 300; top: 0; left: 0; width: 100%; } </style><iframe allowtransparency="true" name="" title="PayPal" allowpaymentrequest="allowpaymentrequest" scrolling="no" id="jsx-iframe-128d89141e" class="component-frame visible" style="background-color: transparent; border: none;"></iframe><div id="smart-menu" class="smart-menu"></div><div id="installments-modal" class="installments-modal"></div><iframe name="__detect_close_uid_5cc1366d2a_mdg6mti6mtq__" style="display: none;"></iframe></div></div> <button type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="Jetzt kaufen" data-value="Jetzt kaufen" style="">Jetzt kaufen</button> <div id="woo_pp_ec_button_checkout" style="display: none;"></div> <input type="hidden" id="woocommerce-process-checkout-nonce" name="woocommerce-process-checkout-nonce" value="5b60111b09"><input type="hidden" id="woocommerce-process-checkout-nonce" name="woocommerce-process-checkout-nonce" value="5b60111b09"></div> </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Two “pay” buttons on checkout page’ is closed to new replies.