iosapp-store

How to verify a App Store Order ID received from a buyer's Apple receipt email?


A user claims that he bought a in-app and sends me a Order ID from Apple receipt email that looks like MKQHK4Y9LF. In our database there are only Transaction IDs collected from reseipt verification prosses that looks like 1000000566193414. How to check whether the in-app were purchased having only the Order ID from the user's Apple receipt email?


Solution

  • Trust me there are no ways to link the data you have stored in your DB against email data (MKQHK4Y9LF) you received from User.

    Using verify purchase you get original txn Id and other details but not the Id sent in Email. Apple considers that a PI.

    The only way to get to know that is the userID, with each txn(subscription) you must be(should be) storing user id (emailID).

    There should be a mapping of userID (email, guid etc) and original_transaction_id