1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question In app billing questions

Discussion in 'Android Questions' started by hatzisn, Aug 5, 2019.

  1. hatzisn

    hatzisn Active Member Licensed User

    Hi everyone,

    I want to try for the first time in one of my apps the InApp billing and I have some questions. I quote from the android developer site text:

    First question:

    This check means that it only checks for the version of the InApp billing api we use in the application and also if the Google play supports billing from the user's country. If I get a Supported = true which are the relevant messages for that answer. The same counts also for the Supported = False. Generally I found the following response codes and relevant messages from the server:


    Are some of these responses the messages that BillingSupported event returns? And if it is are these messages always returned in English or in the phone's locale?

    Second Question:

    Does InApp billing checks if the user has entered a credit card in Google Play in order to be charged? If it does not do I do it and how?

    Third question:

    Do I have to implement the interface for the user to enter their credit card details or all these are handled by Google? It is not clear enough for me. How is the full process being done (does chrome opens or Google Play app?) ?

    I could really use an expert's advise in InApp billing because I prefer the shortcut way rather than the "trial-error-knowledge accomplished" method.

    Thanks in advance
  2. asales

    asales Well-Known Member Licensed User

  3. hatzisn

    hatzisn Active Member Licensed User

    Hi asales, thank you very much for your time and your answer. I have read both tutorials before I ask my question and both are incredible pieces of information. Still there is not a full analysis of the possible messages in all the cases. F.e. if we initialize the billing manager and there is no internet connection as Ilan describes what will be the relevant message. On the other hand a more careful reading of the situation made me wonder if no internet at all is required for the billing supported sub and the check is being done within the android device and the Google play services that are installed in it.
  4. asales

    asales Well-Known Member Licensed User

    I don't understand your issues, but I think is better you try the example posted by @ilan in the second link and see the behavior, when there is no internet, for what you want.
    Last edited: Aug 6, 2019
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice