[Solved] Unity IAP Amazon trouble

Hi. Unity3d v5.3.5
this week we are integrate unity plugins in our product.

  1. All services integrated and it’s working good for Google Play store
  2. AndroidManifest.xml looking good
  3. I have developer amazon device and old native plugins from amazon working good
  4. Json file loaded from amazon and uploaded to device
  5. In menu Window->UnityIAP switched to amazon

why does it happens?
D/Unity Purchasing Amazon(20251): RetrieveProducts 15

but all bundles is unknown? and billing filed?
Unavailable product ruby2015sp_ft -ruby2015sp_ft
06-02 11:04:57.619: I/Unity(20251): Billing failed to initialize!
06-02 11:04:57.619: I/Unity(20251): No products available for purchase!

how can i see which products retrieved?

1st part of log
loading

06-02 11:04:51.869: D/Unity(20251): GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_dec
06-02 11:04:51.869: D/Unity(20251): ode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_attachment:789>: Invalid texture format! Returning error!
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_object_status:1185>: Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_attachment:789>: Invalid texture format! Returning error!
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_object_status:1185>: Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_attachment:789>: Invalid texture format! Returning error!
06-02 11:04:51.869: E/Adreno-ES20(20251): <check_framebuffer_object_status:1185>: Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
06-02 11:04:51.919: W/ActivityManager(922): Unable to start service Intent { act=com.google.android.gms.ads.identifier.service.START pkg=com.google.android.gms } U=0: not found
06-02 11:04:51.919: W/ActivityManager(922): Unbind failed: could not find connection for android.os.BinderProxy@42487448
06-02 11:04:51.929: D/audio_hw_extn(272): audio_extn_get_parameters: returns
06-02 11:04:51.929: I/str_params(272): key: ‘headset_bypass_mode’ value: ‘***’
06-02 11:04:51.929: D/AudioFlinger(272): start(4099), calling pid 20251 session 70
06-02 11:04:51.929: D/AudioFlinger(272): ? => ACTIVE (4099) on thread 0xb750ecd8
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.facebook.FacebookShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity block in: [identity-snds.amazon.com, identity-snds-fe.amazon.com, identity-snds-eu.amazon.com]
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint blocked ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.twitter.TwitterShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41f07950 com.android.email.activity.MessageCompose}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41f07950 com.android.email.activity.MessageCompose} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/PackageManager(922): filterActivities activity=ResolveInfo{42fc0d40 com.amazon.unifiedsharefacebook/com.amazon.unifiedshare.facebook.FacebookShareActivity m=0x608000}
06-02 11:04:55.359: D/PackageManager(922): filterActivities activity=ResolveInfo{42fc0dd0 com.amazon.unifiedsharesinaweibo/com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity m=0x608000}
06-02 11:04:55.359: D/PackageManager(922): Blocking ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint: https://identity-snds.amazon.com/snds/
06-02 11:04:55.359: D/PackageManager(922): filterActivities activity=ResolveInfo{42fc0e18 com.amazon.unifiedsharetwitter/com.amazon.unifiedshare.twitter.TwitterShareActivity m=0x608000}
06-02 11:04:55.359: D/PackageManager(922): filterActivities activity=ResolveInfo{42fc0e60 com.android.email/.activity.MessageCompose m=0x608000}
06-02 11:04:55.359: D/PackageManager(922): filterActivities activity=ResolveInfo{42fcad78 com.estrongs.android.pop/.app.ESFileSharingActivity m=0x608000}
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.facebook.FacebookShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity block in: [identity-snds.amazon.com, identity-snds-fe.amazon.com, identity-snds-eu.amazon.com]
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint blocked ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.twitter.TwitterShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41f07950 com.android.email.activity.MessageCompose}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41f07950 com.android.email.activity.MessageCompose} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{42fcadc0 com.estrongs.android.pop/.app.SaveToESActivity m=0x608000}
06-02 11:04:55.369: I/PackageManager(922): SNDS.endpoint=https://identity-snds.amazon.com/snds/ settings.key=com.amazon.kindle.otter.snds.endpoint
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{42e2bdd8 com.amazon.unifiedsharefacebook/com.amazon.unifiedshare.facebook.FacebookShareActivity m=0x608000}
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{43539c40 com.amazon.unifiedsharesinaweibo/com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity m=0x608000}
06-02 11:04:55.369: D/PackageManager(922): Blocking ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint: https://identity-snds.amazon.com/snds/
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{43539c88 com.amazon.unifiedsharetwitter/com.amazon.unifiedshare.twitter.TwitterShareActivity m=0x608000}
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{43539cd0 com.android.email/.activity.MessageCompose m=0x608000}
06-02 11:04:55.369: D/PackageManager(922): filterActivities activity=ResolveInfo{43539d18 com.estrongs.android.pop/.app.ESFileSharingActivity m=0x608000}
06-02 11:04:55.379: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.379: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.379: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.379: D/PackageManager(922): filterActivities activity=ResolveInfo{43539d60 com.estrongs.android.pop/.app.SaveToESActivity m=0x608000}
06-02 11:04:55.389: I/PackageManager(922): SNDS.endpoint=https://identity-snds.amazon.com/snds/ settings.key=com.amazon.kindle.otter.snds.endpoint
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.facebook.FacebookShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity block in: [identity-snds.amazon.com, identity-snds-fe.amazon.com, identity-snds-eu.amazon.com]
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint blocked ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.twitter.TwitterShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41f07950 com.android.email.activity.MessageCompose}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41f07950 com.android.email.activity.MessageCompose} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.facebook.FacebookShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.389: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41ed1690 com.amazon.unifiedshare.facebook.FacebookShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42b69508 com.amazon.unifiedsharefacebook/com.amazon.unifiedshare.facebook.FacebookShareActivity m=0x608000}
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42b69598 com.amazon.unifiedsharesinaweibo/com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity m=0x608000}
06-02 11:04:55.389: D/PackageManager(922): Blocking ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint: https://identity-snds.amazon.com/snds/
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42b695e0 com.amazon.unifiedsharetwitter/com.amazon.unifiedshare.twitter.TwitterShareActivity m=0x608000}
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42b69628 com.android.email/.activity.MessageCompose m=0x608000}
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42dde1d0 com.estrongs.android.pop/.app.ESFileSharingActivity m=0x608000}
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42dde218 com.estrongs.android.pop/.app.SaveToESActivity m=0x608000}
06-02 11:04:55.389: I/PackageManager(922): SNDS.endpoint=https://identity-snds.amazon.com/snds/ settings.key=com.amazon.kindle.otter.snds.endpoint
06-02 11:04:55.389: D/PackageManager(922): filterActivities activity=ResolveInfo{42e39320 com.amazon.unifiedsharefacebook/com.amazon.unifiedshare.facebook.FacebookShareActivity m=0x608000}
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity block in: [identity-snds.amazon.com, identity-snds-fe.amazon.com, identity-snds-eu.amazon.com]
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint blocked ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: com.amazon.unifiedshare.twitter.TwitterShareActivity block in: [identity-snds-cn.amazon.com]
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41eddf00 com.amazon.unifiedshare.twitter.TwitterShareActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41f07950 com.android.email.activity.MessageCompose}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41f07950 com.android.email.activity.MessageCompose} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41baca18 com.estrongs.android.pop.app.ESFileSharingActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint: activityInfo=ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity}, endpoint=https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/ReceiverFilter(922): filterActivityForEndpoint allowed ActivityInfo{41e28e58 com.estrongs.android.pop.app.SaveToESActivity} for endpoint https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/PackageManager(922): filterActivities activity=ResolveInfo{42e393b0 com.amazon.unifiedsharesinaweibo/com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity m=0x608000}
06-02 11:04:55.399: D/PackageManager(922): Blocking ActivityInfo{41ed9e70 com.amazon.unifiedshare.sinaweibo.SinaWeiboShareActivity} for endpoint: https://identity-snds.amazon.com/snds/
06-02 11:04:55.399: D/PackageManager(922): filterActivities activity=ResolveInfo{42e393f8 com.amazon.unifiedsharetwitter/com.amazon.unifiedshare.twitter.TwitterShareActivity m=0x608000}
06-02 11:04:55.399: D/PackageManager(922): filterActivities activity=ResolveInfo{42e59138 com.android.email/.activity.MessageCompose m=0x608000}
06-02 11:04:55.399: D/PackageManager(922): filterActivities activity=ResolveInfo{42e59180 com.estrongs.android.pop/.app.ESFileSharingActivity m=0x608000}
06-02 11:04:55.399: D/PackageManager(922): filterActivities activity=ResolveInfo{42e591c8 com.estrongs.android.pop/.app.SaveToESActivity m=0x608000}
06-02 11:04:55.859: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:56.209: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:56.259: W/ActivityManager(922): Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gsf (has extras) } U=0: not found
06-02 11:04:56.329: E/ChromiumWebView(20251): Trace String : com.android.org.chromium.action.PROFILE_START.com.amazonforanj.farmtown
06-02 11:04:56.329: V/WebViewChromiumFactoryProvider(20251): Binding Chromium to main looper Looper (main, tid 1) {41a95c38}
06-02 11:04:56.329: I/LibraryLoader(20251): Expected native library version number “”,actual native library version number “”
06-02 11:04:56.329: I/chromium(20251): [INFO:library_loader_hooks.cc(117)] Chromium logging enabled: level = 0, default verbosity = 0
06-02 11:04:56.339: I/BrowserStartupController(20251): Initializing chromium process, renderers=0
06-02 11:04:56.549: I/chromium(20251): [INFO:SkUtilsArm.cpp(177)] Device supports ARM NEON instructions!
06-02 11:04:56.599: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:56.659: E/fk(20251): Failed to retrieve config, aborting: Connection Error
06-02 11:04:56.969: I/dalvikvm(20251): Could not find method android.app.Activity.checkSelfPermission, referenced from method com.chartboost.sdk.c.b
06-02 11:04:56.969: W/dalvikvm(20251): VFY: unable to resolve virtual method 5017: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
06-02 11:04:56.969: D/dalvikvm(20251): VFY: replacing opcode 0x6e at 0x001a
06-02 11:04:57.069: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:57.069: D/CRLSetManager(20251): getInstance binder: android.os.BinderProxy@41d17310
06-02 11:04:57.079: D/d(20251): In App Purchasing SDK - Sandbox Mode: PurchasingListener registered: com.unity.purchasing.amazon.AmazonPurchasing@41c20ec8
06-02 11:04:57.079: D/d(20251): In App Purchasing SDK - Sandbox Mode: PurchasingListener Context: com.unity3d.player.UnityPlayerNativeActivity@41aeb7f0

