src/ShopPaymentTransactionBundle/objects/TPkgShopPaymentTransactionManagerEndPoint.class.php
public function confirmTransaction($iSequenceNumber, $iConfirmedDate)
    {
        $oTransaction = TdbPkgShopPaymentTransaction::GetNewInstance();
        $loadData = array('shop_order_id' => $this->order->id, 'sequence_number' => $iSequenceNumber);
        if (true === $oTransaction->LoadFromFields($loadData)) {
            $oTransaction = $this->confirmTransactionObject($oTransaction, $iConfirmedDate);
        } else {
            $oTransaction = null;
        }

        return $oTransaction;
    }
public function confirmTransaction($iSequenceNumber, $iConfirmedDate)
    {
        $oTransaction = TdbPkgShopPaymentTransaction::GetNewInstance();
        $loadData = array('shop_order_id' => $this->order->id, 'sequence_number' => $iSequenceNumber);
        if (true === $oTransaction->LoadFromFields($loadData)) {
            $oTransaction = $this->confirmTransactionObject($oTransaction, $iConfirmedDate);
        } else {
            $oTransaction = null;
        }

        return $oTransaction;
    }
public function confirmTransaction ( $ iSequenceNumber , $ iConfirmedDate ) { $ oTransaction = TdbPkgShopPaymentTransaction :: GetNewInstance ( ) ; $ loadData = array ( 'shop_order_id' => $ this -> order -> id , 'sequence_number' => $ iSequenceNumber ) ; if ( true === $ oTransaction -> LoadFromFields ( $ loadData ) ) { $ oTransaction = $ this -> confirmTransactionObject ( $ oTransaction , $ iConfirmedDate ) ; } else { $ oTransaction = null ; } return $ oTransaction ; }
searches for a transaction with matching sequence number and confirms it. returns the transaction if found, null if not.

@param int $iSequenceNumber
@param int $iConfirmedDate  - unix timestamp

@return \TdbPkgShopPaymentTransaction|null
searches for a transaction with matching sequence number and confirms it . returns the transaction if found null if not .