Automattic / Automattic/wp-super-cache
Super Cache: PayPal "Advanced Card Processing" fields missing on mobile phone only
- Dominant language
- PHP
- Stars
- 436
- Forks
- 130
- Avg merge
- 15h 11m
- Merged PRs (30d)
- 10
Description
### Impacted plugin
Super Cache
### Quick summary
Only on MOBILE phone: on the WooCommerce checkout page, the following fields are blank (appear missing):
1. Card number
2. Expiry (MM/YY)
3. CVV
They should appear when the "Credit Cards" payment method is selected.
### Steps to reproduce
WordPress 6.4.1 with following plugins installed and active:
* WooCommerce 8.3.0
* WooCommerce PayPal Payments 2.4.1
* WP Super Cache 1.11.0
WooCommerce Payment Methods enabled:
- PayPal
- Advanced Card Processing (PayPal)
On a MOBILE phone:
1. Add a product to the cart
2. View cart
3. Proceed to checkout
4. Scroll to bottom of page
5. Select "Credit Cards" radio button
### A clear and concise description of what you expected to happen.
Each field should be a `` containing an `` (whose "src" is a hosted form from Braintree.com?) which (apparently) contains a simple HTML document containing the `<input>` (along with some JavaScript and a `<label>` which is not shown).
I say "apparently" because the `<html>`, `<head>` and `<body>` elements may be generated by my browser.
### What actually happened
The `<iframe>` elements apparently just contains an HTML document with an empty `<head>` and an empty `<body>` element.
I say "apparently" because the <html>, <head> and <body> elements may be generated by the phone browser and the content actually totally empty. I do not have much ability to debug the mobile phone browser.
### Impact
Some (< 50%)
### Available workarounds?
No but the platform is still usable
### Platform (Simple and/or Atomic)
_No response_
### Logs or notes
When testing on the mobile phones, I had to refresh the phone browser to ensure it was not serving a cached version of the page with the issue present/absent.
Issue present using 4 phones:
- Moto G5 (Android 8.1)
- Samsung A53
- iPhone (a friend's - unknown vintage)
- At least one customer has reported the issue (unknown phone)
I have disabled all plugins and enabled them one at a time, testing each time. When I enabled "WP Super Cache" the issue occurred. When I disabled "WP Super Cache" the issue disappeared. With all other plugins enabled except "WP Super Cache", the issue is not present.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.