Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android In-App Purchase Authentication Required Error

Our simple blueprint game/app uses Android/iOS for achievements, leaderboards and in-app purchases. We have all of this working just fine when we deploy to iOS. However, on Android whenever we initiate an in-app purchase it errors out saying "Authentication is required. You need to sign in to your Google Account.".

Now, this is a distribution build that was fully reviewed and published to the store. In our blueprints we are making sure to sign in before the in-app purchase node is fired off.

alt text

Our in-app purchase bp path looks like this:

alt text

I'm not sure how to address this issue.

Here is the provided log. I'm not sure why the log says Async task 'Login' failed in 7.7 seconds even though I see the on the screen 'Welcome back [name]'. I'm also able to read/write achievements as well as restore in-app purchases... link text

Product Version: UE 4.11 Preview
more ▼

asked Mar 28 '16 at 02:22 PM in Blueprint Scripting

avatar image

423 19 36 62

avatar image jeffvoigt Mar 28 '16 at 02:41 PM

OH and we do have the necessary permissions... at least the billing one:

   <uses-permission android:name="android.permission.INTERNET" />
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
   <uses-permission android:name="android.permission.WAKE_LOCK" />
   <uses-permission android:name="android.permission.READ_PHONE_STATE" />
   <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
   <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
   <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
   <uses-permission android:name="android.permission.GET_ACCOUNTS" />
   <uses-permission android:name="android.permission.VIBRATE" />
   <uses-permission android:name="com.android.vending.BILLING" />

avatar image jeffvoigt Mar 28 '16 at 03:34 PM

After finding the specific error from the android log "Carrier billing config is null.", I researched it and found that the in-app product was not "active". Apparently AFTER you publish you need to make sure to activate the in-app product. You can test them while they are in-active.

I'll respond when I can determine if this fixes the issue!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Bumping this thread. Did you solve this issue?

more ▼

answered Jan 16 '17 at 04:18 PM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I believe so.

more ▼

answered Jan 16 '17 at 04:43 PM

avatar image

423 19 36 62

avatar image AdmiralSlim Jan 16 '17 at 04:52 PM

Sorry, I meant can you share your solution? :)


avatar image jeffvoigt Jan 16 '17 at 04:55 PM

Honestly I can't remember as it was a very long time ago =(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question