function execTran($member_id, $order_id, $amount)
{
    global $log;
    $entryInput = new EntryTranInput();
    $entryInput->setShopId(PGCARD_SHOP_ID);
    $entryInput->setShopPass(PGCARD_SHOP_PASS);
    $entryInput->setJobCd(JOB_CODE_CAPTURE);
    $entryInput->setOrderId($order_id);
    $entryInput->setAmount($amount);
    $execInput = new ExecTranInput();
    $execInput->setOrderId($order_id);
    $execInput->setMethod(1);
    $execInput->setSiteId(PGCARD_SITE_ID);
    $execInput->setSitePass(PGCARD_SITE_PASS);
    $execInput->setMemberId($member_id);
    $execInput->setCardSeq(CARD_SEQ_DEFAULT);
    $input = new EntryExecTranInput();
    /* @var $input EntryExecTranInput */
    $input->setEntryTranInput($entryInput);
    $input->setExecTranInput($execInput);
    $exe = new EntryExecTran();
    /* @var $exec EntryExecTran */
    $output = $exe->exec($input);
    /* @var $output EntryExecTranOutput */
    $log->info(serialize($input));
    $log->info(serialize($output));
    foreach ($output->getEntryErrList() as $err) {
        $log->error(serialize($input));
        $log->error(serialize($output));
        $errInfo = $err->getErrInfo();
        throw new Exception($errInfo);
    }
    foreach ($output->getExecErrList() as $err) {
        $log->error(serialize($input));
        $log->error(serialize($output));
        $errInfo = $err->getErrInfo();
        throw new Exception($errInfo);
    }
    return $output;
}