在Android应用程序的信用卡支付执行信用卡、应用程序、Android

2023-09-09 21:07:44 作者:氣質尒莮亾

我想在我的Andr​​oid应用程序中实现信用卡支付过程。有一个在我的应用程序的形式。用户输入自己的信用卡信息,并在提交该服务将验证并接受或拒绝该卡。我不知道是否有任何API或在Android中使用的教程。请帮我,如果有人知道如何做到这一点。

I want to implement credit card payment process in my android application. There is a form in my application. User will enter his card information and on submission the service will verify and accept or reject the card. I have no idea if there is any API or a tutorial available in android. Please help me if someone knows how to do that.

// Zeeshan

//Zeeshan

推荐答案

我会寻找任何类型的REST或基于Web的API的。下面是例如一些提供此类API的厂商。然后,从表单收获信息后,生成呼叫使用类似HttpClient的这些API,你可以足够复杂,使其显示为呼叫从桌面浏览器未来的(如果它是一个要求)。然后,您捕获的响应,它和present解析用户

I would look for any type of REST or web-based API. Here's for example some of the vendors providing such APIs. Then, after you harvest information from the form you generate call using something like HttpClient to such API and you can be sophisticated enough to make it appear as call is coming from the desktop browser (if it is a requirement). Then you capture a response, parse it and present to the user