[Problem] IAP won't initialize in the editor

Please use 1.20 instead of 1.21 if you don’t need the UDP feature (China markets). You can download previous versions from here Unity IAP Previous Versions (Obsolete - please see Package Manager)