Testing complete transactions
Verify that your app completes transactions properly by confirming that any downloadable purchases are present on your test device.
Overview
Locate where your app calls the finishTransaction(_:) method, and verify that your app completes all work related to the transaction before calling the method. For example, if the purchase includes downloadable content, verify your app downloaded the content to your test device as described in Persisting a purchase. Verify that you call finishTransaction(_:) for every transaction, whether it succeeded or failed. For more information, see Finishing a transaction.