How to secure services data while sending to server ionicv1


#1

Hi I have implemented payu payment gateway in my app that is built with ionic v1. Now I need to secure all my http, post services, so that no one can tamper the data on network. any one know what is the best solution to do this. does HTTPS will secure the posted data from tampering in network or I need some other solution for this.

//service

http://192.168.10.23/EduboldPortalApp/eduboldportal/web/app_dev.php/api/processPayment

//Posted data to server

{key: “9pgyzW”, txnid: “m2e4c1i1n1”, amount: 33880,…}
Furl
:
Hash
:
"cc17f824c210f56b136c8aaa369362f9052c57a7fa58627ab59979412e1875bcd7df5d26cb25ac2da56bf138547570c6d824ef9ae130c0d43e466c498401f5ba"
amount
:
33880
email
:
"satnamhansra@outlook.com"
firstname
:
"SATNAM SINGH HANSRA"
key
:
“9pgyzW"
phone
:
“8557988004"
productinfo
:
”{“Tuition Fee”:28080,“Bus Fee”:5800}”

txnid
:
“m2e4c1i1n1”

I want to secure above data which is being posted using a http service.

Please guide…