IAP doesn't work too well for trials. You have to label it a free app, and then users get angry that you're charging for features.
2.6 Apps that are "beta", "demo", "trial", or "test" versions will be rejected [1]
[1] https://developer.apple.com/app-store/review/guidelines/mac/