eWAYPayment / eway-rapid-node

eWAY Rapid Node.js library
https://www.eway.com.au/
MIT License
11 stars 7 forks source link

Can it used within React web application ? #3

Open amitbravo opened 6 years ago

amitbravo commented 6 years ago

Just wondering if I can use it within my reactjs web application ?

incarnate commented 6 years ago

Hi @amitbravo, This library is targeted for server side applications, rather than client side. Depending on your use-case, you could use the ecrypt library to do client side encryption.

In any case you will need a server side component to handle accepting the result of the transaction, as this is never returned to the client side (as then there is opportunity for a malicious user to mess with it).