The evolution of technology and the internet led to the opening of infinite ways to engage with consumers worldwide. The idea of everything taking place online is now applicable for the finance and banking sector as well. The system of online wallets and e-transactions have become very common as a mode of payment. But handling money on a network is also dangerous as hackers may break into the firewall. The security wireless communication in e-commerce has received extensive attention recently. This paper offers an analytical framework to investigate the eavesdropping attacks over wireless communication link. Eavesdropping attack, as one of typical security threats in wireless communication systems, has attracted considerable attention. We will observe the physical layer security of an arbitrarily dimensioned wireless network in the presence of an unauthorized attacker. In this paper, we will explain different models of eavesdropping and attacks. Also, we will consider basic performance of the system such are secrecy outage probability (SOP), strictly positive secrecy capacity (SPSC) and average secrecy capacity (ASC) based on a probability density function (PDF) and specific cumulative distribution function (CDF).