woocommerce / woocommerce-gateway-paypal-express-checkout

59 stars 64 forks source link

MiniCart Widget – Modal Popup not displaying #328

Closed terencenus closed 5 years ago

terencenus commented 7 years ago

Recalling the Issue #53, on desktop when clicking the button on the mini-cart widget, the Paypal In-Context Checkout modal window doesn’t pop up, instead the checkout continues in the same browser window. Instead the modal iFrame should open and a black layer should overlay the website on background, exactly like if the button is pressed on the cart page.

widget not correct when checkout from widget

Tested with StoreFront, other themes, WooCommerce 3.2.x and the Official plugin WooCommerce PayPal Express Checkout Gateway 1.4.4.

dechov commented 6 years ago

This is supported in 1.6 by Smart Payment Buttons (if enabled), which adds a JS integration to the mini-cart as well:

screen shot 2018-06-01 at 10 09 32 am

(Can close in favor of https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/436, or keep open while Smart Payment Buttons are optional, to track this for merchants who haven't enabled them.)