Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android developerPayload not working in finishTransaction #2751

Open
CyberTron88 opened this issue May 29, 2024 · 4 comments
Open

Android developerPayload not working in finishTransaction #2751

CyberTron88 opened this issue May 29, 2024 · 4 comments
Labels
🤖 android Related to android 🙏 help wanted Extra attention is needed

Comments

@CyberTron88
Copy link

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
Copy link

ng-ha commented Jun 14, 2024

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

@CyberTron88
Copy link
Author

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

@ng-ha
Copy link

ng-ha commented Jun 14, 2024

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

@hyochan
Copy link
Member

hyochan commented Jun 15, 2024

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

@hyochan hyochan added 🙏 help wanted Extra attention is needed 🤖 android Related to android labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Related to android 🙏 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants