/** * 3D認証決済を実行する * * @param TdVerifyInput $input 入力パラメータ * @return TdVerityOutput 出力パラメータ */ function exec(&$input) { // プロトコル呼び出し・結果取得 $resultMap = $this->callProtocol($input->toString()); // 戻り値がnullの場合、nullを戻す if (is_null($resultMap)) { return null; } // TdVerifyOutput作成 return new TdVerifyOutput($resultMap); }
/** * 3D認証実行する * * @param string $paRes 3Dセキュア認証結果 * @param string $md 取引ID * @return TdVerifyOutput 3D決済認証出力パラメータ * @exception GPayException */ function requestTdVerify($paRes, $md) { // 3D決済認証入力パラメータを生成 $input = new TdVerifyInput(); $input->setPaRes($paRes); $input->setMd($md); // 3D決済認証を実行 $tran = new TdVerify(); $output = $tran->exec($input); $this->errorTrap($redirectUtil); return $output; }