Search code examples
androidin-app-purchasesubscription

How to check is transaction free trial in android subscription?


Is it possible to know is subscription was purchased as free trial? For now I can't find a way how to do it on server/device side.

Does anybody has suggestions how to do it?


Solution

  • On 9th of June, 2017 at page https://developers.google.com/android-publisher/api-ref/purchases/subscriptions appeared info about new value for paymentState - 2 which means "Free trial".