For secure money transaction, a developer plays a very important role to make your application secure. However, PHP is itself sufficient to make your application secure. Magento, Woocomerce, Prestashop and WordPress are all made with PHP. So you don't worry about security issues with PHP, but you worry about choosing an expert among PHP Developers.