本文介绍了如何在Android中集成InApp Purchase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中使用inapp购买.FOR inapp我看过很多教程,我已经得到了演示项目。但问题是,当我点击谷歌开发者控制台时,它要求付款和我只想要没有付款的公钥,我不想在googleplay上发布我的应用程序。我想做的两件事


  1. 如何为InAPP购买API创建我的公钥。


  2. 从哪里可以得到我的密钥inapp?/


我有看到此链接
(付费一次)

  • 完成你的商家帐户(InApp必需)

  • 从播放开发者控制台获取计费密钥(转到设置 - > API访问)

  • 将此密钥用于您的应用程序以从
    游戏商店购买东西( )

  • 在Play控制台上创建应用程序并为同一应用程序填写所有商店列表数据

  • 在控制台上创建应用内购买产品

  • 生成已签名的应用程序并将其发布到alpha

  • 添加一些以进行应用程序的演示测试

  • 最终测试后将其发布到所有用户的生产中

  • 谢谢


    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

    1. how to create my public key for InAPP Purchase api.

    2. 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:

    1. Sign-up on Google Play Console (Paid Once)
    2. Complete your merchant account (Required for InApp)
    3. Get billing-key (Go to Setting->API Access) from play developer console
    4. Use this key into your application to purchase something fromplay-store (Follow these steps)
    5. Create application on Play Console and Fill all store listing datafor same application
    6. Create in-app purchases products on console
    7. Generate signed application and publish it to alpha
    8. Add some testing users for demo testing of your application
    9. After final testing publish it to production for all users

    Thanks

    这篇关于如何在Android中集成InApp Purchase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    06-07 22:08