My subscription is configured with frequency YEARLY and no trial period.
"subscriptionInformation": { "subscriptionPaymentFrequency": "YEARLY", "subscriptionTrialPeriodDays": 0 },
After a purchase the ISP service gives me the following JSON response:
{ "productId": "amzn1.adg.product.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", "referenceName": "xxxxxx", "type": "SUBSCRIPTION", "name": "xxxxx", "summary": "xxxxxxxxx", "entitled": "ENTITLED", "entitlementReason": "PURCHASED", "purchasable": "NOT_PURCHASABLE", "activeEntitlementCount": 1, "purchaseMode": "TEST" }
everything is fine. After a cancellation the service gives me the following:
{ "productId": "amzn1.adg.product.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", "referenceName": "xxxxxx", "type": "SUBSCRIPTION", "name": "xxxxx", "summary": "xxxxxxxxx", "entitled": "NOT_ENTITLED", "entitlementReason": "NOT_PURCHASED", "purchasable": "PURCHASABLE", "activeEntitlementCount": 0, "purchaseMode": "TEST" }
According to my understanding, the purchase is valid for one year so the "entitled" attribute should give me at least "ENTITLED"?
Alexa confirmes my cancellation and says something like "you can use your subscription until the end of the term".
What exactly is the end of the term? (date of purchase/current year + 1 year) ? or is the end of the term the date of cancellation?
Please note, I haven't used reset-isp-entitlement (ask cli) after the cancellation.
Is this a expected behaviour in test mode? Is this the same behaviour as in live mode? If the test system differs from the live system, how can I cleanly test my implementation?
Any help is welcome.
Regards,
Alex