Passion
Passion

Reputation: 662

Google Inapp Error

I implemented Google inapp purchase in my application. For testing i used

  1. Build signed apk with your own production keys
  2. Upload signed apk to Android Market Developer Console
  3. Upload signed apk to device
  4. Added my public key from Market to my application
  5. Uploaded my signed and in-app-purchasing-enabled apk to market (unpublished)
  6. Created an in-app item in the market console (published)
  7. Added a test user account to my profile

but when I test the inapp it says "the item you requested is not available for purchase".

Upvotes: 1

Views: 147

Answers (2)

Artyom Kiriliyk
Artyom Kiriliyk

Reputation: 2513

You have to change an in-app product item in the market console from unpublished to published.

Upvotes: 1

Mehul Ranpara
Mehul Ranpara

Reputation: 4255

you have to pass the product id like this...

BillingHelper.requestPurchase(mContext, "your product id");

and make your product published in the market..

Upvotes: 1

Related Questions