x

Is the Square javascript compatible with virtual DOM systems like React?

Hi All...

 

I am implementing a web page to accept payments using the Square API and I have read abot how it works. I see the main idea is that Square provides hosted javascript to get the nounce. My system is being built with React, and having read th PI docs I'm wondering if the Square JS is compatible with React and similar virtual DOM sytems?

 

Thanks very much.

 

Tags (1)
731 Views
Message 1 of 2
Report
1 REPLY 1
Alumni

Yep! 

 

If you look through the examples, most of them have sample implementations in React, Angular, etc. Here is the Rails Sample payment app for Square's APIs.

707 Views
Message 2 of 2
Report