Code Monkey home page Code Monkey logo

Comments (7)

vegaro avatar vegaro commented on June 9, 2024 12

@EliasDeuss Is it possible that those products you are trying to fetch are consumables in Android? If that's the case, you have to pass the second optional parameter specifying the PurchaseType.inapp type. This optional parameter doesn't have any effect in iOS.

Purchases.getProducts(productIdentifiers, type: PurchaseType.inapp);

We can add better docs if that's confusing.

from purchases-flutter.

vegaro avatar vegaro commented on June 9, 2024

Hi @EliasDeuss, the reason why products is empty is a misconfiguration either in RevenueCat or in Play Console. Things that you should double check:

  1. The product ids configured in RevenueCat match the product ids in Play Console. tieronetip, tier3tip, tier5tip, tier10tip, tier21tip
  2. Products are active in Play Console.
  3. The application id you are running matches the one in the play store. For example, some people add a .debug suffix to their application id when developing. That will break the fetching of the products.
  4. Your app is published in a Closed Track. Doing this fixes a bunch of these issues. https://docs.revenuecat.com/docs/google-play-store#create-a-closed-track-and-add-a-tester-to-it

Other useful links that might help you find your issue are https://docs.revenuecat.com/docs/google-play-store and https://developer.android.com/google/play/billing/billing_testing#testing-purchases

from purchases-flutter.

edeuss avatar edeuss commented on June 9, 2024

@vegaro I have followed all the instructions and they still don't show up.

from purchases-flutter.

vegaro avatar vegaro commented on June 9, 2024

Did you manage to get it to work? Some steps take some time to propagate.

from purchases-flutter.

edeuss avatar edeuss commented on June 9, 2024

@vegaro No they still haven't shown up for me yet.

from purchases-flutter.

edeuss avatar edeuss commented on June 9, 2024

ok

from purchases-flutter.

edeuss avatar edeuss commented on June 9, 2024

@vegaro Yea that was it. Facing another issue now that I got that working.

The product is not available for purchase. | Couldn't find product. Even though the product ids match.

Error:

D/[Purchases] - DEBUG(12635): Requesting products with identifiers: tieronetip
D/[Purchases] - DEBUG(12635): Products request finished for tieronetip
D/[Purchases] - DEBUG(12635): Retrieved skuDetailsList: 
E/[Purchases] - ERROR(12635): The product is not available for purchase. | Couldn't find product.

Google Play products:
Screen Shot 2020-05-14 at 1 10 45 AM

Thanks for the help

from purchases-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.