How to check In App Purchase Auto Renewable Subscription is valid

Today, I have trouble with this problem. Follow Apple doc here, I used this way to check subscription is expired or not. My idea: user APPLE REST API response: (request time + expired time) to check expired or not + (BOOL)checkInAppPurchaseStatus { // Load the receipt from the app bundle. NSURL *receiptURL = [[NSBundle mainBundle] … Read more

iTunes Connect error: “An In-App Purchase has been returned”

I had the same problem, following is the screenshot of how my in-app purchase’s details page did show a yellow highlighted portion: What I did is: added another language.. then deleted the previous rejected language, then added the previously rejected-then-deleted language and then deleted the second added language. 🙂 And it worked!

iOS 11 – Is in app purchase testing using a sandbox user keeps asking to sign in for anyone else too? Forever loop?

The same thing happens for me, for three separate sandbox users which were created before iOS 11 release. (The problem seems prevalent on iOS 11, there are posts on reddit and apple forums reporting this issue) It seems creating new fresh sandbox user is the way to go. Sandbox users created after iOS 11 release … Read more

In-App-Purchase sandbox testing error

Make sure of the following: 1. The test account created is from the same developer portal from which you generated your provisioning profile. 2. The test account still exists and was not deleted from there. 3. Use the same identifier for which you created the in-app purchase for your app in iTunesConnect.

I am getting error while requesting products from App Store for IAP

Apple blocked testing in-app purchases… Here is the link to the release notes https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW578 See: iOS Simulator section StoreKit (In-App purchases) will not work in the Simulator. 13962338 Very sad…

How to cancel Auto-renewable subscription by using test user in sandbox environment?

You can do it in the following way: Open iOS Settings Go to “App Store” Tap your sandbox account (“SANDBOX ACCOUNT” section at the bottom of the screen) Select “Manage” “Edit subscription” screen will open and there you’ll have a “Cancel subscription” option for your Sandbox subscription. With a small delay (it was several minutes … Read more

Server-side verification of Google Play In-app billing version 3 purchase

where do I get the signature from ? Have a look at official docs, It says that inside your onActivityResult() method you can get following data as shown in example, @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == 1001) { int responseCode = data.getIntExtra(“RESPONSE_CODE”, 0); String purchaseData = data.getStringExtra(“INAPP_PURCHASE_DATA”); String … Read more

Restore already bought in-app-purchases on iPhone?

If the $0.99 item is non-consumable, then you should provide a “Restore Purchases” button (or similar) which calls [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; Assuming you’ve added a transaction observer already, and implemented the protocol including a case to handle a restored transaction (with state SKPaymentTransactionStateRestored) this will work.