Greetings community!
A) I am trying to implement Apple In-App-Purchases for a new iOS app/game.
B) I have a client-server application, and the purchase validation and entitlement grant needs to happen on our game-server. As best as I can tell, I want to use Get Transaction History to validate the purchase on the game server.
I'm testing a sandbox app/APIs using TestFlight. My generated transactionID's are sequential integers starting at 0, but some documentation suggests it should be a UUID. So far, the integer transactionID/originalTransactionID have not yielded a valid response from GetTransactionHistory.
The errors I get are:
{"errorCode":4000008,"errorMessage":"Invalid original transaction id."}
{"errorCode":4040005,"errorMessage":"Original transaction id not found."}
I'm mostly stumped at this point, as I can't find any documentation describing what I may have missed, and there are no other forum posts or search results for those error codes.
So my questions:
Will GetTransactionHistory ever this work with sequential integer transactionIDs?
I've deployed the signed app through TestFlight, and I'm still getting sequential integer transactionIDs. Is that expected? What am I doing wrong?
Post
Replies
Boosts
Views
Activity
I am trying to test two apps using TestFlight.
I have two separate "feature POC" apps that we publish to TestFlight for testing. One of them is an IAP feature app which utilizes in-app-purchases. IAP documentation talked about the necessity of using "sandbox tester" users, so I've been resetting the user between dev and sandbox user accounts on my phone.
I've accidentally locked myself out of TestFlight access by doing this. I have two apps that I've granted myself TestFlight access, but only one shows on TestFlight on my phone. I've tried revoking and re-adding my account, but it says "Installed" as the status, instantly upon re-adding myself to the app's users. It won't send me another invite, and I can't see the app in TestFlight.
I've even tried redeeming the old code, and it says it's already been used. It WAS used... on this device for this user, but it still doesn't come back.
How can I fix this?