iaphub / react-native-iaphub

The easiest way to implement IAP (In-app purchase) in your React Native app.

Home Page:https://www.iaphub.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After update to 7.0.x, restore purchases isn't working

hdemmer opened this issue · comments

Hi! First, thanks for the new SDK version that has no legacy dependency.
A new issue started after the update:
When terminating the app just after a consumable purchase is made, that product remains in the "Already owned" state. The webhook is correctly delivered, but I cannot buy the consumable product again.
Restoring purchases either from the popup or by direct call does nothing. In the old version, that would flush out a stuck consumable purchase like this.
Platform is Android 11.
Are there any listeners or version upgrade steps I'm missing?

Hi @hdemmer,
Thanks for the report, could you give me more details how to reproduce the issue? Are you terminating the app during the purchase? Thanks

Fixed in v7.0.13 🙂