2nd part of log
Billing errors

06-02 11:04:57.179: D/Unity Purchasing Amazon(20251): RetrieveProducts 15
06-02 11:04:57.179: D/c(20251): In App Purchasing SDK - Sandbox Mode: sendGetUserDataRequest
06-02 11:04:57.219: W/JavaBinder(922): Binder has been finalized when calling linkToDeath() with recip=0x1e800005)
06-02 11:04:57.459: D/CBReachability(20251): Network broadcast successfully registered
06-02 11:04:57.469: D/c(20251): In App Purchasing SDK - Sandbox Mode: handleResponse
06-02 11:04:57.479: D/be(20251): Process Request called
06-02 11:04:57.479: D/Unity Purchasing Amazon(20251): onGetUserIdResponse:l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=
06-02 11:04:57.479: D/Unity Purchasing Amazon(20251): Requesting 1 groups of skus
06-02 11:04:57.479: D/c(20251): In App Purchasing SDK - Sandbox Mode: sendItemDataRequest
06-02 11:04:57.489: D/c(20251): In App Purchasing SDK - Sandbox Mode: handleResponse
06-02 11:04:57.489: D/Unity Purchasing Amazon(20251): onItemDataResponse
06-02 11:04:57.489: D/c(20251): In App Purchasing SDK - Sandbox Mode: sendPurchaseUpdatesRequest/sendGetUserData first:2a0e77d8-1380-4342-af58-122ef6370673
06-02 11:04:57.499: D/c(20251): In App Purchasing SDK - Sandbox Mode: handleResponse
06-02 11:04:57.499: I/c(20251): sendGetPurchaseUpdates with user idl3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=
06-02 11:04:57.499: I/c(20251): send PurchaseUpdates with user id:l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=;reset flag:true, local cursor:null, parsed from old requestId:2a0e77d8-1380-4342-af58-122ef6370673
06-02 11:04:57.509: D/c(20251): In App Purchasing SDK - Sandbox Mode: handleResponse
06-02 11:04:57.509: I/c(20251): Offset for PurchaseUpdatesResponse:
06-02 11:04:57.509: D/Unity Purchasing Amazon(20251): onPurchaseUpdatesResponse
06-02 11:04:57.539: I/Unity(20251): C#: Handle Ballance Ruby 0
06-02 11:04:57.539: I/Unity(20251):
06-02 11:04:57.539: I/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby5050_ft -ruby5050_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby2015_ft -ruby2015_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby655_ft -ruby655_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby275_ft -ruby275_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby130_ft -ruby130_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.609: E/Unity(20251): Unavailable product ruby40_ft -ruby40_ft
06-02 11:04:57.609: E/Unity(20251):
06-02 11:04:57.609: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin72000_ft -coin72000_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin37500_ft -coin37500_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin7750_ft -coin7750_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin3750_ft -coin3750_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin1750_ft -coin1750_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product coin300_ft -coin300_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product ruby130sp_ft -ruby130sp_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product ruby655sp_ft -ruby655sp_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: E/Unity(20251): Unavailable product ruby2015sp_ft -ruby2015sp_ft
06-02 11:04:57.619: E/Unity(20251):
06-02 11:04:57.619: E/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: I/Unity(20251): Billing failed to initialize!
06-02 11:04:57.619: I/Unity(20251):
06-02 11:04:57.619: I/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
06-02 11:04:57.619: I/Unity(20251): No products available for purchase!
06-02 11:04:57.619: I/Unity(20251):
06-02 11:04:57.619: I/Unity(20251): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

