Questions tagged [in-app-purchase]

In-app purchase (IAP) usually refers to the acquisition of a feature for an application from within the application itself or the buying of digital goods from within an application. Use this tag for questions about writing code for the buying process. Questions about app-store policies or about specific transactions are off-topic on Stack Overflow and should not be posted.

In-app purchases (IAP) are digital goods that, when bought from within an app, often either unlock new features, enable the user to skip mundane tasks, or provide additional content.
Such purchases were made popular by Apple's iOS SDK, iPhones, iPod Touches, and iPads, but are not limited in any way to these platforms.

Don't ask questions about the transaction process itself, except where it pertains to coding problems. Remember that Stack Overflow cannot answer questions specific to Customer Support

##How to Implement In-App Purchase:

##Libraries

9247 questions
4
votes
1 answer

InApp purchase: how to give an item to an user for free

I have an app that has a "premium" mode, that users can buy as in-app purchase. I use managed IAP for this. To certain users I would like to give that premium mode for free, for example because they helped me in resolving some issues. Is there a way…
Beppi's
  • 2,089
  • 1
  • 21
  • 38
4
votes
1 answer

integrate payments on Windows Phone 7.5

Is there a way to integrate payments into a Windows Phone 7.5 application like the native In App Purchasing in Windows Phone 8? I've searched around and read about someone that integrated PayPal redirecting to website using browserControl. But it…
4
votes
2 answers

Google Play Android Developer API from C#/.NET service - (400) Bad Request

I'm trying to access a Purchase Status API from my ASP.NET web server using Google APIs .NET Client Library which is a recommended way for using Purchase API v1.1. However, the Authorization page of this API suggests direct web requests to Google's…
4
votes
1 answer

prevent fake in app purchase on jailbroken device

I am working on a project, in which I have included consumable In-App purchase. Now on jailbroken device, user can make fake in-app purchase. I have already included Receipt Verification code How to prevent it ? Is there anything I am missing here ?…
SandeepM
  • 2,601
  • 1
  • 22
  • 32
4
votes
1 answer

App crashed with UITabBarController and In App Purchases

My app used in app purchases and my references here. When i am loading products from server by a block, at the same time I switch to other tab inside UITabBarController and app crashed when products loaded This is my code //Load products from…
crz
  • 438
  • 5
  • 18
4
votes
1 answer

In app purchase - Subscription - not based on Apple Id

I understand that If a user buy something using in app purchase, it should reflect in all the devices owned by the user ( based on logged in apple id ). But in my case I need to handle it with "our own username and not apple id". That is if user…
Deepukjayan
  • 3,525
  • 1
  • 20
  • 31
4
votes
1 answer

Where is XML spec. of WindowsStoreProxy.xml for CurrentAppSimulator testing

If I want to test in-app purchases in Windows 8 apps, I need to use CurrentAppSimulator with the WindowsStoreProxy.xml file defining the current state of the app and all products. The problem is I haven't found anywhere the full definition of the…
Martin Suchan
  • 10,600
  • 3
  • 36
  • 66
4
votes
1 answer

Android InApp Billing v3, google play dialog not showing

I'm currently migrating IAB v2 to v3. In v2, if you owned specific item that you try to buy, Google Play dialog shows "you already own this item" with red text color. In v3, i can get error response 5 (Item Already Owned) but Google Play dialog…
4
votes
2 answers

Android In App Billing... Why is there contradicting info?

I, like so many others, am just trying to test my in app purchases after verifying that the static responses are working. But as I read the docs, the posts, and the answers, nothing seems to add up. And I'm getting very frustrated. My ultimate goal…
4
votes
0 answers

Mac In-app purchase not working

I am implementing in-app purchase in a Mac app using the following code. @implementation AppStoreObserver -(id) init { self = [super init]; if (self) { _products = [[NSMutableArray alloc] init]; …
washfaq
  • 336
  • 4
  • 9
4
votes
1 answer

inAppPurchases empty products array

On iTunes connect I have created app and some non-consumable products. Its my first product with in-app purchases and I have not uploaded binary yet. Bundle Id of app in xCode and itunes are match. Product Id is com.xxx.product1. Here is sample…
LightNight
  • 1,616
  • 6
  • 30
  • 59
4
votes
1 answer

Calling C++(cocos2dx) method from java(android) for my in-app billing

I'm trying to add in-app billing in my cocos2dx-android project. I am able to give a call to java function from c++ class via jni. This is the way i give a call to my java function via jni. JniMethodInfo t; …
4
votes
1 answer

Problem with testing In App with sandbox test account

I created a test user account through the Manage User Accounts in iTunes Connect. When you create such an account you have to select a valid storefront for your account. I chose US Store. Now I signed out from the store in App Store settings on my…
Nava Carmon
  • 4,523
  • 3
  • 40
  • 74
4
votes
1 answer

iOS auto renewing subscription (sandbox)

I am currently testing my code for auto renewing subscriptions. In most cases it works as expected. But, from times to times, I see unexpected results. I buy a new subscription, I get a receipt (transaction_id = 1000000075229775). Just after…
Gilles
  • 41
  • 3
4
votes
1 answer

iOS Non-Renewable IAP - Limit number of devices

We are looking at using consumable (non-renewable) IAP for subscriptions for our app after being rejected for auto-renewable subscriptions. I've read through many posts pertaining to this, but haven't seen any discussion on limiting the number of…
matt
  • 41
  • 4