Android的应用内计费安全问题? [英] Android In-App billing security issues?

查看:249
本文介绍了Android的应用内计费安全问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们努力设计应用程式内计费的Andr​​oid应用,我们提出了以下方案;

During our efforts to design InApp Billing for our Android App, we came up with the following scenario;


  1. 客户已经根深蒂固/可操作的设备(所以市场应用+我的应用程序不能被信任)

  2. 客户购买一个产品

  3. 求购状态0(购买)是发送到我们​​的后台(所有检查和确定),我们给予学分。

  4. 的购买客户退款

  5. 客户一直操纵我们的应用程序或应用程序市场局部确认退款,从而$ ​​P $ pvent的退款通知,以达到我们的后台服务器。

这是情况可能吗?我们如何解决这个问题?

Is this scenario possible? How can we fix this?

推荐答案

首先:如果用户要求退款,还收到一封电子邮件。

First: if the user asks for a refund you receive also an email.

第二:在应用内结算的购买并不由用户直接退还。如果用户想要退款,他必须与您联系,这时你可以手动进行与谷歌钱包账户退还。

Second: the purchases on in-app billing are not refundable directly by the user. If a user wants a refund, he must contact you and then you can proceed manually to refund with your google wallet account.

所以我认为您的方案尼夫发生。

So i think that your scenario neve happen.

其次如果可能的话,我建议你,如果用户要求退款使用托管的购买,在这种情况下,谷歌电子市场会记住它,你可以使用一个RESTORE_TRANSACTION检查是否一些退款发生(但再次:你必须授予退款)。

Secondly if possible i suggest you to use managed purchases, in that case if the user asks for a refund, google market will remember it, and you can use a RESTORE_TRANSACTION to check if some refunds occurred (but again: you must grant a refund).

这篇关于Android的应用内计费安全问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