The purpose of this study is to look into Jordanian customers' purchasing habits in regard to electronic commerce. The goal of this research is to investigate the impact of social media on electronic commerce trust and purchasing behavior. Trust's impact on social commerce was also investigated. Furthermore, the influence of social commerce on electronic commerce purchasing behavior has been studied in greater depth. This study proposed a conceptual model, which was empirically tested with a survey of 150 Jordanians. The study's findings stated that social media and social commerce had a significant impact on Jordanians' purchasing behavior toward e-commerce. Besides that, trust has a significant impact on social commerce. Furthermore, social commerce influences e-commerce purchasing behavior. Because the study was limited to Jordan, one of the primary limitations of this study is that the results cannot be generalized. Similar studies in other countries are needed to either support or refute our findings.