Integrating Square web payments with Angular

I am having trouble integrating the web payments sdk into my Angular application. I am having the same issue as described here: javascript - Ionic/Angular Square Web Payments - Stack Overflow

The script seems to take over the application and causes issues with routing within the application. I have tried to use the sdk through both npm and by including the script, but neither way seems to work with Angular. Has anyone else had this problem and managed to solve it? Or is this a bug?

1 Like