My app offers in-app subscriptions. When a subscription is bought or renewed, the app is notified with a SKPaymentTransaction, that contains in-app product identifier. I can query that in-app id to retrieve the purchased SKProduct. That product may contain a regular price, an introductory price (or trial), and one or more discount prices (since iOS 12.2). In case of a renewed subscription, the current regular price may differ from the price the user had been subscribed in the past.
My question is how to tell which is the price the user has paid:
- current regular price;
- introductory price/trial;
- discount price;
- something else, available in the past for that user.