StoreListener

#if UNITY_ANDROID || UNITY_IPHONE || UNITY_STANDALONE_OSX || UNITY_TVOS
// You must obfuscate your secrets using Window > Unity IAP > Receipt Validation Obfuscator
// before receipt validation will compile in this sample.
//#define RECEIPT_VALIDATION
#endif

using System;
using System.Collections.Generic;

using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Purchasing;
using UnityEngine.UI;
#if RECEIPT_VALIDATION
using UnityEngine.Purchasing.Security;
#endif

/// <summary>
/// An example of basic Unity IAP functionality.
/// To use with your account, configure the product ids (AddProduct)
/// and Google Play key (SetPublicKey).
/// </summary>
public class IAPUnityWrapper : IAPWrapper, IStoreListener
{
    // Unity IAP objects
    private static IStoreController m_Controller;
    private IAppleExtensions m_AppleExtensions;
    private bool m_PurchaseInProgress;

    #if RECEIPT_VALIDATION
    private CrossPlatformValidator validator;
    #endif

    /// <summary>
    /// This will be called when Unity IAP has finished initialising.
    /// </summary>
    public void OnInitialized(IStoreController controller, IExtensionProvider extensions)
    {
        m_Controller = controller;
        m_AppleExtensions = extensions.GetExtension<IAppleExtensions> ();

    //    InitUI(controller.products.all);

        // On Apple platforms we need to handle deferred purchases caused by Apple's Ask to Buy feature.
        // On non-Apple platforms this will have no effect; OnDeferred will never be called.
        m_AppleExtensions.RegisterPurchaseDeferredListener(OnDeferred);

        Debug.Log("Available items:");
        foreach (var item in controller.products.all)
        {
            if (item.availableToPurchase)
            {
                Debug.Log(string.Join(" - ",
                    new[]
                    {
                        item.metadata.localizedTitle,
                        item.metadata.localizedDescription,
                        item.metadata.isoCurrencyCode,
                        item.metadata.localizedPrice.ToString(),
                        item.metadata.localizedPriceString
                    }));
            }
        }
        /*
        // Populate the product menu now that we have Products
        for (int t = 0; t < m_Controller.products.all.Length; t++)
        {
            var item = m_Controller.products.all[t];
            var description = string.Format("{0} - {1}", item.metadata.localizedTitle, item.metadata.localizedPriceString);
        }
    */
        // Now that I have real products, begin showing product purchase history
    //    UpdateHistoryUI();
    }

