BUG REPORT:
Visit any Shopify template using INCOGNETO mode (or with cleared cookies)
Note the following LIQUID render:
{{ form | payment_button }}
Causes this problem:
when an end user’s “preferred method” can not be detected by
data-testid="upstream-button"
The Shopify FORM render produces a DISABLED button and ARIA-DISABLED method selectors which do not show at all, preventing any sale from occuring.
This problem was non-existent prior to around Nov or Dec 2022
Prior to that time the Shopify form render defaulted to “add to cart” triggered an add-to-cart action
Our patch here was simply to HIDE disabled buttons in CSS, and use our own custom “add to cart” button
but this is not the ideal situation because the bug is also harming other stores we manage.
EXPECTED BEHAVIOR
Rendering the following for any product that is IN STOCK:
{{ form | payment_button }}
Should ALWAYS allow a payment method within shopify-payment-button → shopify-cleanslate even if the user’s default “preferred” method is not available at the time of the DOM render or via cookies.
None of these should be “disabled” during INCOGNETO mode
When an end user’s “preferred method” can not be detected by the DOM
data-testid="upstream-button"
the ‘upstream’ button should still result in the sacred “give you money” buy action
at no time should a customer be prevented from “buying” something just because the Shopify ‘upstream’ button could not detect their preferred payment method
IDEA:
Let us select a PREFERED DEFAULD UPSTREAM BUTTON to show to customers when this situation occurs.
Place that option into SETTINGS->CHECKOUT
Call it “Set default upstream button” and honor our default.

