What make users feel safe to buy in a online store?

I want to know what can be done from UX perspective that makes user feel safe to buy in an online store?

Is there any research that shows how user reacts to different design elements and how they makes they feel that they can trust in a website?