- 링크결제 API 수정

- 지급대행 수정
This commit is contained in:
HyeonJongKim
2025-10-21 14:24:51 +09:00
parent c3fbb91888
commit ab5bea6aeb
30 changed files with 784 additions and 590 deletions

View File

@@ -26,6 +26,8 @@ export const ListItem = ({
alimCl, sendType, sendCl,
paymentMethod, receiverName,
requestId,subReqId,
buyerName,receiverInfo,
smsCl,
name,
@@ -168,7 +170,9 @@ export const ListItem = ({
state: {
additionalServiceCategory: additionalServiceCategory,
mid: mid,
tid: tid
tid: tid,
requestId: requestId,
subReqId: subReqId
}
});
}
@@ -177,7 +181,8 @@ export const ListItem = ({
state: {
additionalServiceCategory: additionalServiceCategory,
mid: mid,
tid: tid
tid: tid,
requestId: requestId
}
});
}
@@ -327,11 +332,7 @@ export const ListItem = ({
else if (additionalServiceCategory === AdditionalServiceCategory.LinkPaymentHistory ||
additionalServiceCategory === AdditionalServiceCategory.LinkPaymentWait
) {
if (sendMethod === "SMS") {
str = `${"buyerName"}(${"휴대폰 번호"})`;
} else {
str = `${"buyerName"}(${"이메일"})`;
}
str = `${buyerName}(${receiverInfo})`;
}
else if (additionalServiceCategory === AdditionalServiceCategory.Payout) {
str = companyName;
@@ -394,7 +395,7 @@ export const ListItem = ({
);
}
else if (additionalServiceCategory === AdditionalServiceCategory.LinkPaymentHistory) {
if (paymentStatus === "PAYMENT_FAIL" || paymentStatus === "INACTIVE") {
if (paymentStatus === "3" || paymentStatus === "4") {
rs.push(
<div key="link-payment-history" className="transaction-details">
<span>{getPaymentStatusText(paymentStatus)}</span>
@@ -409,7 +410,7 @@ export const ListItem = ({
<span className="separator">|</span>
<span>{getSendMethodText(sendMethod)}</span>
<span className="separator">|</span>
<span>{"결제수단 추가 필요"}</span>
<span>{paymentMethod}</span>
</div>
);
}