    public override void Buy (string pBundle)
    {
        foreach (Product p in m_Controller.products.all)
        {
            if (p.definition.id == pBundle)
            {
                m_Controller.InitiatePurchase (p);
                return;
            }
        }
        Debug.LogError ("Unknown bundle " + pBundle);
    }

    /// <summary>
    /// This will be called when a purchase completes.
    /// </summary>
    public PurchaseProcessingResult ProcessPurchase(PurchaseEventArgs e)
    {
        Debug.Log("Purchase OK: " + e.purchasedProduct.definition.id);
        Debug.Log("Receipt: " + e.purchasedProduct.receipt);

        m_PurchaseInProgress = false;

        // Now that my purchase history has changed, update its UI
    //    UpdateHistoryUI();

        #if RECEIPT_VALIDATION
        if (Application.platform == RuntimePlatform.Android ||
            Application.platform == RuntimePlatform.IPhonePlayer ||
            Application.platform == RuntimePlatform.OSXPlayer) {
            try {
                var result = validator.Validate(e.purchasedProduct.receipt);
                Debug.Log("Receipt is valid. Contents:");
                foreach (IPurchaseReceipt productReceipt in result) {
                    Debug.Log(productReceipt.productID);
                    Debug.Log(productReceipt.purchaseDate);
                    Debug.Log(productReceipt.transactionID);

                    GooglePlayReceipt google = productReceipt as GooglePlayReceipt;
                    if (null != google) {
                        Debug.Log(google.purchaseState);
                        Debug.Log(google.purchaseToken);
                    }

                    AppleInAppPurchaseReceipt apple = productReceipt as AppleInAppPurchaseReceipt;
                    if (null != apple) {
                        Debug.Log(apple.originalTransactionIdentifier);
                        Debug.Log(apple.cancellationDate);
                        Debug.Log(apple.quantity);
                    }
                }
            } catch (IAPSecurityException) {
                Debug.Log("Invalid receipt, not unlocking content");
                return PurchaseProcessingResult.Complete;
            }
        }
        #endif

        PlayerItems.purchase (e.purchasedProduct.definition.id);
        // You should unlock the content here.

        // Indicate we have handled this purchase, we will not be informed of it again.x
        return PurchaseProcessingResult.Complete;
    }

