简体   繁体   English

Android应用内结算还原

[英]Android In-app billing Restore

I want some clarification regarding in-app billing android .I uploaded an apk in draft state in google play..I created an in-app product id and i made a purchase with test account registered with my developer account ..Purchase worked fine as intended..i deleted the uploaded apk from developer site and also deleted the in-app product id. 我想对应用内结算android进行一些澄清。我在Google Play中以草稿状态上传了apk。.我创建了应用内产品ID,并使用在开发者帐户中注册的测试帐户进行了购买。意..i从开发者网站删除了上传的apk,还删除了应用内商品ID。 but the problem arose when i build a new signed apk with restore function and i uploaded with the new In-app product id and when i installed the new apk with same test account but different in-app product id,**it says **the purchase is already done and it restored the app .. can i know how restore function should work?? 但是当我用恢复功能构建新的签名apk并用新的应用内商品ID上传时,以及当我使用相同的测试帐户但应用内商品ID不同安装新的APK时,问题就出现了,它说**购买已经完成,它恢复了应用程序 ..我能知道恢复功能应该如何工作吗? It should restore with different product id also? 还应该使用其他产品ID恢复吗? or it sees the registered google account with the in-app product? 还是看到带有应用内商品的已注册Google帐户?

When you send a restore request, Google will send a PURCHASE_STATE_CHANGED notification with the original product ID purchased by the user account. 当您发送还原请求时,Google会发送PURCHASE_STATE_CHANGED通知,其中包含用户帐户购买的原始产品ID。

You might not be handling this notification correctly. 您可能未正确处理此通知。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM