IAP Not Working Android

Hi, so after copying an old 2018 project into 2019 to turn it into a similar game the IAP stopped working. I’ve been through all the VR/XR solutions, installed, reimported, imported many times to try to get IAP to work but when I run it on a device nothing happens.

Here’s the logcat report, I’m not sure exactly how to interpret it, any help would be fantastic. Thanks.

2019-05-31 13:10:26.991 1951-4916/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.ZeroHQ.TetraSweep/.UnityPlayerActivity} from uid 2000
2019-05-31 13:10:27.318 1951-1972/system_process I/ActivityManager: Start proc 8313:com.ZeroHQ.TetraSweep/u0a87 for activity com.ZeroHQ.TetraSweep/.UnityPlayerActivity
2019-05-31 13:10:28.825 8313-8313/com.ZeroHQ.TetraSweep I/Unity: onResume
2019-05-31 13:10:29.271 8313-8336/com.ZeroHQ.TetraSweep D/Unity: SetWindow 0 0xf1546008
2019-05-31 13:10:29.272 8313-8336/com.ZeroHQ.TetraSweep D/Unity: SetWindow 0 0xf1546008
2019-05-31 13:10:29.712 8313-8313/com.ZeroHQ.TetraSweep I/Unity: windowFocusChanged: true
2019-05-31 13:10:29.721 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Enabling Unity systrace
2019-05-31 13:10:29.741 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/base.apk
2019-05-31 13:10:29.755 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_dependencies_apk.apk
2019-05-31 13:10:29.765 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_resources_apk.apk
2019-05-31 13:10:29.772 1951-1979/system_process I/ActivityManager: Displayed com.ZeroHQ.TetraSweep/.UnityPlayerActivity: +2s433ms
2019-05-31 13:10:29.801 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_0_apk.apk
2019-05-31 13:10:29.802 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_1_apk.apk
2019-05-31 13:10:29.803 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_2_apk.apk
2019-05-31 13:10:29.804 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_3_apk.apk
2019-05-31 13:10:29.807 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_4_apk.apk
2019-05-31 13:10:29.810 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_5_apk.apk
2019-05-31 13:10:29.812 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_6_apk.apk
2019-05-31 13:10:29.814 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_7_apk.apk
2019-05-31 13:10:29.816 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_8_apk.apk
2019-05-31 13:10:29.819 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [VFS] Mount /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_9_apk.apk
2019-05-31 13:10:29.917 8313-8336/com.ZeroHQ.TetraSweep D/Unity: SystemInfo CPU = Intel x86 SSE3, Cores = 4, Memory = 1494mb: 0 at ./PlatformDependent/AndroidPlayer/Source/EntryPoint.cpp:506 (4, 0, 0)
2019-05-31 13:10:29.917 8313-8336/com.ZeroHQ.TetraSweep I/Unity: SystemInfo CPU = Intel x86 SSE3, Cores = 4, Memory = 1494mb
2019-05-31 13:10:29.921 8313-8336/com.ZeroHQ.TetraSweep D/Unity: ApplicationInfo com.ZeroHQ.TetraSweep version 0.83 build ff8cce57-619d-46fe-9849-9b59c9717d69: 0 at ./PlatformDependent/AndroidPlayer/Source/EntryPoint.cpp:515 (4, 0, 0)
2019-05-31 13:10:29.921 8313-8336/com.ZeroHQ.TetraSweep I/Unity: ApplicationInfo com.ZeroHQ.TetraSweep version 0.83 build ff8cce57-619d-46fe-9849-9b59c9717d69
2019-05-31 13:10:29.922 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Built from ‘2019.1/staging’ branch, Version ‘2019.1.3f1 (dc414eb9ed43)’, Build type ‘Development’, Scripting Backend ‘il2cpp’, CPU ‘x86’, Stripping ‘Enabled’: 0 at ./PlatformDependent/AndroidPlayer/Source/EntryPoint.cpp:528 (4, 0, 0)
2019-05-31 13:10:29.922 8313-8336/com.ZeroHQ.TetraSweep I/Unity: Built from ‘2019.1/staging’ branch, Version ‘2019.1.3f1 (dc414eb9ed43)’, Build type ‘Development’, Scripting Backend ‘il2cpp’, CPU ‘x86’, Stripping ‘Enabled’
2019-05-31 13:10:29.943 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Apk is newer than extracted il2cpp resources. Re-extracting.
2019-05-31 13:10:30.372 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerConnection initialized from /data/app/com.ZeroHQ.TetraSweep-bdECs3DQQdQnno0NOLhJSg==/split_lib_slice_9_apk.apk/assets/bin/Data (debug = 0)
2019-05-31 13:10:30.375 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55119
2019-05-31 13:10:30.375 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerConnection initialized unix socket : Unity-com.ZeroHQ.TetraSweep
2019-05-31 13:10:30.385 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Multi-casting “[IP] 192.168.232.2 [Port] 55119 [Flags] 3 [Guid] 57650441 [EditorId] 1202064503 [Version] 1048832 [Id] AndroidPlayer(Google_Android_SDK_built_for_x86@192.168.232.2) [Debug] 1 [PackageName] AndroidPlayer” to [225.0.0.222:54997]…
2019-05-31 13:10:30.386 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Waiting for connection from host on [0.0.0.0:55119]…
2019-05-31 13:10:31.393 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:8s
2019-05-31 13:10:32.405 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:7s
2019-05-31 13:10:33.428 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:6s
2019-05-31 13:10:34.466 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:5s
2019-05-31 13:10:35.507 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:4s
2019-05-31 13:10:36.557 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:3s
2019-05-31 13:10:37.591 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:2s
2019-05-31 13:10:38.607 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:1s
2019-05-31 13:10:39.645 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Remaining time:0s
2019-05-31 13:10:40.416 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Timed out. Continuing without host connection.
2019-05-31 13:10:40.416 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Started listening to [0.0.0.0:55119]
2019-05-31 13:10:40.549 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Attaching window :0xf1546008
2019-05-31 13:10:40.555 8313-8336/com.ZeroHQ.TetraSweep D/Unity: InitializeScriptEngine OK (0x93fe0)
2019-05-31 13:10:40.557 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55119]
2019-05-31 13:10:40.676 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerInitEngineNoGraphics OK
2019-05-31 13:10:40.676 8313-8336/com.ZeroHQ.TetraSweep D/Unity: AndroidGraphics::Startup window = 0xf1546008
2019-05-31 13:10:40.676 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Attaching window :0xf1546008
2019-05-31 13:10:40.720 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Request: ES 3.2 RGB0 000 0/0
2019-05-31 13:10:40.730 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Checking ES 3.2 support…
2019-05-31 13:10:40.731 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] ES3.2 not supported
2019-05-31 13:10:40.731 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
2019-05-31 13:10:40.733 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Checking ES 3.1 support…
2019-05-31 13:10:40.782 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] ES 3.1 support detected
2019-05-31 13:10:40.783 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Found: ID[2] ES 3.1+AEP RGB24 888 24/8
2019-05-31 13:10:40.783 8313-8336/com.ZeroHQ.TetraSweep D/Unity: GfxDevice: creating device client; threaded=1
2019-05-31 13:10:40.784 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Request: ES 3.2 RGB0 000 0/0
2019-05-31 13:10:40.878 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
2019-05-31 13:10:40.878 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Found: ID[2] ES 3.1+AEP RGB24 888 24/8
2019-05-31 13:10:40.878 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
2019-05-31 13:10:40.879 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Found: ID[3] ES 3.0 RGBA32 8888 24/8
2019-05-31 13:10:40.879 8313-8336/com.ZeroHQ.TetraSweep D/Unity: extension is supported with value 0
2019-05-31 13:10:40.918 8313-8336/com.ZeroHQ.TetraSweep D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920)
2019-05-31 13:10:40.958 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Renderer: Android Emulator OpenGL ES Translator (GeForce GTX 1050/PCIe/SSE2)
2019-05-31 13:10:40.958 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Vendor: Google (NVIDIA Corporation)
2019-05-31 13:10:40.958 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Version: OpenGL ES 3.1 (4.5.0 NVIDIA 391.40)
2019-05-31 13:10:40.958 8313-8336/com.ZeroHQ.TetraSweep D/Unity: GLES: 3
2019-05-31 13:10:40.958 8313-8336/com.ZeroHQ.TetraSweep D/Unity: GL_EXT_debug_marker GL_EXT_robustness GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
2019-05-31 13:10:41.011 8313-8336/com.ZeroHQ.TetraSweep D/Unity: OPENGL LOG: Creating OpenGL ES 3.1 graphics device ; Context level <OpenGL ES 3.1> ; Context handle -824706688
2019-05-31 13:10:41.083 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Attaching window :0xf1546008
2019-05-31 13:10:41.099 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
2019-05-31 13:10:41.116 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0]
2019-05-31 13:10:41.120 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Attaching window :0xf1546008
2019-05-31 13:10:41.123 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Initialize engine version: 2019.1.3f1 (dc414eb9ed43)
2019-05-31 13:10:41.439 8313-8336/com.ZeroHQ.TetraSweep D/Unity: PlayerInitEngineGraphics OK
2019-05-31 13:10:41.454 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Found 16 native sensors
2019-05-31 13:10:41.457 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Sensor : Accelerometer ( 1) ; 0.000248 / 0.01s ; Goldfish 3-axis Accelerometer / The Android Open Source Project
2019-05-31 13:10:41.459 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Sensor : Accelerometer ( 1) ; 0.000248 / 0.01s ; Goldfish 3-axis Accelerometer / The Android Open Source Project
2019-05-31 13:10:41.470 8313-8336/com.ZeroHQ.TetraSweep D/Unity: SetWindow 0 0xf1546008
2019-05-31 13:10:41.470 8313-8336/com.ZeroHQ.TetraSweep D/Unity: [EGL] Attaching window :0xf1546008
2019-05-31 13:10:43.711 8313-8336/com.ZeroHQ.TetraSweep D/Unity: UnloadTime: 1.641500 ms
2019-05-31 13:10:43.724 8313-8336/com.ZeroHQ.TetraSweep D/Unity: UUID: 4b09d7533ffd3ded => 98333a369b7f9082a2220f9ebdebc1d2
2019-05-31 13:10:43.784 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Initializing UnityPurchasing via Codeless IAP: 0 at ./Runtime/Export/Debug/Debug.bindings.h:48 (17408, 0, 0)
2019-05-31 13:10:43.799 8313-8336/com.ZeroHQ.TetraSweep I/Unity: Initializing UnityPurchasing via Codeless IAP
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[ ])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.Purchasing.CodelessIAPStoreListener:CreateCodelessIAPStoreListenerInstance()
UnityEngine.Purchasing.CodelessIAPStoreListener:get_Instance()
UnityEngine.Purchasing.IAPButton:OnEnable()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
2019-05-31 13:10:43.802 8313-8336/com.ZeroHQ.TetraSweep D/Unity: UnityIAP Version: 1.22.0: 0 at ./Runtime/Export/Debug/Debug.bindings.h:48 (17408, 0, 0)
2019-05-31 13:10:43.814 8313-8336/com.ZeroHQ.TetraSweep I/Unity: UnityIAP Version: 1.22.0
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[ ])
UnityEngine.Logger:Log(Object)
UnityEngine.Purchasing.StandardPurchasingModule:Instance(AppStore)
UnityEngine.Purchasing.StandardPurchasingModule:Instance()
UnityEngine.Purchasing.CodelessIAPStoreListener:InitializePurchasing()
UnityEngine.Purchasing.CodelessIAPStoreListener:CreateCodelessIAPStoreListenerInstance()
UnityEngine.Purchasing.CodelessIAPStoreListener:get_Instance()
UnityEngine.Purchasing.IAPButton:OnEnable()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
2019-05-31 13:10:43.867 8313-8336/com.ZeroHQ.TetraSweep I/UnityIAP: IAB helper created.
2019-05-31 13:10:43.907 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Uploading Crash Report
2019-05-31 13:10:43.908 8313-8336/com.ZeroHQ.TetraSweep E/Unity: ArgumentNullException: Value cannot be null.
Parameter name: shader
at UnityEngine.Material…ctor (UnityEngine.Shader shader) [0x00000] in <00000000000000000000000000000000>:0
at InvertEffect.Awake () [0x00000] in <00000000000000000000000000000000>:0

