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
2 answers

Do you need to reattach an in app purchase (IAP) to a version of your app after that app version is rejected?

After creating and testing my first IAP in iTunesConnect, I created a new app version and connected it to the IAP (as you must with it being the first one). The binary for the app version I submitted was rejected, so I corrected the issue and went…
tonyd
  • 305
  • 3
  • 10
4
votes
2 answers

Best practices to make your android app's in-app purchase process harder to break?

Which steps should i follow to reduce the possibility of illegally activating and using in-app features in an android application? It may be impossible to beat it, however, there should be some basic steps at least to filter out kids...
frankish
  • 6,738
  • 9
  • 49
  • 100
4
votes
1 answer

"the item you were attempting to purchase could not be found" after following instructions

So I am following the instructions at http://developer.android.com/google/play/billing/billing_admin.html for testing my app for in-app billing. I have also already read In app Purchase issue in android How to resolve “The item you were attempting…
Pouton Gerald
  • 1,625
  • 22
  • 32
4
votes
8 answers

iPhone Store Kit returning invalid product ID errors

I am trying to test In App Purchases on my iPhone and running into a problem where the product IDs I request information for end up being returned to me as invalid product IDs in the "didRecieveResponse" method. I have: Created an in store product…
EToreo
  • 2,936
  • 4
  • 30
  • 36
4
votes
2 answers

How to 'fake' a restore in-app purchase for previous app users when moving from paid to free

Our app is moving from paid to free, and in the process, moving a key functionality from being included to activating via In-App purchase. Obviously, we don't want current users who paid for the app functionality to be charged again in the In-App…
4
votes
4 answers

In App Purchase Restore Query

Hey StackOverflow... My iOS app allows the user to purchase videos as non-consumable iAPs, all the videos are pretty weighty at circa 300mb/650mb each... Apple require you to implement a restore purchases functionality into your app using StoreKit.…
Ollie Hirst
  • 592
  • 2
  • 6
  • 14
4
votes
0 answers

With new in-app billing, com.android.vending.billing.PURCHASE_STATE_CHANGED intent is no longer being sent

My Android app makes in-app purchase using the OLD (V2) version of Android's in app billing architecture. I am not able to update my clients to V3 just yet. However, on some phones, a new "checkout experience" is now being shown during purchase --…
4
votes
1 answer

What to do upon SKDownloadStateFailed other than show alert?

I find no examples or StoreKit-based open source projects that correctly deal with SKDownloadStateFailed. At best they show a UIAlertView. Is there nothing I can do to retry the download programmatically? And how are users supposed to re-download…
openfrog
  • 40,201
  • 65
  • 225
  • 373
4
votes
1 answer

struggling testing IOS in app purchase with xamarin

For the last couple of days I have been struggling trying to set up the enviroment to test in app purchase in xamarin. Their docs page is not very clear on what it needs to be done, at least for me. For what I have researched, I need to sign a…
Daniel
  • 2,484
  • 4
  • 27
  • 35
4
votes
4 answers

In app purchase in Android application, and test with sandbox account

I want to implement in app purchase in my app in android. Can anybody help me for best example for this, and how can I test with sandbox account?
rajnish verma
  • 49
  • 1
  • 1
  • 2
4
votes
0 answers

Change active auto-renewable subscription on iOS

Is it possible to switch between active auto-renewable subscriptions on iOS? For example: I have an auto-renewable subscription 'family' configured in iTunes Connect Package A (1 week) Package B (1 month) Package C (3 months) A user subscribes to…
Jovan
  • 2,640
  • 2
  • 24
  • 34
4
votes
0 answers

Reset Purchases with In-App Billing V3 (Android)

I successfully implemented the in-app billing V3 and it works with my test account. I have two (real) non-consumable items and one I have purchased and discovered the bill in my Google checkout account. In my app the status of the purchased item is…
flexo
  • 1,120
  • 1
  • 9
  • 14
4
votes
1 answer

Android In-App Billing: Is there a way to get purchases for a specific account?

With Android In-App Billing IAB 3, the API can query the current purchases using getPurchases(). If the device has multiple Google accounts, what is being returned? All purchases for all accounts? Purchases for one of the accounts? Is there a way…
OferR
  • 1,634
  • 19
  • 21
4
votes
0 answers

In-App Purchase Refunds

I looked for other question about this but there are some things that aren't very clear to me. So I am asking my own question: Currently, my Application stores SharedPreference if a User bought an Item. Everytime the User navigates to the Shop…
Yalla T.
  • 3,707
  • 3
  • 23
  • 36
4
votes
2 answers

Restore for inApp for non-consumable product in iPhone

Is it compulsory to add restore button in the UI for restoring the inApp purchase for non consumable product. Is there any way to do it automatically like in Angry Birds and other apps/games?
ios developer
  • 3,363
  • 3
  • 51
  • 111
1 2 3
99
100