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

purchaseState or state? #258

Open
daniefvh opened this issue Feb 15, 2019 · 3 comments
Open

purchaseState or state? #258

daniefvh opened this issue Feb 15, 2019 · 3 comments

Comments

@daniefvh
Copy link

This may only be in documentation:

When calling restorePurchases, in the payload the state field is called purchaseState but the documentation indicates it is called state.

@netse-ai
Copy link

Does restorePurchases() work for you??? I only get "Error retrieving purchase details". This is even with active, REAL subscriptions.

@daniefvh
Copy link
Author

It works but the state doesn't seem to reflect the purchase has been refunded on android at least.

I noticed there is a state on the main payload and a purchaseState in the receipt but both seems to be wrong.

@tear727 did you update your manifest.json file with the play_store_key? That tripped me up initially

@netse-ai
Copy link

@daniefvh Yes, the key was actually the issue. Google changed my key for some reason. I hadn't used it in a few months so maybe they update them when they aren't used.

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