in-app-purchase

can't get In-App-Purchase hosted content to be actually hosted

一笑奈何 提交于 2020-01-04 12:48:19
问题 I have an iPad app with In-App Purchase that used to host its content with Urban Airship (a pox upon their house). Now I'm trying to convert this to use Apple's hosted content. I've created a .pkg file for one of my content items, and used Application Loader (multiple times now) to upload the content. The package passed validation, I clicked "Deliver," and I watched the progress bar as it was "Uploading package to the iTunes Store." In the "Hosted Content" tab for this item, "Host Content

Auto-Renewable subscription for in-app purchase

£可爱£侵袭症+ 提交于 2020-01-04 06:16:08
问题 After buying a product from in-app purchase (Auto-renewable), I hit API on server to give buying information. How to know that product is re-new for hitting API ? When user cancel that subscription, how to known that ? 回答1: Swift 3: In order for you to detect when the user has cancelled the subscription you need to do the following; Download the app receipt Validate the receipt so you can get the json back containing all the in-app purchases and subscriptions dictionaries Now inside each

Test in-app purchase on iPhone before app submit

拈花ヽ惹草 提交于 2020-01-04 05:27:54
问题 I'm developing a Cordova app that contains in-app purchase. I've already got working the Android side, so the plugin flow is working. Now I'm testing the iOS side and I can't get products correctly: they are invalid and not complete, it seems the app is not able to download product data. I've defined IAP (consumable) items in iTunes, associated dummy image and they show "Ready to submit" status (yellow bullet) IAP products are also associated in the new app version page, not submitted for

“Cannot connect to iTunes Store”

吃可爱长大的小学妹 提交于 2020-01-04 04:32:50
问题 Last night In-App Purchases were not showing on iOS7 simulator devices but today I didn't even change the code and I started getting the same error on iOS 8 devices as well. this is my class class InAppC: UITableViewController, SKProductsRequestDelegate, SKPaymentTransactionObserver { and product requst in viewdid load if (SKPaymentQueue.canMakePayments()) { var productIDs:NSSet = NSSet(objects: productOne, productTwo, productThree, productFour, productFive) var productsRequest

From Paid to FREE w/IAP: Preventing double-charging

让人想犯罪 __ 提交于 2020-01-03 16:48:15
问题 This is a conceptual workflow problem. I'm converting an app with an existing user base from Paid to Free with an in-app purchase (FWIAP) to remove ads. The problem I'm trying to avoid is having the existing paid customers updating the app and now suddenly seeing ads and being insulted/assaulted with the "option" to pay again to remove the ads they never bought in the first place. Luckily, I do have some breadcrumbs in the form of persistent data ( pData ) that will indicate whether the app

iOS in-app purchase never completes

一笑奈何 提交于 2020-01-03 13:41:07
问题 I am trying to create an in-app purchase for my app, but I am running into issues. The payment process starts, and the user has to enter in their password; however, the payment never actually completes. I know I have the right identifier set up in iTunesconnect, and I also created a test account to buy the in-app purchase with. When I run the code below, I get the following messages outputted: "User can make payments" "Products are available" "Transaction state -> Purchasing" After entering

Re-use the product id of the deleted item in ItunesConnect

自作多情 提交于 2020-01-03 08:28:06
问题 I've deleted an In-App-Purchase items by mistake. I try to create a new one with the same product id, but the error shows: I want to use the same product id instead of create a unique new one. how could I re-use this product id in In-App-Puchase? or it means I should never use the same product id again? thanks. 回答1: The answer is simple, yet painful: After you use a Product ID for one product, it can't be used again, even if the product is deleted. This is the documentation that says so:

free iPhone app with trial chat period and subsequent subscription?

ぐ巨炮叔叔 提交于 2020-01-03 05:53:15
问题 Is it possible to have a free iPhone app that has say an initial 3 month ability to chat, and then after the 3 months has expired the user purchases a non-renewable subscription for additional chat time? E.G. for one month, four months, or one year? Specifically I am asking is it OK in a free app to have functionality that initially works, but after a fixed period of time no longer works unless you pay? With Mac apps one can have a trial period. See this link. So I would think one could do

Clearing SKPAymentsQueue : Forcing Unfinished Transactions To Finish

北城余情 提交于 2020-01-03 05:35:07
问题 I have some restore transactions still stuck in my payments queue - because I never called finishTransaction with the transaction once it was restored when I was testing a flawed restore purchases action. From some online research, I realise I have to manually force unfinished transactions in my payments queue to finish. Someone posted this code in Objective-C: // take current payment queue SKPaymentQueue* currentQueue = [SKPaymentQueue defaultQueue]; // finish ALL transactions in queue

How to detect that user has canceled the IAP on kindle fire?

試著忘記壹切 提交于 2020-01-03 02:43:05
问题 This question might have been asked before, but I can't find the answer anywhere and I don't know if it is possible for the Amazon IAP SDK. When I canceled a purchase, I will be received as FAILED from purchase response. If so, how can I display the FAILED is caused by cancellation or other extraneous circumstance error ? private class PurchaseAsyncTask extends AsyncTask<PurchaseResponse, Void, Boolean> { private String [] purchaseResult = null; @Override protected Boolean doInBackground