hashdata = [replyCode] + [tid] + [mb_serial_no] + [unitprice] + [goodcurrency] Ex) 0000devbasic_2014-12-25.134027940112341000KRW + APIKey hash값은 PGIOForm안에 hashresult변수로 리턴받을 수 있다. Ex) <form name=PGIOForm ><input type=hidden name=hashresult value=””></form> hashresult = 266def6f5fe6494f1c939a84acb4b27a3492868e347341d211640e1ab764fa39 |
*주의사항
- WON(원)거래의 경우 hashdata를 만들떄 goodcurrency값에 WON이 아니라 KRW를 사용해야한다.
- MCP결제 사용시에는 원거래금액(요청금액)을과 통화를 사용.
- Ex)1USD를 MCP를 사용하여 100JPY로 결제를 할경우
- unitprice 1, goodcurrency USD를 사용.
- unitprice값을 넣을 때 주의사항.
- 1.00달러 -> 1달러로 hashreuslt 생성
- 1.20달러 -> 1.2달러로 hashresult 생성
- 1.03달러 -> 1.03달러로 hashresult 생성
- 1달러미만 -> 0.5달러일 경우 0.5달러로 hashresult 생성
-1000.00원 -> 1000원으로 hashresult생성.