Updated 22 April 2017
PayUmoney offers electronic payment service to your website through its various partnerships with banks and payment instrument companies. Through PayUmoney, Our clients would be able to make electronic payments through credit card, debit card, and online net banking account.
How to integrate PayU money in android app?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
PayUmoneySdkInitilizer.PaymentParam.builderbuilder = new PayUmoneySdkInitilizer.PaymentParam.Builder() .setMerchantId("XXXXXX") .setKey("YYYYYYYY") .setIsDebug(true) // for Live mode - setIsDebug(false) .setAmount(amount) .setTnxId("0nf7" + System.currentTimeMillis(); .setPhone("8882434664") .setProductName("product_name") .setFirstName("piyush") .setsUrl("https://www.PayUmoney.com/mobileapp/PayUmoney/success.php") .setfUrl("https://www.PayUmoney.com/mobileapp/PayUmoney/failure.php") .setUdf1("") .setUdf2("") .setUdf3("") .setUdf4("") .setUdf5("") |
1 |
paymentParam.setMerchantHash(hash); |
1 2 3 |
String hashSequence = key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5|salt; String serverCalculatedHash = hashCal("SHA-512", hashSequence); |
1 |
PayUmoneySdkInitilizer.startPaymentActivityForResult(MainActivity.this, paymentParam); |
References: PayUmoney SDK documents.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.