I'm quite confused applying InApp Purchase using a server model.
I read this in the StoreKit Guide:
If the user attempts to purchase a nonconsumable product or a renewable subscription they have already purchased, your application receives a **regular transaction for that item, not a restore transaction. However, the user is not charged again for that product. Your application should treat these transactions identically to those of the original transaction.
So tell me how will i knw that whether the user has purchased the item or he has restored the item????