question

MarcoEnxuto avatar image
0 Votes"
MarcoEnxuto asked MarcoEnxuto edited

[UWP] cannot purchase subscription after purchased for the first time

Hi,
I found an issue related to subscriptions.
I follow the guidelines of this document regarding the implementation, but it seems a new issue came up.
After i purchased a subscription and canceled it during the trial, it seems i cannot purchase it again to activate it. The service returns that i already own the product. But, it's not true. I canceled it. As stated by this article: https://docs.microsoft.com/en-us/windows/uwp/monetize/enable-subscription-add-ons-for-your-app

Here the important quote regarding the recurrentState:

- Inactive/Canceled/Failed are terminal states. When a subscription enters one of these states, the user must repurchase the subscription to activate it again. The user is not entitled to use the services in these states.
- When a subscription is Canceled, the expirationTime will be updated with the date and time of the cancellation.

Update
After deeper investigation i came to the conclusion that this issue is only related to my account.
To troubleshoot, i created 3 MSA's to test it against the real scenario. Sorry guys, i really needed to create those accounts to investigate this issue.

  • Account A with a subscription made, it's SKU has a Trial for testing purposes.

  • Account B not subscribed to any product i configured.

  • Account C subscribed to the InApp with Trial mode and then canceled. The scenario i am facing right now.

After the cancelation on account C, everything went fine and i could subscribe over again, this time without the option to get the Trial. Excepted behavior.

So, my MSA, somehow has an issue on this product i canceled, also it says, by using the SDKquery for Collections endpoint, the expiration date is year 9999 which is wrong.

95025-image.png


windows-uwppartner-center-general
image.png (8.7 KiB)
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.

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

Hello,

Welcome to Microsoft Q&A!

This is expected behavior, as it is mentioned in the document here: If the user chooses to cancel their subscription during the trial period, the subscription remains active until the end of the trial period. Please check the document-Steps to enable a subscription add-on for your app again for more details.


Thank you.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 7
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.

Hi @RoyLi-MSFT , thanks for answering.
I have to clarify.
The trial period has ended, since it was 1 month only. It is suppose to end on April 22th. Since i subscribed on March 22th.
A note i would like to add is related to the cancelation. It was made by a WebAPI made by myself which calls the Microsoft Store Services API using the implementation mentioned on this link: https://docs.microsoft.com/en-us/windows/uwp/monetize/change-the-billing-state-of-a-subscription-for-a-user
The article you mentioned, i already know it, and i implemented the same way as described.
As you can see, the problem might be right here on the expiration date, since it mentions year 9999.
I guess this date is when the individual does not have canceled anything yet.
In this case, this is not true, since i canceled it on the same day i subscribed.

93911-image.png



0 Votes 0 ·
image.png (8.7 KiB)

Have you checked the subscription status here: https://account.microsoft.com/services?

0 Votes 0 ·

@RoyLi-MSFT i've updated the main post, with relevant information. However, i guess i have to contact someone from the Microsoft Account team, am i right? It seems i have a problem with my MSA, since i subscribed the InApp Product i created, but your services are returning a wrong expiration date.

0 Votes 0 ·
Show more comments
MarcoEnxuto avatar image
0 Votes"
MarcoEnxuto answered MarcoEnxuto edited

Last update. It seems it only happened to me, so, in my case, my license will be a lifetime one. It wasn't suppose to be. I decided to ask them to close the case.

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.