-Key In 결제 요청 카드번호 4자 제한

- SMS 결제통보 필드 변경 수정
This commit is contained in:
HyeonJongKim
2025-11-05 17:18:58 +09:00
parent b3bdd440ba
commit f1f38551fa
6 changed files with 31 additions and 38 deletions

View File

@@ -608,7 +608,7 @@ export const ListItem = ({
<div
key="sms-payment-amount"
className={`status-label success`}
onClick={() => mid && onResendClick(mid, tid || '')}
onClick={() => seq && onResendClick(seq)}
>{t('additionalService.common.resend')}</div>
)
}

View File

@@ -10,8 +10,7 @@ export const SmsPaymentDetailResend = ({
bottomSmsPaymentDetailResendOn,
setBottomSmsPaymentDetailResendOn,
smsDetailData,
mid,
tid
seq
}: SmsPaymentDetailResendProps) => {
const { t } = useTranslation();
@@ -29,18 +28,18 @@ export const SmsPaymentDetailResend = ({
}
resendMessage({
mid: mid,
tid: tid,
seq: seq,
sendMessage: smsDetailData.sendMessage
}).then((rs) => {
if (rs.status) {
snackBar(t('additionalService.sms.sendSuccess'))
setBottomSmsPaymentDetailResendOn(false)
} else {
snackBar(t('additionalService.sms.sendFailed', { message: rs.error?.message }))
}
setBottomSmsPaymentDetailResendOn(false);
}).catch((error) => {
snackBar(t('additionalService.sms.sendFailed', { message: error?.response?.data?.message || error?.response?.data?.error?.message }) || t('additionalService.sms.sendFailedGeneric'))
setBottomSmsPaymentDetailResendOn(false)
});
}