pg 결제
- pg 사 기록시 pg로 기록하지 않고 결제에서 받아오는 pg사 이름으로 수정
This commit is contained in:
@@ -18,6 +18,7 @@ data class VerifyResult(
|
||||
@JsonProperty("receipt_id")
|
||||
val receiptId: String,
|
||||
val method: String,
|
||||
val pg: String,
|
||||
val status: Int,
|
||||
val price: Int
|
||||
)
|
||||
|
@@ -162,7 +162,7 @@ class ChargeService(
|
||||
charge.payment?.receiptId = verifyResult.receiptId
|
||||
charge.payment?.method = verifyResult.method
|
||||
charge.payment?.status = PaymentStatus.COMPLETE
|
||||
member.charge(charge.chargeCan, charge.rewardCan, "pg")
|
||||
member.charge(charge.chargeCan, charge.rewardCan, verifyResult.pg)
|
||||
|
||||
applicationEventPublisher.publishEvent(
|
||||
ChargeSpringEvent(
|
||||
|
Reference in New Issue
Block a user