question

aditya mohatta avatar image
aditya mohatta asked

Number of days for amazon subscription (Monthly, Half Yearly, Yearly)

We want to implement subscription in our amazon application which should not check for active subscription on every app launch but only when the subscription ends. For that purpose we need to calculate expiry date based on the type of subscription.We want to know how does amazon calculate number of days for a subscription? For example if a user subscribes a monthly subscription on Feb 1 when will his subscription end? Will it be on 28 Feb OR 30 days from Feb 1 (i.e 2nd March)?
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

Levon@Amazon avatar image
Levon@Amazon answered
Hi aditya, Thanks for posting! Please refer to this documentation, specifically "Monthly: Every month on the same day from date of purchase" https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs/purchasable-items#Subscriptions Also as an edge case, if the customer subscribed on the 30th, but the next month is only 28 days (Feb) then it will renew on the 28th (last day of the month). However, please note that we still recommend that you implement getPurchaseUpdates() every time the app starts, because the subscription can be canceled any time during the month (e.g.: because of customer service cancellation, charge back, etc). Please let us know if you have any further questions. Thanks!
10 |5000

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