payment gateway - What is success url & failure url while integrating payU Money in android? -
here activity code, surl & furl? please me?
thanks in advance :)
map<string, string> mapparams = new hashmap<>(); mapparams.put("key", mmerchantkey); mapparams.put("txnid", mtxnid); mapparams.put("amount", string.valueof(mamount)); mapparams.put("productinfo", mproductinfo); mapparams.put("firstname", mfirstname); mapparams.put("email", memailid); mapparams.put("phone", mphone); mapparams.put("surl", msuccessurl); mapparams.put("furl", mfailedurl); mapparams.put("hash", mhash); mapparams.put("service_provider", mserviceprovider); system.out.println("mapparams=="+mapparams); webviewclientpost(webview, maction, mapparams.entryset());
the following diagram explains how customer makes payment , how process flows:
step 1: consumer selects product on website , clicks on “pay now” button.
step 2: consumer taken website transaction page of www.payumoney.com in payment related details entered consumer.
step 3: payumoney.com.com redirects consumer visa, mastercard or relevant bank next level of authorization.
step 4: bank/visa/mastercard authorizes , confirms transaction.
step 5: consumer sent payumoney.
step 6: payumoney sends consumer website along transaction status.
the surl
, furl
comes picture in last step of above flow. success , failure page url, wish take user on success , failure cases.
for example if have thank page want user go after successful transaction pass url of page surl
.
similarly, if have error page want take user on failure pass url furl
.
Comments
Post a Comment