사용하지 않는 print 제거
This commit is contained in:
@@ -343,9 +343,7 @@ class ChargeService(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val body = response.body?.string() ?: throw SodaException("결제정보에 오류가 있습니다.")
|
val body = response.body?.string() ?: throw SodaException("결제정보에 오류가 있습니다.")
|
||||||
println(body)
|
|
||||||
val verifyResponse = objectMapper.readValue(body, PayverseVerifyResponse::class.java)
|
val verifyResponse = objectMapper.readValue(body, PayverseVerifyResponse::class.java)
|
||||||
println(verifyResponse)
|
|
||||||
|
|
||||||
val customerId = "${serverEnv}_user_${member.id!!}"
|
val customerId = "${serverEnv}_user_${member.id!!}"
|
||||||
val isSuccess = verifyResponse.resultStatus == "SUCCESS" &&
|
val isSuccess = verifyResponse.resultStatus == "SUCCESS" &&
|
||||||
@@ -354,7 +352,6 @@ class ChargeService(
|
|||||||
verifyResponse.productName == charge.title &&
|
verifyResponse.productName == charge.title &&
|
||||||
verifyResponse.customerId == customerId &&
|
verifyResponse.customerId == customerId &&
|
||||||
verifyResponse.requestAmount.compareTo(charge.can!!.price) == 0
|
verifyResponse.requestAmount.compareTo(charge.can!!.price) == 0
|
||||||
println(isSuccess)
|
|
||||||
|
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
// verify 함수의 232~248 라인과 동일 처리
|
// verify 함수의 232~248 라인과 동일 처리
|
||||||
|
Reference in New Issue
Block a user