问题描述
我想在我的应用程序中使用inapp购买.FOR inapp我看过很多教程,我已经得到了演示项目。但问题是,当我点击谷歌开发者控制台时,它要求付款和我只想要没有付款的公钥,我不想在googleplay上发布我的应用程序。我想做的两件事
-
如何为InAPP购买API创建我的公钥。
-
从哪里可以得到我的密钥inapp?/
我有看到此链接
(付费一次)
游戏商店购买东西( )
谢谢
I want to use inapp purchase in my application.FOR inapp I have seen so many tutorial and I have get demo project for that.,but the problem is that when I am clicking in google developer console, it's asking for payment and I only want its public key without payment, I don't want to publish my application on googleplay. two things I want to do
how to create my public key for InAPP Purchase api.
from where I can get my key for inapp?/
I have seen this linkshere&here
and here is the image snippest
Actually you can not test Google InApp purchases without publishing application on play-store whether it is in Alpha Testing Mode.
In your case if you really need to test InApp purchases in your application then below are the steps to do so:
- Sign-up on Google Play Console (Paid Once)
- Complete your merchant account (Required for InApp)
- Get billing-key (Go to Setting->API Access) from play developer console
- Use this key into your application to purchase something fromplay-store (Follow these steps)
- Create application on Play Console and Fill all store listing datafor same application
- Create in-app purchases products on console
- Generate signed application and publish it to alpha
- Add some testing users for demo testing of your application
- After final testing publish it to production for all users
Thanks
这篇关于如何在Android中集成InApp Purchase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!