Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Hi Garett, As i told earlier, Problem is found...

Hi shurikv and welcome to the forums!

 

It would likely be best for you to start a new thread for this question to help keep it clear from the original issue in this thread.

Garett
@garettBeuk
--
Goodbye everybody!
New Contributor
Posts: 7
Registered: ‎01-29-2013
My Device: Bold
My Carrier: MTS

Re: Android - Inapp purchase response

[ Edited ]

Hi, dhatchina.

I have same problem as you.
After mService.sendBillingRequest(request); i also get responsecode =5 and pendingIntent = null.

Do you solve this problem?
Please advise me.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Android - Inapp purchase response

@shurikv, please start a new thread. Forums work best when you stick to one question/issue per thread Smiley Happy

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 42
Registered: ‎11-11-2013
My Device: Black berry Play book
My Carrier: Airtel

Re: Hi Garett, As i told earlier, Problem is found...

Hi guys i am using the same code as well, even i am getting the same error Error with requestPurchase -1, can you guys please help me to solve this.

 

Bundle request = makeRequestBundle("REQUEST_PURCHASE"); 
request.putString("ITEM_ID", mProductId);
request.putString("ITEM_TYPE", mProductType); // I Didn't add Developer payload to the request

Bundle response = mService.sendBillingRequest(request);

PendingIntent pendingIntent = response.getParcelable("PURCHASE_INTENT");
  if (pendingIntent == null) { // PendingIntent == null, And i'm return -1
       Log.e(TAG, "Error with requestPurchase"); // Atlast It come here. 
       return -1;
  }



Highlighted
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Hi Garett, As i told earlier, Problem is found...


varunagp1988 wrote:

Hi guys i am using the same code as well, even i am getting the same error Error with requestPurchase -1, can you guys please help me to solve this.

 

Bundle request = makeRequestBundle("REQUEST_PURCHASE"); 
request.putString("ITEM_ID", mProductId);
request.putString("ITEM_TYPE", mProductType); // I Didn't add Developer payload to the request

Bundle response = mService.sendBillingRequest(request);

PendingIntent pendingIntent = response.getParcelable("PURCHASE_INTENT");
  if (pendingIntent == null) { // PendingIntent == null, And i'm return -1
       Log.e(TAG, "Error with requestPurchase"); // Atlast It come here. 
       return -1;
  }




Hi there,

 

This thread is marked as saolved, so if you're having the same issue it should be solved here.

 

Please start a new thread with details on the issue and I can assist from there.

 

Garett
@garettBeuk
--
Goodbye everybody!