pg 결제

- 결제수단 pg사 이름으로 추가
This commit is contained in:
Klaus 2024-08-27 16:14:29 +09:00
parent 1551e3231c
commit bb897fe965
1 changed files with 2 additions and 2 deletions

View File

@ -160,9 +160,9 @@ class ChargeService(
if (verifyResult.status == 1 && verifyResult.price == charge.can?.price) {
charge.payment?.receiptId = verifyResult.receiptId
charge.payment?.method = verifyResult.method
charge.payment?.method = "${verifyResult.pg}-${verifyResult.method}"
charge.payment?.status = PaymentStatus.COMPLETE
member.charge(charge.chargeCan, charge.rewardCan, verifyResult.pg)
member.charge(charge.chargeCan, charge.rewardCan, "pg")
applicationEventPublisher.publishEvent(
ChargeSpringEvent(