Android Question In- App purchase Error

Discussion in 'Android Questions' started by shashkiranr, Apr 1, 2015.

  1. shashkiranr

    shashkiranr Active Member Licensed User

    Hi All,

    I have uploaded the apk in Alpha Testing and signed with a private key. Added in app product. Added my email as testing. But when i send manager.requestPayment i get the following error.

    Code:
    "Authentication is required: please sign in to your Google account"
    Kindly let me know what i am doing wrong here.

    Edit : The app is not published still in alpha testing

    Regards,
    SK
     
    Last edited: Apr 1, 2015
  2. DonManfred

    DonManfred Expert Licensed User

    I think you cannot purchase in alpha status
     
  3. shashkiranr

    shashkiranr Active Member Licensed User

    So i have to publish in alpha testing and unpublish it and then try to purchase?
     
  4. DonManfred

    DonManfred Expert Licensed User

    I dont know,sorry I never worked with Inapp-Billing.

    Better wait for another answer ;-)
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    I'm not sure whether it works in alpha state or not. However you can publish your app and then unpublish it after a few minutes. It should then work.
     
  6. MoraviaVenus

    MoraviaVenus Member Licensed User

    Hi shashkiranr,

    I had same problem with my app, which was published in alpha testing. According to google it does not matter, whether your app is in alpha or beta testing, in both cases payments (non-real) are allowed.

    See http://developer.android.com/google/play/billing/billing_testing.html.

    When your In-app Billing implementation is ready, you can test purchasing of your in-app SKUs in two ways:
    • Test purchases, which let your selected license-test users purchase your in-app products without any resulting charges to the user. Test purchases can be used in alpha/beta releases or in published apps.
    • Real purchases, which let regular users make real purchases of your in-app products with actual charges to the user’s payment instruments. You can use Google Play’s alpha and beta release groups to manage the users who can make live purchases using your implementation.
    But, after many investigations, what could be the reason of the "Authentication required" error, I have realized that I had not put any product among In-app products (in Google Play Developer Console) - and that was root cause of the error message. When I insert test product there, everything worked smoothly.

    Maybe helps someone...
     
    shashkiranr likes this.
Loading...
  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