简体   繁体   English

使用与设备主帐户不同的Google Play帐户进行应用内购买

[英]Making in-app purchases with an google play account different from the device primary account

Sorry if the title sound confusing. 对不起,如果标题听起来令人困惑。 I hope that I can explain better here. 我希望我能在这里解释得更好。 We know that each device can have multiple google account of which the first created google account in the device will be the primary account. 我们知道每个设备都可以拥有多个Google帐户,其中设备中首次创建的Google帐户将成为主帐户。 In google play app, user can actually select different google account to sign in to Google Play store on the device. 在Google Play应用中,用户实际上可以选择不同的Google帐户登录设备上的Google Play商店。

If for example, the device primary account is myprimary@gmail.com and the user sign in to Google Play app with "anotheraccount@gmail.com". 例如,设备主帐户是myprimary@gmail.com,用户使用“anotheraccount@gmail.com”登录Google Play应用。 The user then made an in-app purchase. 然后,用户进行了应用内购买。 The question is, will the user still be able to received the purchased item? 问题是,用户是否仍然能够收到所购买的商品?

Does anyone has any experience? 有没有人有经验?

Thank you very much. 非常感谢你。

Update and edited 更新和编辑

Have also submitted the question to Google Play support. 还已将问题提交给Google Play支持。 Below is the reply. 以下是回复。

"Thanks for contacting Google. I see that you have some questions about purchasing through the Google Play Store. I am more than happy to answer this question for you. In the question above, if a user were signed into a different account than the primary account on the device, then the account signed into would be the account that was billed for the transaction and it would be the only account with access to the application or in app content that was purchased. I hope that answers your question. If you have any other questions or input, please let me know and I'm happy to help." “感谢您与Google联系。我们发现您对通过Google Play商店购买产品有一些疑问。我们非常乐意为您解答此问题。在上述问题中,如果用户签署了与主要帐户不同的帐户帐户在设备上,然后登录的帐户将是为交易计费的帐户,它将是唯一可以访问应用程序或已购买的应用内容的帐户。我希望能回答您的问题。如果您有任何其他问题或意见,请让我知道,我很乐意提供帮助。“

So I guess if the app is signed in with the Device primary account while the purchase is made with another account, the item will not be received. 因此,我猜如果在使用其他帐户进行购买时,如果应用已使用设备主帐户登录,则不会收到该项目。 Probably this is the reason why there are many complains on the purchased in-app item not received. 可能这就是为什么没有收到购买的应用内商品有很多抱怨的原因。

As far as I know, there isn't a way in the android sdk to verify if the device primary account is the same as the one used in the Google play. 据我所知,android sdk中没有办法验证设备主帐号是否与Google Play中使用的帐号相同。 If anyone has an idea how to verify these 2 accounts, please do share the code. 如果有人知道如何验证这两个帐户,请分享代码。

So accordingly to the reply from Google Play support team. 因此,Google Play支持小组的回复也是如此。 The answer to "will the user still be able to received the purchased item?" 答案是“用户是否仍然可以收到购买的商品?” is clearly a no if the device primary account and the Google Play account is different from each other. 如果设备主帐户和Google Play帐户彼此不同,则显然是否定的。

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

相关问题 在设备上使用相同的本机(Apple / Google)帐户但在不同的应用程序帐户中还原应用程序内购买 - Restore in-app purchases when same native (Apple/Google) account on device but different app accounts Google Play说要登录Google帐户(应用内结算) - Google Play says to sign into Google account (In-app billing) Android:获取与应用内结算相关联的Google Play帐户 - Android: get Google Play account associated with in-app billing Google Play应用内购买是否不记入我的商家帐户? - Google play in-app purchase are not credited to my merchant account? 无需在Google Play开发者控制台中注册帐户即可进行应用内结算 - In-App billing without having account at Google play developer console 使用其他Google帐户进行应用内结算测试 - In-app billing testing using different google account Android应用内结算:有没有办法购买特定帐户? - Android In-App Billing: Is there a way to get purchases for a specific account? 应用内购买如何使用Google Play进行墨绿色包装 - How to do In-App Purchases ink ivy using Google Play 是否可以直接从Google Play API获取应用内购买列表到我的服务器? - Is it possible to get list of in-app purchases from Google Play API directly to my server? 在Google Play应用内结算中消费已取消购买 - Consuming cancelled purchases on Google Play In-app Billing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM