I am using Unity's built-in IAP plugin, but I believe people here would be more familiar with the logs then on the Unity forums. As the title says, our IAPs are working when we install our Live App Testing build, but not when downloading the live build from the appstore. Are there any differences in environments that could cause this? Thanks!
Live App Testing:
04-19 12:49:28.158: D/Unity Purchasing Amazon(26904): RetrieveProducts 5 04-19 12:49:28.211: D/Unity Purchasing Amazon(26904): onGetUserIdResponse:xjNat7gaE4ZHrl2eOtv0VmQ4MfG4dArAirwdcXBHWRo= 04-19 12:49:28.212: D/Unity Purchasing Amazon(26904): Requesting 1 groups of skus 04-19 12:49:28.275: I/AmazonAppstore.IAP/IapMetricLogger(19075): IAP event: e157ffce-2f11-4dc9-be73-67f890c8d9f2 IapGetItemCommandInitiated 04-19 12:49:28.282: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.282: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.283: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.306: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.324: I/Kernel(26243): [64851.723543] <0> (0)[26243:kworker/0:3]<ALS/PS> als data[344] 04-19 12:49:28.341: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.344: I/Kernel(0): [64851.743741] <2> (2)[0:swapper/2]CPU2: Booted secondary processor 04-19 12:49:28.344: I/Kernel(0): [64851.743767] <2> (2)[0:swapper/2][name:cpuinfo&]Detected VIPT I-cache on CPU2 04-19 12:49:28.344: I/Kernel(0): [64851.743812] <2> (2)[0:swapper/2][name:topology&]CPU2: update cpu_capacity 1024 04-19 12:49:28.356: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.361: I/art(19075): Background sticky concurrent mark sweep GC freed 12965(1997KB) AllocSpace objects, 2(39KB) LOS objects, 6% free, 27MB/29MB, paused 5.424ms total 66.716ms 04-19 12:49:28.371: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.371: D/ActivityManager(526): single user service: com.amazon.imp 04-19 12:49:28.372: D/ActivityManager(526): app = com.amazon.imp, has single user service, setting process record. 04-19 12:49:28.377: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.380: I/...uth.RequestSigner[0](1452): Try to set useLegacyAuthentication to be true when algorithm is: null 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.394: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.394: W/PackageManager(526): com.amazon.canary is not installed for user 0 04-19 12:49:28.395: W/PackageManager(526): com.amazon.fv is not installed for user 0 04-19 12:49:28.410: I/AvailabilitySDK(19075): putMeasurement - venezia-metrics 04-19 12:49:28.414: I/AmazonAppstore.IAP/IapMetricLogger(19075): IAP event: e157ffce-2f11-4dc9-be73-67f890c8d9f2 IapGetItemCommandDiscoveryRequestInitiated 04-19 12:49:28.420: I/AmazonLocationController(1409): onWifiSignalChanged : connected : true 04-19 12:49:28.423: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.426: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.450: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.454: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.444: I/Kernel(185): [64851.848816] <0> (0)[185:surfaceflinger][name:primary_display&][DISP]primary display will switch from DECOUPLE to DIRECT_LINK 04-19 12:49:28.444: I/Kernel(185): [64851.852440] <0> (0)[185:surfaceflinger][name:primary_display&][DISP]primary display is DIRECT_LINK mode now 04-19 12:49:28.472: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:49:28.476: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:49:28.489: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:49:28.489: W/PackageManager(526): com.amazon.canary is not installed for user 0 04-19 12:49:28.490: W/PackageManager(526): com.amazon.fv is not installed for user 0 04-19 12:49:28.500: I/AvailabilitySDK(19075): putMeasurement - venezia-metrics
Appstore:
Lines that stick out:
E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null.
E/AmazonAppstore.SimpleObfuscator(19075): Error preparing data. 8e5760e7
04-19 12:44:07.903: D/Unity Purchasing Amazon(25603): RetrieveProducts 5 04-19 12:44:07.903: D/Unity Purchasing Amazon(25603): Requesting 1 groups of skus 04-19 12:44:07.951: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:07.951: I/AmazonAppstore.IAP/IapMetricLogger(19075): IAP event: 6b62b009-7449-4dae-b34f-02d7eacc7159 IapGetItemCommandInitiated 04-19 12:44:07.951: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:07.957: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:07.969: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:07.974: D/Unity Purchasing Amazon(25603): onItemDataResponse 04-19 12:44:08.005: E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null. 04-19 12:44:08.007: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.014: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.029: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.038: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.046: E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null. 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.059: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.059: W/PackageManager(526): com.amazon.canary is not installed for user 0 04-19 12:44:08.060: W/PackageManager(526): com.amazon.fv is not installed for user 0 04-19 12:44:08.072: I/AvailabilitySDK(19075): putMeasurement - venezia-metrics 04-19 12:44:08.073: I/AmazonAppstore.IAP/IapMetricLogger(19075): IAP event: 6b62b009-7449-4dae-b34f-02d7eacc7159 IapGetItemCommandDiscoveryRequestInitiated 04-19 12:44:08.080: E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null. 04-19 12:44:08.080: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.085: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.118: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.119: E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null. 04-19 12:44:08.123: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.139: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.144: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.152: E/AmazonAppstore.IAP/SubmitMetricAction(19075): Expected value for key (com.amazon.mas.client.iap.service.requestId) to be non-null. 04-19 12:44:08.154: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.155: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.155: W/PackageManager(526): com.amazon.canary is not installed for user 0 04-19 12:44:08.156: W/PackageManager(526): com.amazon.fv is not installed for user 0 04-19 12:44:08.167: I/AvailabilitySDK(19075): putMeasurement - venezia-metrics 04-19 12:44:08.172: I/AmazonAppstore.IAP/IapMetricLogger(19075): IAP event: 6b62b009-7449-4dae-b34f-02d7eacc7159 IapGetItemCommandDiscoveryRequestSuccess 04-19 12:44:08.187: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.191: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.218: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.223: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.230: E/AmazonAppstore.SimpleObfuscator(19075): Error preparing data. 8e5760e7 04-19 12:44:08.236: E/AmazonAppstore.SimpleObfuscator(19075): Error preparing data. 8e5760e7 04-19 12:44:08.237: I/location(526): location_manager:network:get_last_location=1.0;CT;1:NR 04-19 12:44:08.242: D/Unity Purchasing Amazon(25603): onPurchaseUpdatesResponse 04-19 12:44:08.242: W/Settings(19075): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared(null) - using H:5b77156a179ac7028b9921c603dd78b9 04-19 12:44:08.254: I/AmazonAppstore.AccountSummaryProviderImpl(19075): isAccountPrepared() - using H:5b77156a179ac7028b9921c603dd78b9, returning true 04-19 12:44:08.255: W/PackageManager(526): com.amazon.canary is not installed for user 0 04-19 12:44:08.255: W/PackageManager(526): com.amazon.fv is not installed for user 0 04-19 12:44:08.263: W/Unity(25603): Unavailable product tb_gold_pack_xsmall -tb_gold_pack_xsmall 04-19 12:44:08.263: W/Unity(25603): 04-19 12:44:08.263: W/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42) 04-19 12:44:08.263: W/Unity(25603): Unavailable product tb_gold_pack_small -tb_gold_pack_small 04-19 12:44:08.263: W/Unity(25603): 04-19 12:44:08.263: W/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42) 04-19 12:44:08.263: W/Unity(25603): Unavailable product tb_gold_pack_medium -tb_gold_pack_medium 04-19 12:44:08.263: W/Unity(25603): 04-19 12:44:08.263: W/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42) 04-19 12:44:08.263: W/Unity(25603): Unavailable product tb_gold_pack_large -tb_gold_pack_large 04-19 12:44:08.263: W/Unity(25603): 04-19 12:44:08.263: W/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42) 04-19 12:44:08.263: W/Unity(25603): Unavailable product tb_gold_pack_xlarge -tb_gold_pack_xlarge 04-19 12:44:08.263: W/Unity(25603): 04-19 12:44:08.263: W/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42) 04-19 12:44:08.264: E/Unity(25603): Unity IAP Purchasing initializing is failed: NoProductsAvailable 04-19 12:44:08.264: E/Unity(25603): 04-19 12:44:08.264: E/Unity(25603): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)