02-20-2013 03:11 AM - edited 02-20-2013 03:14 AM
Hello!
Before upgrade OS in-app purchase working correctly. But after upgrade it's not working.
After this code pendingIntent == null and request code == 6 (RESULT_ERROR)
Bundle request = makeRequestBundle("REQUEST_PURCHASE");
request.putString(Consts.BILLING_REQUEST_ITEM_ID, mProductId);
if (mDeveloperPayload != null) {
request.putString(Consts.BILLING_REQUEST_DEVELOPER _PAYLOAD, mDeveloperPayload);
}
Bundle response = mService.sendBillingRequest(request);
PendingIntent pendingIntent
= response.getParcelable(Consts.BILLING_RESPONSE_PUR CHASE_INTENT);
if (pendingIntent == null) {
MyLog.e("Error in REQUEST_PURCHASE: " + response.get(Consts.BILLING_RESPONSE_RESPONSE_CODE ));
return Consts.BILLING_RESPONSE_INVALID_REQUEST_ID;
}What has changed in the new version that stopped working purchase? On BB10 simulator purchases working correctly and on playbook with old version.
Please, help with solution.
Best regards!
02-24-2013 09:45 PM
Did you find a solution? I also get this error on the PlayBook, the response bundle is:
[{REQUEST_ID=-1, RESPONSE_CODE=6}]
02-26-2013 09:02 AM
Sorry.
Topic has wrong name.
Upgrade OS version was 2.1.0.1526.
Solution not find. Help please.
Best regards!
02-28-2013 01:20 AM - edited 02-28-2013 01:22 AM
So, FWIW, in my case the response code 6 was caused by me attempting to purchase the product on a PlayBook registered to a BlackBerry ID with the same email address as my vendor account.
When I added an additional sandbox user with a different BlackBerry ID and wiped my PlayBook and set it up with the new ID it all works correctly (with 2.1.0.1526).