paypal - Steps to create escrow payment integration in android source code -


i want integrate escrow payment integration in our e-commerce android application. please tell me steps create escrow account integration in android application.

integrate paytym this..

   random randomgenerator = new random();   randomint = randomgenerator.nextint(1000);   //for testing environment   service = paytmpgservice.getstagingservice();   paytmmerchant merchant = new paytmmerchant("https://pguat.paytm.com/merchant-chksum/checksumgenerator","https://pguat.paytm.com/merchant-chksum/validatechksum");    log.e("value","value");    map<string, string> parammap = new hashmap<string, string>();    //these mandatory parameters   parammap.put("request_type", "default");   parammap.put("order_id", string.valueof(randomint));   //mid provided paytm   parammap.put("mid", "id provided paytm");   parammap.put("cust_id", "cust123");   parammap.put("channel_id", "wap");   parammap.put("industry_type_id", "retail");   parammap.put("website", "paytm");   parammap.put("txn_amount", "1");   parammap.put("theme", "merchant");    paytmorder order = new paytmorder(parammap);     service.initialize(order, merchant,null);   log.e("value1111","value");   service.startpaymenttransaction(this, true, true, new paytmpaymenttransactioncallback() {       @override       public void ontransactionsuccess(bundle bundle) {           app.getlogger().error("transaction success :" + bundle);           log.e("transaction success :",""+bundle);       }        @override       public void ontransactionfailure(string s, bundle bundle) {         app.getlogger().error("transaction failure :" + s + "\n" + bundle);           log.e("transaction failure :",s+"    "+bundle);       }        @override       public void networknotavailable() {         app.getlogger().error("network unavailable :");           log.e("network unavailable :","network unavailable :    ");       }        @override       public void clientauthenticationfailed(string s) {          app.getlogger().error("clientauthenticationfailed :" + s);           log.e("clientauthenticationfailed :",s+"    ");       }        @override       public void someuierroroccurred(string s) {          app.getlogger().error("someuierroroccurred :" + s);           log.e("someuierroroccurred :",s+"    ");       }        @override       public void onerrorloadingwebpage(int i, string s, string s2) {          app.getlogger().error("errorloadingwebpage :" + + "\n" + s + "\n" + s2);           log.e("errorloadingwebpage :",i+"    "+s+"   "+s2);       }   }); }   

checksumgenerator , validatechksum provide paytym team.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -