It was not long ago when technological emergence fundamentally changed the landscape of global businesses. Following that, business operations started shifting away from traditional to advance digitalized processes. These digitalized processes gave a further boost to the e-commerce industry, making the online environment more competitive. Despite the growing trend, there has always been a consumer market that is not involved in online shopping, and this gap is huge when it comes to consumers from developing countries, specifically Pakistan. On contrary, the recent COVID-19 pandemic has brought drastic changes to the way consumers used to form their intention and behave toward digitalized solutions in pre COVID-19 times. Evidence shows that the global e-commerce industry has touched phenomenal growth during COVID-19, whereas Pakistan's e-commerce industry still holds a huge potential and has not fully boomed yet. These facts pave new avenues for marketers to cater to this consumer market for long-term growth. Hence, the study provides insights into how consumers' online buying behavior has transformed during the COVID-19 pandemic in the context of Pakistan. The study presents a framework based on the Technology Acceptance Model (TAM) and Theory of Planned Behavior (TPB). Furthermore, the moderating role of gender and payment mode has also been examined. For the analysis of variables, the partial least squares (PLS) method was used to conduct structural equation modeling (SEM) by collecting data from 266 respondents. The results show a significant and positive impact of perceived benefits, perceived ease of use, perceived enjoyment, and social influence on consumers' intention, but they also show an insignificant impact of gender and payment mode as a moderating variable on PEOU-BI and BI-AB, respectively. The results are of utmost significance for Pakistani businesses, marketers, and e-traders to streamline their business practices accordingly. Lastly, the proposed framework demonstrates new directions for future research to work upon.