x

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"

In-App Purchases on Android not working

I am trying to get the IAP to get working on android but, It keeps giving back a failed. I have followed the : https://docs.unrealengine.com/en-us/Platforms/Android/InAppPurchases Tutorial

These are the things I tried.

Added permissions to the project settings.

android.permission.INTERNET for triggering ads com.android.vending.BILLING for the IAP

Created a android folder and added a AndroidEngine.ini

with the Text: [OnlineSubsystem] DefaultPlatformService=GooglePlay

[OnlineSubsystemGooglePlay.Store] bSupportsInAppPurchasing=True

And triggering the IAP popup with a button click Like this.alt text

All I get Back is a failed trigger, No window popup or anything. I just use the IAP name I created in the developer console. Do I need to use a special prefix before the IAP name in the product identifier? Also I am testing this as a build version that has not been uploaded to the store.

Do I need to push this version first to get it to work? I would like to prevent this because I don't want to bother my users with testing versions.

Also The IAP Has been created for a week now. So It should be able to read it.

Thanks in advance.

Product Version: UE 4.19
Tags:
iapblueprint.png (91.4 kB)
more ▼

asked May 24 '18 at 02:11 PM in Blueprint Scripting

avatar image

jobvw
43 9 13 14

avatar image Taran Bainter Jul 14 '18 at 06:48 PM

We are having this issue, as well.

Google Play services do work--we're able to log in to Google Play Games, we can receive achievements, etc. In-App purchases don't even attempt to go through, however; we just receive an instant failure notice.

UE4 version is 4.18.3! Following in the hopes that someone has a fix. :)

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

maybe you should check first if your google play services work? can you login to your app?

more ▼

answered Jul 04 '18 at 09:14 AM

avatar image

GRADgr
73 2 4 8

(comments are locked)
10|2000 characters needed characters left

It was working for me for a thew days, then just stopped...

more ▼

answered Dec 05 '18 at 11:04 AM

avatar image

Sampuig12
1 1

(comments are locked)
10|2000 characters needed characters left
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