Magento 1.9 Observer – How to disable Payment method in Observer?

I want to assign specific payment method only for selected one customer group, successfully get customer group & Payment method code, How to add condition, following are my workout, Following Tutorial : https://meetanshi.com/blog/disable-payment-method-programmatically-in-magento/ workout : <?php class Gta_FindPaymentGateway_Model_Observer { public function paymenter($Observer) { if(Mage::getSingleton(‘customer/session’)->isLoggedIn()) { // Get group Id $groupId = Mage::getSingleton(‘customer/session’)->getCustomerGroupId(); //Get customer Group…