What's the difference between grace period and trial period?

I'd like to fire an event when a user started a subscription with a trial.

So for testing purposes, I've created a subscription with a trial and then subscribed. And when I check my subscription I see that inGracePeriod is true but inTrialPeriod is not.

What's the difference between a grace period and a trial period?

inTrialPeriod set to true indicates that the user has purchased a subscription item where a trial purchase is offered to new users. The account is currently in the trial period. When the trial period is over, and the user has not cancelled the auto-renewing subscription - the App Store will attempt to bill the user's credit card to renew the standard subscription associated with the free trial. If there is a billing issue preventing the charge, the transaction goes into billing retry. For more information I refer you to the Apple Developer article "Reducing Involuntary Subscriber Churn"

rich kubota developer technical support CoreOS/Hardware/MFI

What's the difference between grace period and trial period?
 
 
Q