Model/IPNProcessor.php
public function process()
    {
        $lang = $this->getLang();
        $request = $this->getRequest();
        $paymentBuilder = $this->getPaymentBuilder();
        $payPalOrderManager = $this->getOrderManager();

        // Create Payment from Request.
        $paymentBuilder->setLang($lang);
        $paymentBuilder->setRequest($request);
        $orderPayment = $paymentBuilder->buildPayment();

        $payPalOrderManager->setOrderPayment($orderPayment);
        $processSuccess = $payPalOrderManager->updateOrderStatus();

        return $processSuccess;
    }
public function process()
    {
        $lang = $this->getLang();
        $request = $this->getRequest();
        $paymentBuilder = $this->getPaymentBuilder();
        $payPalOrderManager = $this->getOrderManager();

        // Create Payment from Request.
        $paymentBuilder->setLang($lang);
        $paymentBuilder->setRequest($request);
        $orderPayment = $paymentBuilder->buildPayment();

        $payPalOrderManager->setOrderPayment($orderPayment);
        $processSuccess = $payPalOrderManager->updateOrderStatus();

        return $processSuccess;
    }
public function process ( ) { $ lang = $ this -> getLang ( ) ; $ request = $ this -> getRequest ( ) ; $ paymentBuilder = $ this -> getPaymentBuilder ( ) ; $ payPalOrderManager = $ this -> getOrderManager ( ) ; // Create Payment from Request. $ paymentBuilder -> setLang ( $ lang ) ; $ paymentBuilder -> setRequest ( $ request ) ; $ orderPayment = $ paymentBuilder -> buildPayment ( ) ; $ payPalOrderManager -> setOrderPayment ( $ orderPayment ) ; $ processSuccess = $ payPalOrderManager -> updateOrderStatus ( ) ; return $ processSuccess ; }
Initiate payment status changes according to IPN information.

@return bool
Initiate payment status changes according to IPN information .