CCAVENUE 支付网关与 Android 应用程序集成

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23737691/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 07:23:06  来源:igfitidea点击:

CCAVENUE Payment Gateway integration with Android app

androidccavenue

提问by Amit_android

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.

我们正在开发一种向公寓居住者收取会费/租金的产品。我们在 Web 应用程序中使用 CCavenue 和 PayPal 支付网关来完成此功能。我们正在为同一个应用程序开发 Android 应用程序。

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

我不知道如何将 Android 与 CCavenue 集成。

回答by user3160479

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:

我们在 android 中使用带有应用程序的 CCAvenue。除了您的测试帐户凭据(例如:MerchanId、访问代码、加密密钥)之外,您还需要从 CCAvenue 请求 Android 集成工具包,然后您就可以与您的 Android 应用程序进行“无缝”集成。接下来,您需要遵循以下数据流:

  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
  1. 从移动应用程序到 CCAvenue 的付款选项请求
  2. 返回带有付款选项的 JSON 数据
  3. 从移动应用程序向商家服务器请求加密密钥
  4. 从商户服务器向 CCAvenue 请求加密密钥
  5. 返回动态加密密钥
  6. 从商家服务器发送到移动应用程序的加密密钥
  7. 从移动应用程序发送到 CCavenue 的加密数据交易
  8. 已处理的交易状态返回给商家服务器
  9. 移动应用拉取的交易状态

Hope this helps!

希望这可以帮助!