dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.81k stars 641 forks source link

Android developerPayload not working in finishTransaction #2751

Open CyberTron88 opened 4 months ago

CyberTron88 commented 4 months ago

await finishTransaction({ purchase, isConsumable: false, developerPayloadAndroid: 'test123' });

When I did the above, and query the receipt based on the purchaseToken, the developerPayload is always empty.

ng-ha commented 3 months ago

I got the same issue. Did you fix that? @CyberTron88

CyberTron88 commented 3 months ago

no. I actually wanted to use it to store our user id, end up storing using a different field.

ng-ha commented 3 months ago

me too. I ended up storing purchaseToken, because its kinda unique in subscription. @CyberTron88

hyochan commented 3 months ago

Could someone try react-native-iap@next module? Android billing client has been upgraded deprecating the older versions.

Also please indicate the react-native-iap version next time. Thank you! @CyberTron88