debug(charge): 해외결제 DEBUG를 위해 print 임시 추가

This commit is contained in:
2025-10-02 20:40:34 +09:00
parent 8cc9641bbf
commit 79cd2b8123

View File

@@ -342,7 +342,9 @@ class ChargeService(
}
val body = response.body?.string() ?: throw SodaException("결제정보에 오류가 있습니다.")
println(body)
val verifyResponse = objectMapper.readValue(body, PayverseVerifyResponse::class.java)
println(verifyResponse)
val isSuccess = verifyResponse.resultStatus == "SUCCESS" &&
verifyResponse.transactionStatus == "SUCCESS" &&
@@ -380,7 +382,8 @@ class ChargeService(
throw SodaException("결제정보에 오류가 있습니다.")
}
} catch (e: Exception) {
e.printStackTrace()
print(e.localizedMessage)
print(e.message)
throw SodaException("결제정보에 오류가 있습니다.")
}
}