If the credit card is validated successfully and the funds are successfully transferred from the users account, the online application buys the required number of stocks from the market.
Laharsub is an open source.net publish-subscribe message server for real time web applications like chat, online collaboration, news or stock trade updates, etc.