PAyment controller code modified
Final code changes