test #207

Merged
klaus merged 3 commits from test into main 2024-08-27 07:31:05 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 1551e3231c - Show all commits

View File

@ -18,6 +18,7 @@ data class VerifyResult(
@JsonProperty("receipt_id") @JsonProperty("receipt_id")
val receiptId: String, val receiptId: String,
val method: String, val method: String,
val pg: String,
val status: Int, val status: Int,
val price: Int val price: Int
) )

View File

@ -162,7 +162,7 @@ class ChargeService(
charge.payment?.receiptId = verifyResult.receiptId charge.payment?.receiptId = verifyResult.receiptId
charge.payment?.method = verifyResult.method charge.payment?.method = verifyResult.method
charge.payment?.status = PaymentStatus.COMPLETE charge.payment?.status = PaymentStatus.COMPLETE
member.charge(charge.chargeCan, charge.rewardCan, "pg") member.charge(charge.chargeCan, charge.rewardCan, verifyResult.pg)
applicationEventPublisher.publishEvent( applicationEventPublisher.publishEvent(
ChargeSpringEvent( ChargeSpringEvent(