팝빌 알림톡 제거 완료

- 광고성 및 회원관리파일(친구톡 코드만 제거) 제외
This commit is contained in:
chym1217
2025-09-18 12:50:17 +09:00
parent 1eee11e433
commit 7e8eff5395
72 changed files with 73 additions and 5462 deletions

View File

@ -1,6 +1,5 @@
<?php
include_once('./_common.php');
include_once(G5_KAKAO5_PATH.'/kakao5.lib.php');
$NICEPAY_log_path = G5_DATA_PATH.'/log'; // 나이스페이 가상계좌 로그저장 경로
$NICEPAY_payLog = false; // 로그를 기록하려면 true 로 수정
@ -119,19 +118,6 @@ if (in_array($_SERVER['REMOTE_ADDR'], $pg_allow_ips)) {
sql_query($sql, FALSE);
}
}
// 알림톡 발송 BEGIN: 입금완료(CU-OR03/AD-OR03) ------------------------------
// 주문정보 체크
$sql = "select od_name, od_hp, od_tel from {$g5['g5_shop_order_table']} where od_id = '$od_id' limit 1";
$od_result = sql_fetch($sql);
$it_name_str = get_alimtalk_cart_item_name($od_id); // 상품명
if (isset($od_result)) {
$conditions = ['od_id' => $od_id, 'od_name' => $od_result['od_name'], 'it_name' => $it_name_str]; // 변수 치환 정보
$cu_atk = send_alimtalk_preset('CU-OR03', ['rcv' => $od_result['od_hp'] ?: $od_result['od_tel'], 'rcvnm' => $od_result['od_name']], $conditions); // 회원
$ad_atk = send_admin_alimtalk('AD-OR03', 'super', $conditions); // 관리자
}
// 알림톡 발송 END --------------------------------------------------------
}
if($NICEPAY_payLog) {