用google的demo
提示:The Market billing
     service is not available at this time.  You can continue to use this app but you
     won\'t be able to make purchases.
测试都通不过。
 Bundle request = makeRequestBundle("CHECK_BILLING_SUPPORTED");
            Bundle response = mService.sendBillingRequest(request);
            int responseCode = response.getInt(Consts.BILLING_RESPONSE_RESPONSE_CODE);
            if (Consts.DEBUG) {
                Log.i(TAG, "CheckBillingSupported response code: " +
                        ResponseCode.valueOf(responseCode));
            }
            Log.i("cheshi", "CheckBillingSupported response code: " + ResponseCode.valueOf(responseCode));
            Log.i("cheshi", responseCode+"<----->"+ResponseCode.RESULT_OK.ordinal());
            boolean billingSupported = (responseCode == ResponseCode.RESULT_OK.ordinal());
//            billingSupported=true;
            ResponseHandler.checkBillingSupportedResponse(billingSupported);
            return Consts.BILLING_RESPONSE_INVALID_REQUEST_ID;
经过打印输出,发现responseCode 返回的是3.官方解释是:Indicates that In-app Billing is not available because the API_VERSION that you specified is not recognized by the Google Play application or the user is ineligible for in-app billing (for example, the user resides in a country that prohibits in-app purchases).
请问那个大侠弄过google内置收费的帮我解决一下。谢谢了googleapiin-app Billingandroid内置收费

解决方案 »

  1.   

    google在天朝不支持内购,需要进行特殊处理。首先机器必须是root过的,然后下一个运行商伪造,设置值为310260,保存~然后清空google play的数据(设置——应用程序——google play——清除数据),再重新进入google play,如果能看到收费app,则表示成功,接下来就可以测试内购了。~
      

  2.   

    楼主好  请问你使用google支付在返回值里面拿到签名了吗?
      

  3.   

    顺便问下:在google支付的版本3里面,无法拿到signature?不知道你遇到过没有?
      

  4.   

    针对你的问题 你可以使用VPN试试
      

  5.   

    这是你的安装的应用版本号大于上传至google play的apk版本导致的
      

  6.   

    找到原因了,我用的是api2 那个vpn那边出问题了访问google play 打不开,现在可以了  谢谢各位了
      

  7.   

    再问问,购买成功的返回值在那里点接收?购买成功后是还要向google play发个消息。那个消息发送成功后会在那里