How to get apple id from in-app purchase transaction_id

In my application, when a user buys a product using an in-app purchase, I cannot force the user to log into my application [This is an apple condition]

When a user buys any product apple, just give transaction_id when purchasing the application .

In this case, I cannot track user information on my system. later, when the user restores his product for the In-app purchase on another device, without any user track / id id / Unique ID, I can not control my application.

How can I get Apple's unique user ID for transaction_id ..?

+4
source share
1 answer

There is no PII (personal information) in the fields for receiving a purchase in the application. See the "Check Verification Guide" for details . In other words, you cannot get the apple-id user id from the transaction id.

If you just want to restore your previous purchases, you can do this by restoring the purchased products. For more information, see the Application Programming Guide in the app.

If you want to track a user for other purposes, you can log in to the application before showing them the shopping screens.

+4
source

All Articles