-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Store: Fix Apple Pay Option #21618
Store: Fix Apple Pay Option #21618
Conversation
…ttons. This updates the setting & UI.
0fe2d14
to
f1bbeae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a site
edit: Workaround: Save settings once in wp-admin, then force refresh calypso |
@allendav Thank you so much for tracking it down that it was those other options. I made a fix that should set these values if they are empty. See d3b08f3. You should now be able to save if you have borked settings. I made a little plugin to make it help mess up your settings so you can test the fix along with the rest of this branch. To Test:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the latest updates all is looking good and testing well on the two sites I was experiencing issues with yesterday. Thanks for the work on this @allendav and @justinshreve
Apple Pay support still exists in the latest Stripe Gateway plugin, but has been renamed to "Payment Request Buttons" which also includes Chrome Pay support.
This updates the option we are saving, as well as the text to reflect that both will be enabled (which matches what wp-admin does).
It also introduces a temporary API fix that is causing Stripe saves to fail for new stores (which was also reported on our P2 this morning). The value 'default' gets pushed back for one of the settings that is a dropdown and only has three valid options. This one forces a default. I opened an issue at woocommerce/woocommerce-gateway-stripe#459. I'm not sure if we want to offer a drop down option for this either or just stick with the default the gateway sets. I've left it out for now but we can add it in a follow-up.
To Test: