Files
Gnuboard7/plugins/_bundled/sirsoft-message_bizppurio/lang/en/result_codes.php
T
chym1217 4b5ec6ebd6 fix(message_bizppurio): 잔액부족 알림 본문 변수 미치환 수정 + 후불 한도초과 대응
잔액부족 관리자 알림 본문의 {channel_label}·{result_code} 등이 실제 값으로
치환되지 않고 중괄호째 노출되던 결함을 수정한다. balance.low 훅 인자와 사이트
메타를 알림 data 로 채우는 extract_data 구독 리스너(BalanceLowNotificationDataListener)
를 추가해, 코어 알림 본문 치환이 성립하도록 한다.

후불 한도 초과(9071)를 잔액부족과 동일 분류에 포함해 관리자 알림이 발화되도록
하고, 채널군 라벨(문자/알림톡)·결과코드 사유를 ko/en 및 ja 언어팩에 추가한다.
2026-07-28 12:40:19 +09:00

72 lines
2.7 KiB
PHP

<?php
declare(strict_types=1);
/*
|--------------------------------------------------------------------------
| Bizppurio result code → reason (English)
|--------------------------------------------------------------------------
|
| Source: Bizppurio API manual "9. Status_Code" table
| As of: 2026-07-13 (plan appendix C-3, phase 1 scope)
| Scope: common(2000~9071) + SMS(4100~4443) + LMS(6600~6641) + Alimtalk(7000~7523).
| RCS(8000s)/NaverTalkTalk(part of 5000s) are out of scope (follow-up D15).
|
*/
return [
// ── Common / send response ───────────────────────────
'1000' => 'Success',
'2000' => 'Invalid request parameter',
'3001' => 'Missing required parameter',
'3002' => 'Invalid token (expired/revoked)',
'3004' => 'Request not allowed',
'3005' => 'Invalid authentication',
'3006' => 'Account information error',
'3007' => 'Sender number not registered',
'3009' => 'Message type error',
'3011' => 'Temporary processing delay',
'3013' => 'Temporary system error',
'5003' => 'Temporary delivery error',
'5004' => 'Temporary delivery error',
'5005' => 'Temporary delivery error',
'9000' => 'Temporary system error',
'9070' => 'Insufficient balance (SMS)',
'9071' => 'Postpaid limit exceeded',
// ── SMS report ───────────────────────────────────────
'4100' => 'Success',
'4400' => 'Out of service area',
'4401' => 'Power off',
'4402' => 'Storage full',
'4410' => 'Invalid number',
'4414' => 'Disconnected/suspended number',
'4420' => 'Other device error',
'4430' => 'Spam rejection',
'4443' => 'Other error',
// ── LMS report ───────────────────────────────────────
'6600' => 'Success',
'6603' => 'Out of service area',
'6604' => 'Power off',
'6606' => 'Invalid number',
'6621' => 'Message length exceeded',
'6641' => 'Spam blocked',
// ── Alimtalk report ──────────────────────────────────
'7000' => 'Success',
'7106' => 'Deleted sender key',
'7107' => 'Blocked sender key',
'7204' => 'Template mismatch',
'7206' => 'Unapproved template',
'7306' => 'Kakao system error',
'7307' => 'Processing delayed',
'7308' => 'Phone number error',
'7320' => 'Receiver blocked',
'7325' => 'Variable length exceeded',
'7421' => 'Timeout',
'7436' => 'Insufficient wallet balance (Alimtalk)',
'7437' => 'Message request failed',
'7523' => 'Other error',
];