public function doUpdatePayment($data, $form)
    {
        $session = $this
            ->getRequest()
            ->getSession();

        $session->set(
            "Checkout.PaymentMethodID",
            $data["PaymentMethodID"]
        );        
        
        return $this->redirectBack();        
    }
public function doUpdatePayment($data, $form)
    {
        $session = $this
            ->getRequest()
            ->getSession();

        $session->set(
            "Checkout.PaymentMethodID",
            $data["PaymentMethodID"]
        );        
        
        return $this->redirectBack();        
    }
public function doUpdatePayment ( $ data , $ form ) { $ session = $ this -> getRequest ( ) -> getSession ( ) ; $ session -> set ( "Checkout.PaymentMethodID" , $ data [ "PaymentMethodID" ] ) ; return $ this -> redirectBack ( ) ; }
Update the selected payment gateway

@param array $data
@param Form $form
@return redirect
Update the selected payment gateway