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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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!
Highlighted
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;
  }



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!