Square promise polyfill breaks developer's codebase

I noticed Square automatically loaded some polyfills and it resulted in breaking my code while I was using Web SDK. I think It should be optional (opt-in) . Do you have some remedy for that?

:wave: We’re wondering which polyfill is giving you issues and what specific issues/errors is it causing for you?

Hi Bryan. Promise polyfill overrides global Promise object and it seems ‘allSettled’ method does not exist in your polyfill. Additionally, it would be great if you could provide an option to load a polyfill.


Any update on this?


The team is working on a fix for this. Unfortunately, we don’t have a timeline for the fix. :slightly_smiling_face: