We consider the optimal pricing of a freemium product offered by a firm to consumers who are loss-averse with stochastic and endogenous reference points, and the role of the consumers' surprise on their purchase decision about the premium version, after experiencing the free version. We...