且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

与CCAvenue Android的整合

更新时间:2023-02-07 14:36:45

与CCAvenue的融合成为可能使用他们的手机整合套件。它们提供样品code为iOS和Android,可从这里下载:

Integration with CCAvenue is possible using their Mobile Integration Kit. They provide sample code for iOS and Android which can be downloaded from here:

https://mars.ccavenue.com/downloads/Mobile_Integraion_Kit.zip

他们描述与他们的支付网关,无缝和非无缝整合的两种方式。无论哪种方式,需要你将用户重定向到一个网页,即可完成支付过程或获得来自用户的银行授权。一旦完成CCAvenue可以将用户重定向到任何URL您preFER。这可能是一个网站,商家服务器API或定制类似的myapp URI://在那里你可以在本地处理响应

They describe two ways of integrating with their payment gateway, seamless and non-seamless. Either way requires you to redirect the user to a web page to complete the payment process or acquire authorisation from the users bank. Once done CCAvenue can redirect the user to whatever URL you prefer. This could be a website, merchant server API or a custom URI like myapp:// where you could handle the response locally.

进一步阅读

无缝意味着你有机会present的付款方式本身​​并先收集所有必填字段,然后提交这CCAvenue。

Seamless means you have the opportunity to present the payment options natively and collect all required fields first, then submit this to CCAvenue.

非无缝意味着你只是金额和货币传递给CCAvenue以及计费和支付信息从重定向的页​​面收集。

Non-Seamless means you just pass the amount and currency to CCAvenue and the billing and payment details are collected from the redirected page.

无论哪种方式,你会需要你来处理与CCAvenue集成一个单独的WebView活动到CCAvenue提供样品$ C $下。

Either way will you require you to handle integration with CCAvenue with a separate WebView Activity to which CCAvenue provide sample code for.