public function callbackAction()
    {
        try {
            $response = $this->getPaymentHandler()->getPaymentCallbackResponse($this->getCurrentRequest());
        } catch (EntityNotFoundException $ex) {
            throw new NotFoundHttpException($ex->getMessage());
        } catch (InvalidTransactionException $ex) {
            throw new UnauthorizedHttpException($ex->getMessage());
        }

        return $response;
    }
public function callbackAction()
    {
        try {
            $response = $this->getPaymentHandler()->getPaymentCallbackResponse($this->getCurrentRequest());
        } catch (EntityNotFoundException $ex) {
            throw new NotFoundHttpException($ex->getMessage());
        } catch (InvalidTransactionException $ex) {
            throw new UnauthorizedHttpException($ex->getMessage());
        }

        return $response;
    }
public function callbackAction ( ) { try { $ response = $ this -> getPaymentHandler ( ) -> getPaymentCallbackResponse ( $ this -> getCurrentRequest ( ) ) ; } catch ( EntityNotFoundException $ ex ) { throw new NotFoundHttpException ( $ ex -> getMessage ( ) ) ; } catch ( InvalidTransactionException $ ex ) { throw new UnauthorizedHttpException ( $ ex -> getMessage ( ) ) ; } return $ response ; }
this action handler the callback sent from the bank.

@throws NotFoundHttpException
@throws UnauthorizedHttpException

@return Response
this action handler the callback sent from the bank .