-Key In 결제 요청 카드번호 4자 제한
- SMS 결제통보 필드 변경 수정
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user