Model/IPNPaymentCreator.php
private function updateOrderPaymentAuthorizationStatus($orderPaymentAuthorization)
    {
        $authStatus = $this->getRequest()->getRequestParameter(self::PAYPAL_IPN_AUTH_STATUS);

        if ($authStatus) {
            $orderPaymentAuthorization->setStatus($authStatus);
            $orderPaymentAuthorization->save();
        }
    }
private function updateOrderPaymentAuthorizationStatus($orderPaymentAuthorization)
    {
        $authStatus = $this->getRequest()->getRequestParameter(self::PAYPAL_IPN_AUTH_STATUS);

        if ($authStatus) {
            $orderPaymentAuthorization->setStatus($authStatus);
            $orderPaymentAuthorization->save();
        }
    }
private function updateOrderPaymentAuthorizationStatus ( $ orderPaymentAuthorization ) { $ authStatus = $ this -> getRequest ( ) -> getRequestParameter ( self :: PAYPAL_IPN_AUTH_STATUS ) ; if ( $ authStatus ) { $ orderPaymentAuthorization -> setStatus ( $ authStatus ) ; $ orderPaymentAuthorization -> save ( ) ; } }
The status of the related authorization transaction might have changed.
We need to update that transaction status as well if we got a value in IPN request data.

@param \OxidEsales\PayPalModule\Model\OrderPayment $orderPaymentAuthorization Authorization PayPal order payment
The status of the related authorization transaction might have changed . We need to update that transaction status as well if we got a value in IPN request data .