cordova-plugin-inapppurchase icon indicating copy to clipboard operation
cordova-plugin-inapppurchase copied to clipboard

purchaseState or state?

Open daniefvh opened this issue 7 years ago • 3 comments

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.

daniefvh avatar Feb 15 '19 07:02 daniefvh

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

netse-ai avatar Feb 16 '19 03:02 netse-ai

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

daniefvh avatar Feb 16 '19 23:02 daniefvh

@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.

netse-ai avatar Feb 19 '19 22:02 netse-ai