This is a WIP PR for handling support for "express payment methods" such as Apple Pay and Google Pay in gateways that support the WC Cart and Checkout blocks.
We still need the legacy AP/GP handling in JS as the button may be displayed also in the product page which has nothing to do with the blocks for now.
When blocks are detected, we should shut off the legacy scripts so that the new react-based frontend can take over.
Closes #655
Note that individual plugins will need specific handling to update the buttons. The Gateway will remain responsible of legacy shortcode checkout styles.
Before Merging
[x] Update version and FW namespaces to match 5.12.1
This is a WIP PR for handling support for "express payment methods" such as Apple Pay and Google Pay in gateways that support the WC Cart and Checkout blocks.
We still need the legacy AP/GP handling in JS as the button may be displayed also in the product page which has nothing to do with the blocks for now.
When blocks are detected, we should shut off the legacy scripts so that the new react-based frontend can take over.
Closes #655
Note that individual plugins will need specific handling to update the buttons. The Gateway will remain responsible of legacy shortcode checkout styles.
Before Merging