(Filename: currently not available on il2cpp Line: -1)
2019-05-31 13:10:43.973 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Sensor : Accelerometer ( 1) ; 0.000248 / 0.01s ; Goldfish 3-axis Accelerometer / The Android Open Source Project
2019-05-31 13:10:44.013 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Choreographer available: Enabling VSYNC timing
2019-05-31 13:10:44.053 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Uploading Crash Report
2019-05-31 13:10:44.054 8313-8336/com.ZeroHQ.TetraSweep E/Unity: FormatException: Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00000] in <00000000000000000000000000000000>:0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <00000000000000000000000000000000>:0
at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00000] in <00000000000000000000000000000000>:0
at System.Convert.ToInt32 (System.String value) [0x00000] in <00000000000000000000000000000000>:0
at TextReader.Start () [0x00000] in <00000000000000000000000000000000>:0

(Filename: currently not available on il2cpp Line: -1)
2019-05-31 13:10:44.364 8313-8375/com.ZeroHQ.TetraSweep I/chatty: uid=10087(com.ZeroHQ.TetraSweep) UnityGfxDeviceW identical 2 lines
2019-05-31 13:10:44.709 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Using configuration builder objects: 0 at ./Runtime/Export/Debug/Debug.bindings.h:48 (17408, 0, 0)
2019-05-31 13:10:44.733 8313-8336/com.ZeroHQ.TetraSweep I/Unity: Using configuration builder objects
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[ ])
UnityEngine.Logger:Log(Object)
UnityEngine.Purchasing.StoreCatalogImpl:handleCachedCatalog(Action1) UnityEngine.Purchasing.<>c__DisplayClass10_0:<FetchProducts>b__1(String) System.Action1:Invoke(T)
UnityEngine.Purchasing.d__4:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
2019-05-31 13:10:44.744 8313-8336/com.ZeroHQ.TetraSweep I/UnityIAP: Expected to find a single Google Play billing service but found 0
2019-05-31 13:10:44.757 8313-8336/com.ZeroHQ.TetraSweep D/Unity: Purchasing failed to initialize. Reason: PurchasingUnavailable: 0 at ./Runtime/Export/Debug/Debug.bindings.h:48 (16640, 0, 0)
2019-05-31 13:10:44.779 8313-8336/com.ZeroHQ.TetraSweep E/Unity: Purchasing failed to initialize. Reason: PurchasingUnavailable
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[ ])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
UnityEngine.Purchasing.CodelessIAPStoreListener:OnInitializeFailed(InitializationFailureReason)
UnityEngine.Purchasing.StoreListenerProxy:OnInitializeFailed(InitializationFailureReason)
UnityEngine.Purchasing.PurchasingManager:OnSetupFailed(InitializationFailureReason)
UnityEngine.Purchasing.JSONStore:OnSetupFailed(String)
UnityEngine.Purchasing.<>c__DisplayClass3_0:b__0()
System.Action:Invoke()
UnityEngine.Purchasing.Extension.UnityUtil:Update()

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)

