Unity IAP for Windows store failed

  1. i had upload our app on windows store and also have add-ons.
  2. in unity iap fake test is working well.
  3. when publish UWP app and test on PC, it always show those 2 errors as bellow.
Unity Purchasing: UnityIAPWin8:Unable to retrieve app receipt:Exception of type 'System.Exception' was thrown.
System.Threading.OSSpecificSynchronizationContext:InvocationEntry(IntPtr)

Unity Purchasing: UnityIAPWin8:PollForProducts() Exception (persistent = True, delay = 0, retry = 30), exception: Exception of type 'System.Exception' was thrown.
System.Threading.OSSpecificSynchronizationContext:InvocationEntry(IntPtr)

  1. i had search this problem a whole day, but cannot find out any usefull information.please help with this problem, thank you!

unity version:2021.3.25f1c1
IAP version: 4.9.2
target platform : UWP

so anyone have any info on how to fix this. Been building UWP for years now and just recently updated project to latest 2022 unity and now get this error. Going back to older versions did not help.

Unity Purchasing: UnityIAPWin8:PollForProducts() Exception (persistent = True, delay = 0, retry = 30), exception: Exception of type ‘System.Exception’ was thrown.