Anurag Singh
Anurag Singh

Reputation: 98

Where to integrate PayU payment gateway

I'm developing an android app with server in nodejs(javascript). I want to know which side should I chose to integrate this gateway in order to make easy and safe payment from either server side(nodejs) or client side (android).

I will be glad to hear any response. Thank u.

Upvotes: 4

Views: 1095

Answers (1)

optimus
optimus

Reputation: 349

It should be in nodejs server. It will help you to secure salt key and reduce the chances of any temper in sending/receiving data. Also all the example of payumoney integration suggest it should be in backend.

There are other advantages as well to keep payment gateway in backend like if you want give discount to your customer, change keys change hashing method then it can be easily done without forcing customer to update their App.

Here is the link for payu integration sample code

Upvotes: 3

Related Questions