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

Mention browsers supported or add optional chaining support for old browsers #169

Open
Sidsector9 opened this issue Jun 12, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Sidsector9
Copy link

Is your feature request related to a problem? Please describe.

Hello Square Team, recently a customer raised an issue with us saying that Square payments is breaking on his mobile device that runs Safari 12.1.2.

I was able to reproduce the issue via Browserstack

From what I can see, it looks like Safari 12.1.2 does not support optional chaining in JS. See the image below:

Screenshot 2023-05-22 at 7 17 13 PM

Describe the solution you'd like

Add support for optional chaining or specify minimum browser versions supported. This will help us to inform customers to update their systems.

@Sidsector9 Sidsector9 added the enhancement New feature or request label Jun 12, 2023
@Sidsector9 Sidsector9 changed the title Mention browsers supported Mention browsers supported or add optional chaining support for JS Jun 12, 2023
@Sidsector9 Sidsector9 changed the title Mention browsers supported or add optional chaining support for JS Mention browsers supported or add optional chaining support for old browsers Jun 12, 2023
@maxbeatty maxbeatty self-assigned this Jun 12, 2023
@jeffpaul
Copy link

👋🏼 @maxbeatty checking in to see if you've got any questions on this specific issue (and its impacts on the WooCommerce Square extension)?

@maxbeatty maxbeatty removed their assignment Jul 5, 2023
@maxbeatty
Copy link
Contributor

are you able to share a reproduction?

We do intend to support this browser for now even though Apple appears to have stopped supporting it.

@Sidsector9
Copy link
Author

@maxbeatty I have set up a simple Github page - https://sidsector9.github.io/square-cdn/

Visit this page using Safari 12.x on MacOS Mojave, you'll be able to observe the error.

@jeffpaul
Copy link

@maxbeatty checking back on this to see if it's on the roadmap or something we should consider unlikely resolved anytime soon?

@CodeSamuraiInc
Copy link

I've been falling down the rabbit hole trying to find the right person to address this issue. I am experiencing the same issue but with the newest versions of Chrome, Edge, and FF. This issue doesn't happen all the time. Not sure if this is the correct thread dealing with the problem. The issue I am experiencing is the same as this: https://wordpress.org/support/topic/plugin-no-longer-working-with-older-versions-of-safari/. The difference is that I can replicate the issue with the browsers I mentioned on a desktop. My customer is also having the same problem. The plugin developer is stating this is a Square issue. Can someone please confirm this is a problem with the Square service and if this can be fixed? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants