-
Notifications
You must be signed in to change notification settings - Fork 39
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
Having problem fetching product price at onProductsFetched #52
Comments
I have same problem
Only the productInfo.title and productInfo.product are available. My previous code with Billing V4 worked fine Help me please! |
Hope this can help anyone with same issue, We can get the formattedPrice and priceAmountMicros in subscriptionOfferDetails, not in getOneTimePurchaseOfferPrice as below":
|
@duckyngo Thanks dude. For half a day I thought that the error was on my side because I just used sample app code |
Things changed, the API changed, latest updates were made by contributors so the sample app could be broken. |
@moisoni97 Thank you for your quick reply. Maybe you should say this in the README to avoid issues like this? |
Hi,
I'm having an "Attempt to invoke interface method 'java.lang.Object java.util.List.get(int)' on a null object reference" on onProductsFetched while trying to fetch prices for both IAPP and SUBS. The pricePro is a non-consumable IAPP and both subs doesn't have multiple offers.
Below is the code snipped:
'public void onProductsFetched(@nonnull List productDetails) {
String product, pricePro, priceSubMontly, priceSubYearly;
}`
The text was updated successfully, but these errors were encountered: