3

the google api documentation states that you should call the method getPurchases() to know currently active subscriptions, but is there a way to get from Google the expired subscriptions too? Or should I store the subscription informations on a custom server?

I'm doing a magazine app and, even if the subscription is expired, I should be able to allow the user to re-download the issues published while the subscription was active…

Nathan Hughes
  • 94,330
  • 19
  • 181
  • 276
talpaz
  • 1,956
  • 2
  • 13
  • 14

1 Answers1

2

Yes of course there is the way for the android application and your back end server to check your subscription details and it's expiration date and even if have access to cancel subscription manually from your server. Using "purchase-status-api", you can check it's expiration date and auto-recurring bill flag.

AFTER LOT OF SEARCH I GOT FOLLOWING LINKS,

PURCHASE-STATUS-API

AUTHENTICATION DEVELOPER DOC

GET EXPIRATION DATE FOR SUBSCRIPTION PRODUCT

REFERENCE LINKS:

MORE LINKS TO IMPLEMENT GOOGLE API

HELP TO IMPLEMENT FOR SERVER OR CLIENT SIDE GOOGLE API

Hope it will solved your problem.

Community
  • 1
  • 1
Maulik
  • 3,316
  • 20
  • 31