storekit

Unneccessary Privacy Policy For Entitlements? [closed]

Deadly 提交于 2019-12-24 03:29:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am attempting to submit my first app into the ios app store, however I am receiving this annoying error: Apps that use the entitlements [com.apple.developer.in-app-payments] must have a privacy policy URL for [English]. If your app doesn’t use these entitlements, remove them from your app and upload a new

Multitasking and SKPaymentQueue I get a “stuck” SKPaymentTransaction with a transactionState of SKPaymentTransactionStatePurchasing

主宰稳场 提交于 2019-12-23 09:50:31
问题 My question is basically how to reproduce the behavior I see in other apps in the app store with regards to in-app purchases: Immediately following the user pressing "Buy" the button is hidden and a spinner is displayed (essentially de-bouncing the Buy action). The user pressing cancel to the StoreKit dialog (in the app or outside of it) results in the spinner going away. I'm attempting to show and hide the spinner based on observing the state of transactions in the SKPaymentQueue. My problem

iPhone: Since when did SKPaymentQueue addPayment trigger the applicationWillResignActive callback?

徘徊边缘 提交于 2019-12-23 05:25:59
问题 Did I miss this information in the documentation? Am I going mad?? I'm debugging some payment issues and have just discovered that the following code is triggering our applicationWillResignActive callback in the app delegate. SKPayment *payment = [SKPayment paymentWithProductIdentifier:productid]; [[SKPaymentQueue defaultQueue] addPayment:payment]; This is happening on ioS3 which makes me think this has always been the behaviour, but we probably haven't noticed because we didn't implement the

In PHP, how do I add 3 months to the purchase date retrieved from the iPhone InApp receipt?

冷暖自知 提交于 2019-12-22 13:34:25
问题 After I have validated the receipt against the App Store from my PHP server, the App Store sends me back a JSON response with "status" : 0 "receipt" : ( .... ) One of the receipt items is "purchase_date" which contains the following string (example) "2010-02-09 19:17:04 Etc/GMT" I'm trying to establish a subscription service and would like to add 3 months to this date and then write that expiry date into a MySQL table. Is there a string-to-date type function in PHP that can allow me to

How to detect an iOS app install campaign inside the app

梦想与她 提交于 2019-12-22 12:19:08
问题 I would like to find out in my iOS app if the app was installed due to an ad campaign link. Google Analytics is doing this and it is tracked on their analytics web page. iTunes Connect is doing this too and it is also tracked on the iTC web page. I'm looking now for a way to get this information inside the app. When the app first starts i want to check if it was installed because the user was sent to the App Store by a campaign link and what campaign id it was. Is there a way for an iOS app

iOS IAP ErrorDomain Code=0 “Cannot connect to iTunes Store” from LIVE APP's MANY USERS

爷,独闯天下 提交于 2019-12-22 10:59:05
问题 I've seen some threads on this but all are related to sandbox/ test account. Here we see this error a lot from our real users. Many transactions go through without a problem, but still we receive the error back a lot for some reason. Also oddly, we see more errors from UAE, and to lesser extent from other Middle Eastern countries, than we expect based on revenues or user volume. Our app is not really usable when offline, so in many cases Internet connection itself should not be the cause.

In-App Purchase response.products empty

旧时模样 提交于 2019-12-22 10:53:47
问题 I know it has been asked before: iPhone In App Purchase - response.products are still empty? but I am also trying to implement an in app purchase and my response.products is empty. My situation: I uploaded and rejected my binary once. But then I put the status back to waiting for upload again.(Does it matter?) The status of all my in app purchase products are "Ready to Submit". My production user is signed out. Test user not signed in yet. -(void) requestProductData{ SKProductsRequest

Sandbox: Is possible to simulate a failed or interrupted In App Purchase?

爷,独闯天下 提交于 2019-12-21 05:08:27
问题 I have recently implemented In App Purchasing in my app. Good thing Apple has documented the whole process very well. Using those docs, I'm finally able to test In App Purchasing through the Sandbox, which is a very convenient feature. I have successfully tested my app so that it reacts to whatever the StoreKit returns when I tap the buyButton . Now here's my question. From the docs, it says that the Sandbox simulates the transaction process with no financial stuff. So I'm free to buy as much

Registration should be always optional on non-renewing subscription?

为君一笑 提交于 2019-12-21 05:06:10
问题 I plan to use non-renewing subscription on SaaS app since apple doesn't allow auto-renewable for SaaS. Apple also requires us to provide a server side mechanism to track the subscription with multiple devices. But, based on my research, apple also seems to reject app if registration is mandatory, so such user registration must be made optional. My app can be used without registration at start, so registering is optional at this point. But, if users want to buy non-renewing subscription,

Restoring an in app purchase with a user who never paid for it

限于喜欢 提交于 2019-12-21 04:55:31
问题 I'm trying to test the in app purchase in my app. When i restore the in app purchase with a test user who bought the in app purchase it all works fine. But when i try to restore an in app purchase with a user who didn't make the in app purchase before i expected the framework to call the following method: -paymentQueue:restoreCompletedTransactionsFailedWithError: but instead the framework calls: -paymentQueueRestoreCompletedTransactionsFinished: like my test user already bought the in app