IAP not working for UWP

Unity Version - 2022.3.38f1 LTS
IAP Version - 4.12.2
Platform - Microsoft Store (UWP)

Getting this error -

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

System.Threading.OSSpecificSynchronizationContext:InvocationEntry(IntPtr)