Model/IPNRequestVerifier.php
protected function doVerifyWithPayPal($requestData)
    {
        $callerService = $this->getCommunicationService();
        $payPalPayPalRequest = $this->getPayPalRequest();
        foreach ($requestData as $requestParameterName => $requestParameterValue) {
            $payPalPayPalRequest->setParameter($requestParameterName, $requestParameterValue);
        }
        $responseDoVerifyWithPayPal = $callerService->doVerifyWithPayPal($payPalPayPalRequest, $requestData['charset']);

        return $responseDoVerifyWithPayPal;
    }
protected function doVerifyWithPayPal($requestData)
    {
        $callerService = $this->getCommunicationService();
        $payPalPayPalRequest = $this->getPayPalRequest();
        foreach ($requestData as $requestParameterName => $requestParameterValue) {
            $payPalPayPalRequest->setParameter($requestParameterName, $requestParameterValue);
        }
        $responseDoVerifyWithPayPal = $callerService->doVerifyWithPayPal($payPalPayPalRequest, $requestData['charset']);

        return $responseDoVerifyWithPayPal;
    }
protected function doVerifyWithPayPal ( $ requestData ) { $ callerService = $ this -> getCommunicationService ( ) ; $ payPalPayPalRequest = $ this -> getPayPalRequest ( ) ; foreach ( $ requestData as $ requestParameterName => $ requestParameterValue ) { $ payPalPayPalRequest -> setParameter ( $ requestParameterName , $ requestParameterValue ) ; } $ responseDoVerifyWithPayPal = $ callerService -> doVerifyWithPayPal ( $ payPalPayPalRequest , $ requestData [ 'charset' ] ) ; return $ responseDoVerifyWithPayPal ; }
Call PayPal to check if IPN request originally from PayPal.

@param array $requestData data of request.

@return \OxidEsales\PayPalModule\Model\Response\Response
Call PayPal to check if IPN request originally from PayPal .