8000 Apple-Pay Button Misaligned & Oversized on Key Pages · Issue #10750 · Automattic/woocommerce-payments · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Apple-Pay Button Misaligned & Oversized on Key Pages #10750

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

Closed
Everade opened this issue May 6, 2025 · 5 comments
Closed

Apple-Pay Button Misaligned & Oversized on Key Pages #10750

Everade opened this issue May 6, 2025 · 5 comments
Assignees
Labels
type: bug The issue is a confirmed bug.

Comments

@Everade
Copy link
Everade commented May 6, 2025

Describe the bug

All pages displaying the "Buy with Apple-Pay" and "Buy with Google-Pay" buttons have CSS issues, causing the Apple-Pay button to render incorrectly, especially with the "Outline" theme setting.
Only the top black outline is visible; the left, right, and bottom outlines extend beyond the visible area.
Known affected pages are: Checkout Page, Cart Page, and Product Page. You can also observe this in the preview section when setting up the button theme.
Additionally, the fonts are inconsistent. The Apple-Pay button uses a substantially larger font size.

To Reproduce

  1. Navigate to WooCommerce Settings -> Payments -> WooPayments
  2. Activate Apple Pay & Google Pay express checkouts
  3. Click on "Customize" on the right side next to the express checkouts you just activated
  4. Set the Button Theme to "Outline"
  5. Observe the Preview section directly below the settings. The Apple Pay Button should not display as expected.

Or on a live website:

  1. Go to the Checkout, Cart, or a Product Page
  2. Wait for the Apple-Pay and Google-Pay buttons to appear
  3. Observe the visual bugs

Actual behavior

The Apple-Pay button appears to use a different CSS setup than the Google-Pay button. As a result, they display inconsistently.
This includes the missing outlines caused by an oversized Apple-Pay button, as well as the larger font size used for the Apple-Pay button.

Screenshots

Product Page:
Image

Cart Page:
Image

Checkout Page:
Image

Expected behavior

All payment buttons should display and behave consistently.

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version: 136.0.7103.48 (Official Build) (64-bit)

Additional context

Possibly related:
#10751
Recent bug report that may have attempted to address similar issues:
#10043

I use a custom theme called "MinimogWP." While this may contribute to the display issues, it's worth noting that the CSS setups for these two buttons still appear to be substantially different coming from this plugin.

It displays exactly the same directly within the WooCommerce Settings.

@Everade Everade added the type: bug The issue is a confirmed bug. label May 6, 2025
Copy link
Contributor
dmvrtx commented May 14, 2025

I'm not sure how to reproduce it - it appears to be a theme conflict, rather than a plugin issue. E.g. I checked with Storefront theme:

image.png

And then with the block-based Twenty Twenty-Five:

image.png

Nothing out of ordinary can be observed. In my case it was WooPayments 9.3.0 with WooCommerce 9.8.1

@marcinbot
Copy link
Contributor

Hi @Everade

We weren't able to reproduce the issue. Could you change your store's theme to Storefront and see if the problem still persists? If doing that fixes the button appearance, the problem might be with the theme you're using, not WooPayments.

I will close this issue until then.

@Everade
Copy link
Author
Everade commented May 15, 2025

@marcinbot
Issue persists. As i've noted, it's possibly related to this issue, as it fails to apply the intended styles:
#10751

This is how it looks like for me in the WooPayments - Apple Pay / Google Pay settings:
Image

Image

@marcinbot
Copy link
Contributor

Thanks for the update! I'll reopen then

@marcinbot marcinbot reopened this May 16, 2025
@linear linear bot assigned dmvrtx May 16, 2025
@dmvrtx
Copy link
Contributor
dmvrtx commented May 16, 2025

@Everade, I haven't noticed it at first, but this request is about Apple Pay on the non-Safari browser, and even on Windows. This is an experimental feature from Stripe, using new Apple APIs.

I think it makes sense to close this one as a duplicate of #10751, which should stay open as a bug-report for that experimental feature. It was communicated to Stripe and is being looked into. But due to the experimental nature of it, I don't see much sense in trying to fix it from our end.

@oaratovskyi oaratovskyi closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

4 participants
0