Advertised in-app purchase in appstore.

How to track in my application that the inline purchase request did not occur in the application but through the app store (apple has obliged to establish parental controls on embedded purchases purchased through advertised purchases in the appstore)?