Compare commits

..

No commits in common. "8c1b95dc978c9c194349bc72d7946bf9bbe53fc2" and "fb5641343e1196e210b0b06ea4e7f4b0ee15bcf6" have entirely different histories.

1 changed files with 7 additions and 7 deletions

View File

@ -237,13 +237,6 @@ class ChargeService(
charge.payment!!.status == PaymentStatus.REQUEST
) {
consumeWithRetry(productId, purchaseToken, charge, member)
applicationEventPublisher.publishEvent(
ChargeSpringEvent(
chargeId = charge.id!!,
memberId = member.id!!
)
)
} else {
throw SodaException("결제정보에 오류가 있습니다.")
}
@ -269,6 +262,13 @@ class ChargeService(
charge.payment!!.status = PaymentStatus.COMPLETE
member.charge(charge.chargeCan, 0, "aos")
applicationEventPublisher.publishEvent(
ChargeSpringEvent(
chargeId = charge.id!!,
memberId = member.id!!
)
)
return
} catch (e: Exception) {
lastError = e