[英]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.