Model/Order.php
protected function setPaymentInfoPayPalOrder($transactionId)
    {
        // set transaction ID and payment date to order
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $query = 'update oxorder set oxtransid=' . $db->quote($transactionId) . ' where oxid=' . $db->quote($this->getId());
        $db->execute($query);

        //updating order object
        $this->oxorder__oxtransid = new \OxidEsales\Eshop\Core\Field($transactionId);
    }
protected function setPaymentInfoPayPalOrder($transactionId)
    {
        // set transaction ID and payment date to order
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $query = 'update oxorder set oxtransid=' . $db->quote($transactionId) . ' where oxid=' . $db->quote($this->getId());
        $db->execute($query);

        //updating order object
        $this->oxorder__oxtransid = new \OxidEsales\Eshop\Core\Field($transactionId);
    }
protected function setPaymentInfoPayPalOrder ( $ transactionId ) { // set transaction ID and payment date to order $ db = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ query = 'update oxorder set oxtransid=' . $ db -> quote ( $ transactionId ) . ' where oxid=' . $ db -> quote ( $ this -> getId ( ) ) ; $ db -> execute ( $ query ) ; //updating order object $ this -> oxorder__oxtransid = new \ OxidEsales \ Eshop \ Core \ Field ( $ transactionId ) ; }
Updates order transaction status, ID and date.

@param string $transactionId Order transaction ID
Updates order transaction status ID and date .