another problem
Thanks this did the work with this one but created another problem. Now the order is being recorded before paypal transaction. As soon as I press checkout button after entering billing information at checkout.php page the transaction is recorded and download center and customer orders are being displayed. I have attached pages.