test #147

Merged
klaus merged 4 commits from test into main 2024-03-22 10:08:02 +00:00
1 changed files with 0 additions and 3 deletions
Showing only changes of commit df690dae0e - Show all commits

View File

@ -213,7 +213,6 @@ class ChargeService(
val response = androidPublisher.purchases().products() val response = androidPublisher.purchases().products()
.get("kr.co.vividnext.sodalive", request.productId, request.purchaseToken) .get("kr.co.vividnext.sodalive", request.productId, request.purchaseToken)
.execute() ?: throw SodaException("결제정보에 오류가 있습니다.") .execute() ?: throw SodaException("결제정보에 오류가 있습니다.")
if ( if (
response.purchaseState == 0 && response.purchaseState == 0 &&
response.consumptionState == 0 && response.consumptionState == 0 &&
@ -233,8 +232,6 @@ class ChargeService(
memberId = member.id!! memberId = member.id!!
) )
) )
} else {
throw SodaException("결제정보에 오류가 있습니다.")
} }
} else { } else {
throw SodaException("결제정보에 오류가 있습니다.") throw SodaException("결제정보에 오류가 있습니다.")