question

justlikethat avatar image
justlikethat asked

Repeated Subscription data for same user at regular intervals

We have been seeing purchase token for a user returning different start and end dates (usually within 5-10 days of each other even though subscription duration is at least a month) again and again. Wondering what scenario would trigger this. Anyone else seen it happening. Any thoughts from Amazon side?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Justlikethat, Thank you for writing to us. Can you please let us know in which environment you are getting this inconsistent subscription period? Is it in sandbox or Live? The Receipt object passed in the onPurchaseResponse() contains the SubscriptionPeriod and you should be able to see the start date and end date in the SubscriptionPeriod object. Are you seeing different start and end dates with every purchase in that SubscriptionPeriod object? How you are decrypting the purchase token which is an encrypted string? If this is happening with live SKU in live app, please write a ContactUs with the app and IAP details so that we can see it in our end. Please mention about this thread url ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=2309&tstart=0) in the ContactUs case you are going to raise.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.