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"

UE4 In-App Purchase crashes after successful payment.

When I make a purchase in the game, everything goes fine till Payment Successful UI, and then the game crashes. The money is deducted but the process was incomplete. It dint execute SUCCESS statements nor the product got consumed because of which I cant re-buy the product again.

Is there a way to fix this or am I doing it wrong?

Thankyou

VJ

Logcat

 E/AndroidRuntime( 1992): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=10001, result=-1, data=Intent { (has extras) }} to activity {com.tinyshark.spherobot/com.epicgames.ue4.GameActivity}: java.lang.IllegalArgumentException: com.android.vending.billing.util.Base64DecoderException: invalid padding byte '=' at byte offset 20
 
 E/AndroidRuntime( 1992):     at com.epicgames.ue4.GooglePlayStoreHelper.a(Unknown Source)
 
 E/AndroidRuntime( 1992):     at com.epicgames.ue4.GameActivity.onActivityResult(Unknown Source)
 
 W/ActivityManager( 1136):   Force finishing activity 1 com.tinyshark.spherobot/com.epicgames.ue4.GameActivity
 
 W/InputDispatcher( 1136): channel 'cf80270 com.tinyshark.spherobot/com.epicgames.ue4.GameActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
 
 E/InputDispatcher( 1136): channel 'cf80270 com.tinyshark.spherobot/com.epicgames.ue4.GameActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 

Blueprint

alt text

Build.cs

 if (Target.Platform == UnrealTargetPlatform.Android)
         {
             PublicDependencyModuleNames.Add("OnlineSubsystem");
             DynamicallyLoadedModuleNames.Add("OnlineSubsystemGooglePlay");
         }

DefaultEngine.ini

 [OnlineSubsystem]
 DefaultPlatformService=NULL
 
 [/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
 bEnableGooglePlaySupport=True
 
 [OnlineSubsystemGooglePlay.Store]
 bSupportsInAppPurchasing=True
 
Product Version: UE 4.9
Tags:
blueprint.png (142.1 kB)
more ▼

asked Feb 01 '16 at 03:49 PM in Bug Reports

avatar image

vijayShark
6 1

avatar image StJimmy Feb 01 '16 at 05:29 PM

I have the same problem. Any answer will be greatly appreciated. :)

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

1 answer: sort voted first

Okay, I tried it with UE 4.11.0 Preview 4 and it fixed the issue. But migrating from 4.10 to 4.11 raise packaging issues so I created another project and manually placed all the content, source and ini files.

Hopefully everything goes smoother with 4.11 release.

Tip: Make sure you remove the plugins again to reduce the size. Removing few plugins can cause issues.

more ▼

answered Feb 03 '16 at 04:50 PM

avatar image

vijayShark
6 1

(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