Skip to content

Instantly share code, notes, and snippets.

@ramanathanrv
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramanathanrv/d46c052b065ea3895c51 to your computer and use it in GitHub Desktop.
Save ramanathanrv/d46c052b065ea3895c51 to your computer and use it in GitHub Desktop.
payu_postdata_juspay
// payment information goes here
String url = "https://secure.payu.in/_payment";
String postData = "key=C23ARn&txnid=shop_test-55040ae184bd1-12&amount=1.0&productinfo=Description not provided&email=email@gmail.com&phone=9999999999&surl=https://api.juspay.in/payu/payment-response/10201382&furl=https://api.juspay.in/payu/payment-response/10201382&curl=https://api.juspay.in/payu/payment-response/10201382&firstname=&lastname=&address1=&address2=&city=&state=&country=&zipcode=&udf1=&udf2=&udf3=&udf4=&udf5=&udf6=&udf7=&udf8=&udf9=&udf10=&pg=NB&bankcode=CITNB&hash=ab3da78bad61b319e0fc394bc967fa4b1930f7723c5d06df045dcb7bbca62efa5fc656efbda4441798a734e920c0c8befa17d61639ef04e3890dae0130b01b8a";
args.putString("url", url);
args.putString("postData", postData);
// analytics information goes here. These information are used only for analytics & tracking success/failure information
args.putString("clientId", ":clientId");
args.putString("merchantId", ":merchantId");
args.putString("orderId", ":orderId");
args.putString("transactionId", ":transactionId");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment