function get_new_Transactions($session, $to)
{
    $transaction_update_time = olc_db_query(SELECT . "transaction_update_time from " . TABLE_EBAY_CONFIG);
    $update_time = olc_db_fetch_array($transaction_update_time);
    $transaction_update_time = $update_time['transaction_update_time'];
    if ($transaction_update_time == NULL) {
        $event_first_time = olc_db_query(SELECT . "starttime" . SQL_FROM . TABLE_AUCTION_LIST . " ORDER BY starttime ASC");
        $first_time = olc_db_fetch_array($event_first_time);
        $from = $first_time['starttime'];
    } else {
        $from = $transaction_update_time;
    }
    //update time
    $cs = new EbatNs_ServiceProxy($session);
    $req = new GetSellerTransactionsRequestType();
    $req->setModTimeFrom($from);
    $req->setModTimeTo($to);
    $res = $cs->GetSellerTransactions($req);
    $transactions = $res->getTransactionArray();
    if ($res->getAck() == 'Success') {
        for ($i = 0; $i < count($transactions); $i++) {
            $transaction = $transactions[$i];
            $tmp[$transaction->Item->getItemID()][$transaction->getTransactionID()] = array('endtime' => $transaction->getCreatedDate(), 'price' => $transaction->Item->SellingStatus->CurrentPrice->value, 'amount' => $transaction->getQuantityPurchased(), 'buyerid' => $transaction->Buyer->getUserID(), 'buyer_name' => $transaction->Buyer->RegistrationAddress->getName(), 'buyer_email' => $transaction->Buyer->getEmail(), 'buyer_land' => $transaction->Buyer->BuyerInfo->ShippingAddress->getCountryName(), 'buyer_countrycode' => $transaction->Buyer->BuyerInfo->ShippingAddress->getCountry(), 'buyer_state' => $transaction->Buyer->BuyerInfo->ShippingAddress->getStateOrProvince(), 'buyer_zip' => $transaction->Buyer->BuyerInfo->ShippingAddress->getPostalCode(), 'buyer_city' => $transaction->Buyer->BuyerInfo->ShippingAddress->getCityName(), 'buyer_street' => $transaction->Buyer->BuyerInfo->ShippingAddress->getStreet(), 'buyer_phone' => $transaction->Buyer->getPhone());
        }
        $update_time = olc_db_query(SQL_UPDATE . TABLE_EBAY_CONFIG . " SET `transaction_update_time` = '" . $to . APOS . SQL_WHERE . "`id` =1");
    }
    return $tmp;
}