    /// <summary>
    /// This will be called is an attempted purchase fails.
    /// </summary>
    public void OnPurchaseFailed(Product item, PurchaseFailureReason r)
    {
        Debug.Log("Purchase failed: " + item.definition.id);
        Debug.Log(r);

        m_PurchaseInProgress = false;
    }

    public void OnInitializeFailed(InitializationFailureReason error)
    {
        Debug.Log("Billing failed to initialize!");
        switch (error)
        {
            case InitializationFailureReason.AppNotKnown:
                Debug.LogError("Is your App correctly uploaded on the relevant publisher console?");
                break;
            case InitializationFailureReason.PurchasingUnavailable:
                // Ask the user if billing is disabled in device settings.
                Debug.Log("Billing disabled!");
                break;
            case InitializationFailureReason.NoProductsAvailable:
                // Developer configuration error; check product metadata.
                Debug.Log("No products available for purchase!");
                break;
        }
    }

    void Start()
    {
        Instance = this;
        var module = StandardPurchasingModule.Instance();

        // The FakeStore supports: no-ui (always succeeding), basic ui (purchase pass/fail), and
        // developer ui (initialization, purchase, failure code setting). These correspond to
        // the FakeStoreUIMode Enum values passed into StandardPurchasingModule.useFakeStoreUIMode.
        module.useFakeStoreUIMode = FakeStoreUIMode.StandardUser;

        var builder = ConfigurationBuilder.Instance(module);
        // This enables the Microsoft IAP simulator for local testing.
        // You would remove this before building your release package.
        builder.Configure<IMicrosoftConfiguration>().useMockBillingSystem = true;
        builder.Configure<IGooglePlayConfiguration>().SetPublicKey(Game.GPID);

        foreach (string ass in BankAssets.assets())
        {
            // Define our products.
            // In this case our products have the same identifier across all the App stores,
            // except on the Mac App store where product IDs cannot be reused across both Mac and
            // iOS stores.
            // So on the Mac App store our products have different identifiers,
            // and we tell Unity IAP this by using the IDs class.
            switch (Game.platform)
            {
                case PlatformTypes.IOS:
                    builder.AddProduct (ass, ProductType.Consumable, new IDs { { ass, AppleAppStore.Name }, });
                    break;
                case PlatformTypes.AMAZON:
                    builder.AddProduct (ass, ProductType.Consumable, new IDs { { ass, AmazonApps.Name } });
                    //builder.AddProduct (ass, ProductType.Consumable, new IDs    { { ass, GooglePlay.Name }, });
                    break;
                case PlatformTypes.ANDROID:
                    builder.AddProduct (ass, ProductType.Consumable, new IDs    { { ass, GooglePlay.Name }, });
                    break;
                default:
                    builder.AddProduct (ass, ProductType.Consumable, new IDs { { ass, GooglePlay.Name } });
                    break;
            }
        }
        // Write Amazon's JSON description of our products to storage when using Amazon's local sandbox.
        // This should be removed from a production build.
        //builder.Configure<IAmazonConfiguration>().WriteSandboxJSON(builder.products);

        #if RECEIPT_VALIDATION
        validator = new CrossPlatformValidator(GooglePlayTangle.Data(), AppleTangle.Data(), Application.bundleIdentifier);
        #endif

        // Now we're ready to initialize Unity IAP.
        UnityPurchasing.Initialize(this, builder);
    }

