In StoreKit2 you can attach an app account identifier to the transaction so you know which account in your system the transaction is for. If you generated a unique id for each purchase and mapped that to your account you can ensure 2 copies of the same transaction are detected as such.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: