Can I integrate a payment gateway in a website built with REACT

Hello All,
I am starting to learn some REACT. Now, generally payment gateways need some HTML code snippet like a “buy now” button to be inserted into a page. How can I do that in REACT?

1 Like

What do you know so far? generally you need to know how to interact with a button in react via an event callback with the props of the component , like onClick() for instance.

Is the rest of the system already PCI compliant? If not, you’re in for a long haul and I’d suggest you redirect the users to do all the transactiony stuff off-site (iframe or redirect).

@lynxlynxlynx
Yes Sir, that makes sense to me.
Thank you.

Also, take a look at how payment gateway works, I think it will be useful for you.