Model/IPNPaymentValidator.php
public function isValid()
    {
        $requestPayment = $this->getRequestOrderPayment();
        $orderPayment = $this->getOrderPayment();

        $currencyPayPal = $requestPayment->getCurrency();
        $pricePayPal = $requestPayment->getAmount();

        $currencyPayment = $orderPayment->getCurrency();
        $amountPayment = $orderPayment->getAmount();

        return ($currencyPayPal == $currencyPayment && $pricePayPal == $amountPayment);
    }
public function isValid()
    {
        $requestPayment = $this->getRequestOrderPayment();
        $orderPayment = $this->getOrderPayment();

        $currencyPayPal = $requestPayment->getCurrency();
        $pricePayPal = $requestPayment->getAmount();

        $currencyPayment = $orderPayment->getCurrency();
        $amountPayment = $orderPayment->getAmount();

        return ($currencyPayPal == $currencyPayment && $pricePayPal == $amountPayment);
    }
public function isValid ( ) { $ requestPayment = $ this -> getRequestOrderPayment ( ) ; $ orderPayment = $ this -> getOrderPayment ( ) ; $ currencyPayPal = $ requestPayment -> getCurrency ( ) ; $ pricePayPal = $ requestPayment -> getAmount ( ) ; $ currencyPayment = $ orderPayment -> getCurrency ( ) ; $ amountPayment = $ orderPayment -> getAmount ( ) ; return ( $ currencyPayPal == $ currencyPayment && $ pricePayPal == $ amountPayment ) ; }
Check if PayPal response fits payment information.

@return bool
Check if PayPal response fits payment information .