Basic code refactoring in payu.php