Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Google Pay button in the block Checkout in the editor (3374) #2464

Conversation

danieldudzic
Copy link
Collaborator

Description

This PR fixes the Google Pay button in the block checkout editor, by refactoring script loading to allow for custom namespaces.

Steps to Test

  1. Test the express buttons in the block Checkout in the editor and the page - verify they are being displayed correctly.
  2. Make sure to test with Google Pay and Apple Pay enabled.
  3. Make sure as much as possible the script loading script refactor didn't break anything 🙈

Screenshots

Before After
Edit_Page_“Block_Checkout”_‹paypal—_WordPress Edit_Page_“Block_Checkout”_‹paypal—_WordPress

…in-safari-a-developer-error-is-displayed' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
…ments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
…in-safari-a-developer-error-is-displayed' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
…ments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
@InpsydeNiklas InpsydeNiklas added this to the 2.9.3 milestone Oct 3, 2024
@Dinamiko Dinamiko merged commit 8592213 into trunk Oct 3, 2024
8 checks passed
@Dinamiko Dinamiko deleted the PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor branch October 3, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants