Skip to end of metadata
Go to start of metadata

결제를 시작하기 위해 doTransaction() 메소드를 호출한다.

  • 적용전

<script type="text/javascript">

function startPayment() {

  // TODO payment integration

 

}

</script>

 

<form name="order">

  goodname : <input type="text" name="product_name" value="페이게이트 시스템"></input>

  price : <input type="text" name="product_price" value="110000">연 11만원</input>

  goodcode : <input name="product_orderno" value="PGSystem"></input>

  <input type="button" value="PAY NOW" onclick="startPayment();"/>

</form>

 

  • 적용후 예제

<script type="text/javascript">

function startPayment() {

  // TODO payment integration.

  doTransaction(document.PGIOForm);

}

</script>

<form name="order">

  goodname : <input type="text" name="product_name" value="페이게이트 시스템"></input>

  price : <input type="text" name="product_price" value="110000">연 11만원</input>

  goodcode : <input name="product_orderno" value="PGSystem"></input>

  <input type="button" value="PAY NOW" onclick="startPayment();"/>

</form>

 

 

 

  • No labels