Is it better to say the Shehecheyanu blessing on a new online purchase, when the transaction is conducted online but could get lost in transit, or when the product is received / in hand?
ב"ה Shalom According to the Shulchan aruch, Orach Chaim 223:4, the Bracha is to be said at the time of purchase. However, The Mishna Br'rura t (23), says there that this rule applies when the product is readily available to be worn or used. However, when purchasing on-line, this is not the case, therefore you should not make a Bracha until you have it in your hands ready for use. We must add though, that if whatever you bought is for household use and not for personal use, the bracha to be made is NOT Shehecheyanu but "Hatov vehametiv". (Shulchan aruch, Orach Chaim 223:5), In addition, there are those who have the minhag today not to say the Shehecheyanu blessing on new household items. (See Piskei Teshuvot 223:6), however there is strong justification for those who do. ( Halichot shlomo Vol. I , 23 : 15-16, see also Pninei Halacha Brachot 17: 2-3). All the best