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

introductoryPrice returns null on Android #820

Open
nechtas opened this issue Sep 26, 2023 · 2 comments
Open

introductoryPrice returns null on Android #820

nechtas opened this issue Sep 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@nechtas
Copy link

nechtas commented Sep 26, 2023

Starting from 5.x lib introductoryPrice price returns null on Android every time. Any package 4.x and bellow works correctly.

@nechtas nechtas added the bug Something isn't working label Sep 26, 2023
@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@MarkVillacampa
Copy link
Member

Hello @nechtas

Starting with Billing Client 5, only offers for which the user is eligible for are returned by the API. This means if you have already previously enjoyed an introductory offer, it will not be returned by the API and hence we cannot fill the introductoryPrice field. In BC4, offers were always returned even if the user was not eligible.

Unfortunately there is no way to "reset" intro offer eligibility in Android, so if you want to test it you will need to create a new Google testing account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants