in-app-purchase

In-App-Purchase invalid product id only on release version

。_饼干妹妹 提交于 2019-12-12 02:47:07
问题 I released a new version of an app yesterday which added in app purchases. We did testing with a test account in sandboxed mode and everything worked correctly, however once we download the app from the app store the SKProductsRequestDelegate method: (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response returns invalid product id's instead of valid ones. I'm baffled because I've had these types of problems before but only when trying to get them

Testing non-consumable IAP items in Google Play

自闭症网瘾萝莉.ら 提交于 2019-12-12 02:33:45
问题 I'm using Google Play IABv3 and want to be able to easily test what I do (not surprisingly). Since IABv3 all items are managed and it's up to the application to consume the items that it considers consumables. I'm not sure what the expected work flow is with testing non-consumable products. To be able to test the purchase flow more than once you need to be able to remove the previous purchase. However, the purchase is intended to be non-consumable so we obviously don't want to add any code

Using a non-consumable in-App purchase with ID's

放肆的年华 提交于 2019-12-12 02:32:58
问题 I'm using in-App purchases in my App on behave of getting some sounds from the App to the iPhone as a ringtone. I've used 'Consumable' as the type for in-App purchase so that the user would be able to buy a ringtone and download it directly. However this App got rejected by Apple because they want this function to be non-Consumable (so you would be able to retrieve this ringtone more than once). I only don't know how to set this up in my App because there are more than 200 possible ringtones.

How to tie an in-app purchase to a user in a cross-device manner without requiring a dangerous permission or needing a server?

允我心安 提交于 2019-12-12 02:13:43
问题 The Android docs say this about creating a developer payload string when making an in-app purchase: It’s good practice to pass in a string that helps your application to identify the user who made the purchase, so that you can later verify that this is a legitimate purchase by that user. For consumable items, you can use a randomly generated string, but for non-consumable items you should use a string that uniquely identifies the user. I want some way of identifying a user so that I know that

Purchasing multiple consumables at a time

不羁的心 提交于 2019-12-12 02:13:42
问题 I am allowing user to purchase multiple consumables(of same type) at a time. I have implemented the following code: - (void)purchaseMyProduct:(NSArray *) products { if ([SKPaymentQueue canMakePayments]) { for(SKProduct *product in products) { SKPayment *payment = [SKPayment paymentWithProduct:product]; [[SKPaymentQueue defaultQueue] addPayment:payment]; } [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; } else { UIAlertView *alertView = [[UIAlertView alloc]initWithTitle: @

Application uploader error for In App Purchase content iOS

谁说胖子不能爱 提交于 2019-12-12 02:08:32
问题 I have a pack of 10 images that I want uploaded to Apples server for IAP. Uploading with Xcode crashes. Uploading with Application loader gives me different errors with the most common being: "The file IOS_20Simulator_20Screen_20shot_2027_20feb_202014_2023.55.07.png is from the list of files requested by Apple, but it was not found locally." sometimes it says the same but with "image.png" 回答1: So eventually after about 150 tries I managed to make it work. I had to have the same image added to

Consume purchase for In-app billing does not work on Android 6

走远了吗. 提交于 2019-12-12 00:42:13
问题 I am testing as an alpha tester. The code that I am using is the latest "Trivial drive" classes from Google and IAP5. I can consume my purchase on an older device that has an older version than Android 6. I test exactly the same code on a device with Android 6 and I get the error below. Why does this happen?Here is my code and error message: http://www.mobile-visuals.com/mess.txt I have to post my code and error message in this link, because Stackoverflow kept saying that it was not properly

SKProductResponse invalid product identifiers. Nothing helps

陌路散爱 提交于 2019-12-12 00:35:20
问题 I've been searching all over the web for more than a week, i've tried everything suggested on SO and everywhere, but nothing works. I can't obtain products from Store Kit. Products array is always returned empty and invalid product identifiers is always full with my identifiers. Honestly, i have no idea what to do further. This question is my last hope. Can anybody help? NSSet *s = [NSSet setWithObjects:@"com.aceapegames.awesomecatgame.double_coins", @"com.aceapegames.awesomecatgame.10k_coins

In app purchase with Automatic Reference Couting: SKProductsRequestDelegate crashes

↘锁芯ラ 提交于 2019-12-12 00:28:44
问题 I've now been trying for two days to implement in app purchase in an iOS app, with the same error bugging me. I get an EXC_BAC_ACCESS error every time I try to start my SKProductsRequest object. I've read dozens of people having me same error, but none of the solutions seems to work for me. When I set NSZombieEnabled, i get following error: [AppShopper respondsToSelector:]: message sent to deallocated instance 0x1d9340 Here's my AppShopper.h: #import <StoreKit/StoreKit.h> #define

Payment queue observer returns “Cannot connect to iTunes Store” error, why?

送分小仙女□ 提交于 2019-12-11 20:52:45
问题 func paymentQueue(queue: SKPaymentQueue!, updatedTransactions transactions: [AnyObject]!) delegate method delivers "Cannot connect to iTunes Store" error. Why? I try to set up In-App purchase. Anything wrong in iTunes Connect setting? I am following this tutorial. I am testing on real device. I get the error message before blue popup to authenticate myself as testuser. I might have problem with my profession profiles? To distribution profile no devices is attached? 回答1: Sign out in App Store