I want to ask about the App store Api Get Transaction History APl .The response data JWSTransaction does not have an is_trialperiod field.How can I determine whether it is in the trialperiod?
Get Transaction History API not have an is_trialperiod field
For https://developer.apple.com/documentation/appstoreserverapi/offertype, if the type is 1 this will tell you it is either in a trial period or an intro offer period.
See https://developer.apple.com/documentation/appstoreserverapi/offerdiscounttype for the specific type of offer.
https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/subscriptions_and_offers/implementing_introductory_offers_in_your_app has a good overview of the trial cases.