CCAVENUE Payment Gateway integration with Android app

Amit_android picture Amit_android · May 19, 2014 · Viewed 24.9k times · Source

We are developing a product which collects dues/rents from apartment occupants. We use CCavenue and PayPal payment gateway in web application to do this functionality. We are developing Android app for the same application.

I don't have any idea how to integrate Android with CCavenue.

Answer

user3160479 picture user3160479 · Mar 22, 2015

We are using CCAvenue w/an app in android. You need to request for the Android Integration Kit in addition to your test account credentials such as: MerchanId, Access Code, Encryption Key, from CCAvenue then you can do a "Seamless" integration with your Android App. Next, you will need to follow this data flow:

  1. Request for payment options from Mobile App to CCAvenue
  2. JSON data with payment options returned
  3. Request for encryption key from Mobile App to Merchant server
  4. Request for encryption key from Merchant server to CCAvenue
  5. Dynamic encryption key returned
  6. Encryption key sent from Merchant server to Mobile App
  7. Transaction with encrypted data sent from Mobile App to CCavenue
  8. Processed transaction status returned to Merchant server
  9. Transaction status pulled by Mobile App

Hope this helps!