I've created new app add-on for purchase. It's a month subscription which pricing is free for testing purposes. After several cycles of purchasing add-on and then canceling it, the store api method Windows.Services.Store.StoreContext.GetAppLicenseAsync() returns a month subscription with expiration date of 9999-12-31 00:00:00. Here is the app license json:
{
"productAddOns": [
{
"devOfferId": "",
"inAppOfferToken": "subscription-month",
"productId": "9N4VFZX8NXJT",
"productType": "Durable",
"skuId": "0020",
"skuType": "Full",
"expiration": "9999-12-31 00:00:00",
"isActive": true
}
],
"productId": "9NH6D9HN5PLN",
"skuId": "0010",
"isActive": true,
"isTrial": false,
"isTrialOwnedByThisUser": false,
"isDiscLicense": false,
"expiration": "9999-12-31 00:00:00",
"trialTimeRemaining": "10675199.02:48:05.477581"
}
I cannot cancel this one using Microsoft Store purchase API, because https://purchase.mp.microsoft.com/v8.0/b2b/recurrences/query does not return that subscription. In portal https://account.microsoft.com/services/ it shows that the subscription is canceled.
At this point I am clueless. Is there any way to work around this?