Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

how to Get cancel subscription information/Autorenew after successfully purchased #49

Open
ContinuousExcellence opened this issue Jul 5, 2016 · 1 comment

Comments

@ContinuousExcellence
Copy link

Hi,

I can Successfully purchase product in Android, iOS both and can get receipt after that. I need to know hot to get information if user has cancelled purchase by going to respective store. I tried to get information by validating receipt but even that is not sending helpful information about cancellation of product. For ios, I am assuming that expiration date I am getting would be useful but for android, I am not getting if purchase has been cancelled.

One more thing, I am assuming that if I am getting "autorenew" false, that means that subscription would be renewed on next date. So at that when subscription get renewed, Do i need to manually update date in my database or I can get information from Google/Apple server?

Can you please help for that?

@mircoc
Copy link

mircoc commented Jul 14, 2016

Hi,

i sent a Pull Request #48 for decoding the receipt locally, with that you can understand what products the user still have or the expiration date of a subscription.
This is possible only on iOs. On Android you still need server side decoding.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants