Subscription Restore receipt validation.

Good morning! Quick question regarding receipt validation when doing subscription restore. I do restore for subscription. My receipt has 10 transactions... after the restore obviously it will have 20 transactions in it. Do I need to sync the receipt with our backend for every new transactions created by restore operation or I can finish n-1 transaction and just send the receipt once for the last transaction?

Will the receipt be the same for every transaction created by restore operation?

the app receipt will be unique each time it's generated but the transactions within them when returned by verifyReceipt will be updated. So the in_app array is just the transactions encoded in the receipt while the latest_receipt_info contains the current/latest transactions that are persistent or unfinished (aka, no finished consumables are returned in this object).

If you are using verifyReceipt or StoreKit2 then you have no need to every have a customer perform a "Restore Purchases" - you have everything you need. Please see our WWDC22 session on "Proactive Restore" as your app can be fully up to date on customers state/transactions without requiring the to do anything and can avoid the above entirely.

WWDC22 Session: Implement Proactive In-app Purchase Restore

Subscription Restore receipt validation.
 
 
Q