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
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