Restore Purchase Feature

How does restore purchase work In IOS

First scenario: User already Purchased the subscription with one ID and Try to restore the subscription with another ID while doing this user first tries to purchase the subscription again and then tap on the restore button

Second Scenario: User already Purchased the subscription with one ID and Try to restore the subscription with another ID and then again try to restore the subscription in the first one.

Purchases are tied to one ID (or family if set up). The user will need to use the same AppleID for a restore feature to work.

Restore Purchase Feature
 
 
Q