-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Store update, IAP no longer works #154
Comments
I had the same problem. I was not using Does anybody know if there is any way how this can be debugged? For the future I will not use receipt verification any more as it 1. can't be testen and 2. seems to be very unreliable... |
That sounds very similar. I had a couple of users complain and just brushed it off as user error, then another update later and everyone (Even me) has the same problem. |
Do you know the reason in your case? Was the receipt missing? Or was it invalid? |
I'll going to make an update and would like to refresh the receipt for users with the problem... but the question is: "How to detect those users"...?!? |
No idea. I don't use receipt validation at all. Just used |
I pushed an update to the App Store and got an expedited review, and all is working again! |
It seem we have the same problem. Any more info on this? |
It seems as if receipt validation fails.... I did an expedit review and just ignored the validation (i know that's bad... but as it's hard to test it was the only way we saw) and just checked for the IAP identifier. |
@matthieurouiff were you using receipt validation? |
Thanks. I don't think we don't do receipt validation but I am checking this right now. Same as you, we didn't change anything on the in-app side on our last release |
I also didn't change anything in my IAP code... So I guess it was an update problem from the store... But as it's just impossible to test the exact reason we were just not brave enough to just resubmit :) we collected quite a few 1star reviews and therefore wanted to solve the problem as quick as possible :) |
@georgbachmann have you made an update already? |
@matthieurouif yes... expedit review... was through in about 2h or so... after the update the problem was gone... |
I was able to recreate my issue by exporting the previous build from Xcode for adhoc, the. Using Xcode to install it on my device. |
Something I've noticed since my update that fixed the IAP. I regularly have to restore purchases. Like maybe once every couple of days. |
Did you guys resolve this. This sounds pretty scary. My app uses RMStore. No negative reviews related to missing IAP, but it would be good to get to the bottom of this. Have you googled around looking for other broken IAP related things with IOS9? |
By the way, I'd say after 1 + years no update and no response on this sort of level of issue... I'm looking for an alternative to RMStore. |
Not sure where you got 1+ years from? I'm still none the wiser what happened and every now and then I have to restore purchases. |
sorry for the confusing message. I meant the last version bump. But actually it was December last year and I guess nothing has changed with IAP so nothing to update with the library. Still, it would be good to know what is going on here. |
We shipped an update, hopefully it will solve the problem for everyone. Some other news, one of our users was able to make things work again with this easy solution that I'd like to share with you: "I have my device on Automatic update of time and date - so I set it on manual and set the date to yesterday. Went back to Replay app and hit restore..." |
@matthieurouif could you share with us where the problem was? Would be great to know what caused all the problems... |
@matthieurouif I really hope I don't have to tell my users to try that On Mon, Oct 12, 2015 at 6:12 PM, Georg Bachmann notifications@github.com
|
We haven't identify the problem. I just gave a fix that seems to be working and I ship an update since you guys sayed it fixed the problem. I'll tell you if it really fix the problem once the app is on the store |
Probably totally unrelated but I've noticed my banking app randomly ask me for my pincode, whereas it should (and 90% of the time does) just let me use touchId. So I'm wondering if this could be an iOS bug with the keychain, as I still have to refresh purchases every now and then. |
I am also getting this issue. Did you find a solution? I have a non consumable in app purchase and I only check the app receipt if the user has purchased the premium features. Haven't made any changes, but all of a sudden users start complaining about in app purchases being lost. The app receipt seems to be lost and the users have to restore their purchase. |
To add to this issue, I just noticed that my update was released on the 4th of november and according to my analytics framework, most users lost their receipt on the 12th of november. More than one week after the update! Could this issue have something to do with iOS updates? |
I'm still none the wiser on this. I don't even use the receipt, just the keychain and yet I have to restore my purchase almost weekly. |
@ddaddy That sounds disturbing! I am not even using the transaction persistence, just checking the receipt. I have no clue why this is happening. Now I am implementing my own fallback solution storing if a purchase has been made in user defaults and automating the refresh when needed, but it has already caused quite a few negative reviews. |
So annoying... I'll never get this release out. But thank you for sharing On Mon, Nov 16, 2015 at 10:47 PM, sipersso notifications@github.com wrote:
|
Have you guys got any news on this? I have recently published an app and we have been getting complaints of users getting charged and not getting the products. It seems like a common step to reproduce is when the users are prompted to update their credit card information and taken out of the app in the process. They are then taking back in the app and the process is completed. I am almost certain that the block success will never be called in this case as when I did the test myself, I have seen an error from the addPayment:success:failure call (the failure displays a HUD). The only possible solution I have found is to actually add an observer on the delegate for any transactions call to see if the success notification is actually received. I may have found a way to test it better, I'll post on it later. Maybe the error is not directly related to the issue in this topic, if it ain't I'll create another issue. |
Any news? |
Any news please? Any solution? I also get emails about charged purchases but users not credited... |
I wonder if this is new behavior or these spurious errors have been with On Fri, Mar 18, 2016 at 4:14 AM, Dusan Lazarevic notifications@github.com
|
We are using RMStoreKeychainPersistence in our yoga app, and got support requests from users who said the yoga sessions they had purchased got locked again. This issue affects only a minority of users (~5 every 1000 users). Asking them to go "Restore purchases" in the app settings solved the issue. I wonder if this has something to do with this spurious bug that Apple has to fix in the Keychain: https://forums.developer.apple.com/thread/4743 I can't think of a workaround so far, except keeping track of in-app purchases somewhere else (maybe NSUserDefaults, which makes it easy to hack). |
I also went ahead and kept track in user defaults as fallback. But what I did so that you can't easily hack it it take the Device-ID + Salt and Hash that.. So I can compare the stored value to an expected one... |
Ok but I am not using non-consumable purchases at all, only consumable. So I can't tell users to restore purchases. And even with consumable, users complain about lost money without credits... |
With the current state, I would recommend migrating to your own solution. There seems to be confirmed bug fixes that haven't been merged in over half a year like #150 and this serious open issue without any real hints. Also while hunting down this crash I lost trust in the code base. But to bring some productivity to the discussion, when using I added some logging which can be attach to a report problem email, which gave a good clue.(catlan@9668bf7 and catlan@a78ce35)
The unique attributes for So the keychain item for effected users seems to have lost I'm curious on how the About fixing the issue. I suggest to move to a new key - fixing the wrong data type and querying for a non unique attribute issue. Maybe with a run once upgrade process in the |
I've seen a crash reported in |
Has anyone else had an updated app suddenly stop awarding IAP's?
I've update my app many times, and this last update absolutely nothing was changed regarding IAP's and yet when the App Store update was released, no IAP's are awarded. Neither 'Restore Purchases' nor buying awards the IAP.
I've tested the previous build, and it works fine. I've gone through my commits with a fine tooth comb, and nothing should affect this.
I can't properly debug the App Store version because iOS 9 and Xcode 7 have since been released and everything seems to work flawlessly when running and debugging my code from Xcode.
Looking at the device console, I left in an NSLog that lists the
purchasedProductIdentifiers
and I can see my IAP is listed.The only point I can see an issue, is if calling the
RMStoreKeychainPersistence
too many times in quick succession with[_persistence purchasedProductIdentifiers]
could cause the issue?I really don't know whether uploading a new build that works from Xcode is going to have the same problem once released onto the App Store.
Anyone else had similar experiences?
The text was updated successfully, but these errors were encountered: