stripe-archive / stripe-payments-demo

Sample store accepting universal payments on the web with Stripe Elements, Payment Request, Apple Pay, Google Pay, Microsoft Pay, and the PaymentIntents API. 💳🌍✨
https://stripe-payments-demo.appspot.com
MIT License
1.47k stars 547 forks source link

Not working with IE11 #152

Open jackrichardson opened 4 years ago

jackrichardson commented 4 years ago

Bug report

Describe the bug

Not working with IE11.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to this link, which is a hosted version of this, and you will find a largely blank page below the header in IE11

Expected behavior

It should work as it does in other browsers. The Stripe documentation says IE11 is supported.

System information

Additional context

The Accepting A Card payment Stripe sample also does not work with IE11, as reported here. This can once again be easily demonstrated by loading the hosted example specified in the readme in IE11. I am therefore assuming that the problem which is preventing these samples from working is with the latest version of Stripe JS.

I completely understand that IE11 is an outdated browser, but the problem is that a certain percentage of my clients still use it, meaning I need to support it.

hofman-stripe commented 4 years ago

@jackrichardson thanks for the feedback. Sorry for the confusion regarding support. Stripe.js itself does support IE11. You can verify this on the Elements Examples page. Stripe Checkout itself also does support IE 11.

However as you've seen, some of our demos and documentations do not render properly in IE11. We'll look into making the demos and integrations examples support the same browsers as our core library, but it's difficult to strike a balance between conciseness of examples and browser support. Most modern frontend frameworks no longer support IE 11 out of the box, and providing a build toolchain to support outdated browsers is somewhat out of scope for these demos.