I am having exactly the same issue. Using a project that was originally on Unity 2018 and now using Unity 2019.1.4, IAP no longer work on Android but it is fine in the editor. The google play store dialogue box does not even pop up to state that there is an error. Just nothing. I am using IAP 1.22 / 2.0.6.

I am also having issues just installing the IAP package which may be related. When importing the IAP package (even on fresh Unity 2019.1.4 projects) I get the error…
UnityIAPInstaller.cs(497,38): warning CS0618: ‘PlayerSettings.cloudProjectId’ is obsolete: ‘cloudProjectId is deprecated, use CloudProjectSettings.projectId instead’

Fixing that error then automatically triggers the IAP installer but then after AIP is installed I find other cs files using ‘PlayerSettings.cloudProjectId’ but they do not throw up errors. Changing them does not fix IAP on android though so I’m not sure how relevant this is.

1 Like

It is working for me now after following advice from another thread…

Exception: Error: called non-existent method System.Boolean UnityEngine.VR.VRSettings::get_enabled( page-2

What I did was create a new project in Unity 2018.3 and enabled IAP.
Next I deleted 3 folders (UDP, UnityChannel and UnityPurchasing) from my unity 2019 project found in assets/plugins.
Next I copied over the same 3 folders from the 2018.3 project to the 2019 project.

1 Like

This seems like the only work around for now, until we can properly update Unity 2019 in a future release, hopefully soon. I’m testing each (non-beta) release as it becomes available.

Tried exactly what millar5001 suggested. Did I do anything wrong:

  1. Made new 2018.3.13f1 project.
  2. Enabled Analytics & Purchasing. Pressed Import.
  3. Said yes and OK to everything (had the backup one too) and imported all
  4. Deleted the 3 folders from my 2019 project.
  5. After that I went to plugin folder in the explorer and copied my 3 new 2018 IAP folders directly to my 2019 project.
  6. They imported OK. That’s it. Built and published to Alpha.
  7. Still not working.

Would love to get this solved as I have wasted so much time on it. Thanks in advance.

What I did was, before deleting the folders from the 2019 project was make sure that it compiled with no errors. Then I closed Unity 2019 down and deleted the 3 folders using file explorer. I also copied the 3 Unity 2018 folders over to the Unity 2019 project using file explorer and then opened the project in Unity 2019. There was no ‘importing’ as such.

1 Like

Thanks for the further clarification millar. Unfortunately it didn’t work even after following your instructions to the letter. Will just have to wait for the official fix.

Was it working in Unity 2018, prior?

Yeah, it works fine in 2018.

What sort of timescale is there on this, my game is now 95% complete and it’d be good to have an idea when I can release it with IAP working?

Thanks

It should work with Unity 2018, no specific time frame yet for Unity 2019

Unfortunately having tried version regressing before with a project I’m not up for all the problems that causes.

Yes, you would not want to downgrade from 2019 to 2018, you would want to use a pre-2019 backup.

Hi Jeff,
Quick update: Due to the large amount of work done since my pre-2019 backup I decided to create a new 2018.4.2 project and copy everything across.

This all went pretty smoothly and I then imported the IAP. Everything works fine in the editor, but when published the first button “tetrahints1” doesn’t work, the other two do work, and none of them work at all on my brother’s phone (also has tester’s account).

The buttons are exactly the same (duplicate). They are just have different IDs tetrahints1, tetrahints2, tetrahints3. They work fine in the editor. See picture to show it’s all set up.

Another quick question: which price is the main one, is the price taken from Unity or the Android console page? If I put in different numbers does it cause a problem?

Many thanks

EDIT UPDATE 1:
Changed the ID of tetrahints1 to a new name and it works. So somehow it didn’t like the name or had become corrupted as it was what I was using in the 2019 tests.

UPDATE 2:
Still no IAP buttons working on my brother’s test account and phone, can it be something to do with the cache? We’ve tested other apps on his phone before and they worked fine.

As always, please provide the device logs How To - Capturing Device Logs on Android My syntax is typically “adb logcat | grep -i unity” (on Windows, use findstr instead of grep)

Afternoon Jeff, here’s the log from my brother’s phone. Looks like a problem with purchase history?

4659401–437999–UnityIAPLog.txt (35.9 KB)

That looks like an error from the Google API. Is your brother logged into Google Play on this device? Is this app running in Alpha/Beta test with him added as a tester?

Yep logged in with tester account. It’s currently an Internal Test not Alpha or Beta. I’ve also had my someone else test it without being a “tester account” and the IAP pops up fine.

So it’s something to do with my brother’s account and the Google API. He’ tested another Unity app and their IAP worked fine.

Hi, any luck with a solution or further testing I can do to help?

No updates at this time. I have mentioned this to the IAP team and they will be looking into it. If anything turns up, it would be included in the next release.