Tag: Android的付费

Android应用上的Google电子钱包集成

我正在开发一个Android应用程序,我必须在按钮点击上实现自动付款,如Uber Cab app必须支付出租车费用。 Uber Cab使用Google钱包作为支付网关非常好。 我想使用谷歌钱包因为使用贝宝客户应该每次都插入卡片详细信息。 但不是谷歌钱包的情况。 我没有获得在我的应用程序上实施Google钱包的良好资源。 我需要你的帮助。

Android InApp购买 – 如何处理待处理状态?

我正在将Android In-App购买与Android Native应用程序集成。 我使用以下代码启动In-App购买意图! Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(),”product_sku”, “inapp”,”Some Developer Payload”); PendingIntent pendingIntent = buyIntentBundle.getParcelable(“BUY_INTENT”); startIntentSenderForResult(pendingIntent.getIntentSender(),REQUEST_CODE, new Intent(),Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); 以上代码正在使用并打开Goog​​le Play以进行应用内购买。 我重写了onActivityResult以获取应用程序内购买的结果(以下是代码) protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == 1001) { if (resultCode == RESULT_OK) { try { final JSONObject jo = new JSONObject(purchaseData); String orderId = jo.getString(“orderId”); […]

如何在印度测试Android支付应用程序

我们正尝试使用以下教程链接将Android付费function集成到我们的Android应用程序中: https : //developers.google.com/android-pay/android/tutorial 为了测试这一点,我们需要在设备上安装“Android pay”应用程序,因此我们从给定的链接下载并安装它: http : //www.apkmirror.com/apk/google-inc/android-pay/android-pay- 1-2-111627672释放/#下载 之后我们尝试将卡详细信息添加到“Android Pay”应用程序,但得到“此时无法添加您的卡。请稍后再试”消息。 让我们知道在美国用户以外的Android Pay应用程序中添加卡详细信息的任何方式,因此我们可以在我们的应用程序中测试Android付费function。