I think that I understand correctly the process for validating a new subscription, but I have questions on how to validate the renewal of the subscription (Step #7).
Process for validating an initial subscription:
1) Get Transaction ID from Roku device (once subscription is complete)
2) Pass Transaction ID from Roku device to my backend server
3) Backend server communicates to Roku server at following URL
http://apipub.roku.com/listen/transacti ... ansaction/ + devToken + / + transactionID;
4) If a valid subscription, the ExpirationDate is returned. Let's assume that it is a one month subscription.
5) Store expiration date in database - associated with User.
6) Return expiration date to Roku client
7) If current Roku device time is greater than expiration date stored, then check if subscription was auto-renewed.
My question is how do I go about implementing Step #7? Should I store / persist the transactionID on the backend server, and then have the Roku client make a request to the backend server, to revalidate the transaction (and get a new expiration data)?
http://apipub.roku.com/listen/transacti ... ansaction/ + devToken + / + transactionID;
Thanks,
Kurt