question

MarcoEnxuto avatar image
0 Votes"
MarcoEnxuto asked RoyLi-MSFT commented

UWP In-App purchase Add-on licensing issue on subscriptions

Hi,
I found a little inconvenient issue regarding StoreLicense Class, when using IAPs. After calling the AddOnLicenses, which retrieves this object on its collection, the property of IsActive is true when a subscriptions is in a Canceled state.

This shouldn't be the behavior.

When a subscription is canceled, i think the value returned to the IsActive should be false. Even if it is in the grace period when the product is a trial indeed.

So, the workaround i found for now is, the implementation of a rest client to check the state of the subscription and then apply the business logic.

Also, the expirationTimeWithGrace is updated with the date of the cancelation. I think it's wrong too. Am i right?

Are you expecting to do any evolution on this namespace?

Thanks.



partner-center-general
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Based on the description of StoreLicense.IsActive Property, it mentioned that this property will always be true because this property is reserved for future use, and it is not intended to be used in the current release. So it is the expected behavior that it returns true.

1 Vote 1 ·

Hi RoyLi,
Thanks for your answer.
This property does not return anything when a product wasn't purchased.
So in conclusion, it is expected to be updated in the future. Am i right?

0 Votes 0 ·

Yes, as the document said, the property should be used in the feature release, not the current release.

1 Vote 1 ·

0 Answers