How can I check the orders from my app's users? Sometimes users may encounter issues with their payments, so I need to verify the transactions when there are problems reported by my app's users.
How can I check the orders from my app's users?
If they send you an “order ID”, which they can find in their App Store purchase history, you can look that up using the App Store Server API and get the status of their transactions.
The usefulness of this is limited though. For example, these are not linked to email addresses so you can’t be sure that the Order ID is actually for this user. And it only works for in-app purchases, not for the initial app purchase.
In most cases it is better to direct users to contact Apple if they have e.g. payment problems.
That Order ID endpoint is documented here: https://developer.apple.com/documentation/appstoreserverapi/look_up_order_id
Specifically if a customer is not able to access their purchase you can ask them to provide their orderID. Customers can find this in their purchase history and typically they receive an email for their purchase. Doc above has info on where customers can retrieve this order ID.
Lastly if a customer provides this to you, you can verify if that Apple ID has a purchase for your app. If so you can verify that transaction is in your system and what account in your system it is associate with
If you verify and confirm they do have a purchase then have the customer verify they are signed in on their device with the same apple Account that made the purchase and have them complete a restore purchases in your app to force your app to re-process the restorable transactions. Ideally this step is unnecessary step if your app is automatically performing a proactive restore. Learn more here: https://developer.apple.com/videos/play/wwdc2022/110404/
if a customer provides this to you, you can verify if that Apple ID has a purchase for your app.
Did you mean to write "Order ID" there?
If you do mean "Apple ID", please explain.