    /// <summary>
    /// This will be called after a call to IAppleExtensions.RestoreTransactions().
    /// </summary>
    private void OnTransactionsRestored(bool success)
    {
        Debug.Log("Transactions restored.");
    }

    /// <summary>
    /// iOS Specific.
    /// This is called as part of Apple's 'Ask to buy' functionality,
    /// when a purchase is requested by a minor and referred to a parent
    /// for approval.
    ///
    /// When the purchase is approved or rejected, the normal purchase events
    /// will fire.
    /// </summary>
    /// <param name="item">Item.</param>
    private void OnDeferred(Product item)
    {
        Debug.Log("Purchase deferred: " + item.definition.id);
    }

}

This issue was resolved via a support ticket, but for anyone else who comes across the thread, in the end the issue was fixed by uninstalling and reinstalling the Amazon test app.

Other recommended things to double check include:

  1. That the Amazon test app is still running in the background while testing the app
  2. That the JSON file is stored in the correct location. According to amazon it needs to be stored in the /mnt/sdcard/ folder. Although it is called sdcard, this is actually not the folder for the removable sdcard (if that’s supported on your device), it’s for the device’s physical memory.
  3. It’s also possible that the JSON being generated is not formatted properly. We are looking into a possible bug in our system’s generating of the JSON files, to test if this is causing an issue try downloading the JSON from the Amazon developer console:
  • Go to Amazon Developer Console
  • Add your product ids (if you haven’t already)
  • Download the JSON onto your phone using the button below the product list
  • Make sure it is stored in /mnt/sdcard/
  • Remove the writeSandbox.JSON call from your Start method
1 Like

Hello,

I am integration Unity IAP for Amazon app store.

Everything is fine in the local test using Amazon App Tester. But When I use Live App Testing, Unavailable product occurred :frowning:

Would you please give me some advise on these issue? I am using Unity 5.5,

Hi,

Problem Solved!

After a couple of hour’s waiting. IAP products are available and everything works now.

Seems that it takes some sync time for IAP item to go live.

1 Like