I have integrated Google in-app billing v2 for Blackberry and when i install the app on Blackberry play book i get this error:
Error: problem setting up in-app billing: false
When i check this method it says:false if there was an error connecting to Android Market
this is the method:
if (!mBillingService.checkBillingSupported()) {
showAlert("Problem setting up in-app billing: " + mBillingService.checkBillingSupported());
}
what am i missing?
UPDATED
The above issue "Error: problem setting up in-app billing: false" was solved and now i am facing this issue.
When i sending request itseft fails, my request code is
Bundle response = mService.sendBillingRequest(request); // mservice - IMarketBillingService
PendingIntent pendingIntent = response.getParcelable(Consts.BILLING_RESPONSE_PURCHASE_INTENT);
if (pendingIntent == null) {
Log.e(TAG, "Error with requestPurchase");
return Consts.BILLING_RESPONSE_INVALID_REQUEST_ID;
}
I checked the responsecode, that return value 5 (i.e) developer_error. and pendingIntent object become null. After that i can't proceed the next step. Even When i checked the support for IAP through code, code return false value.
I am not able to proceed further, please help me.
I have posted question on Blackberry forums also, but i havent got any solution till now. Link :http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-Inapp-purchase-response/td-p/2074235/page/2