Error: Client error: `GET https://graph.instagram.com/refresh_access_token?grant_type=ig_refresh_token&access_token=IGAAIbn3HQzhdBZAGJ1V21OQ1pSZAUpsZAXRRMzl1RWJxelVUY1JPdG4xU1hDR19udFZAxWmlVbzgxNElGSFNvWUY0VmNIbDd3ZAW55dm4xMWxQTmlrcXgzNFdfTy1MQ2JQbGs3Q3B2c0dyZAVNISEN3ZAkxabG9B` resulted in a `400 Bad Request` response: {"error":{"message":"Error validating access token: The session has been invalidated because the user changed their pass (truncated...) [관리] 주문취소 회원의 쿠폰과 포인트를 되돌려 줌 > 정보공유 | 그누위즈 - 웹 사이트 제작 전문

[관리] 주문취소 회원의 쿠폰과 포인트를 되돌려 줌 > 정보공유

본문 바로가기

정보공유

일반글
영카트팁

[관리] 주문취소 회원의 쿠폰과 포인트를 되돌려 줌

페이지 정보

게시물QR코드

본문

<?php

/* www/shop/orderinquirycancel.php */


// 주문취소 회원의 포인트를 되돌려 줌

if ($od['od_receipt_point'] > 0)

    insert_point($member['mb_id'], $od['od_receipt_point'], "주문번호 $od_id 본인 취소");


// 주문취소 회원의 쿠폰을 되돌려 줌

$re_od = sql_fetch(" select count(*) as cnt from {$g5['g5_shop_coupon_log_table']} where od_id = '$od_id' and mb_id = '{$member['mb_id']}' ");

if($re_od['cnt']) {

sql_query(" delete from {$g5['g5_shop_coupon_log_table']} where od_id = '{$od_id}' "); 

}

?>

댓글목록

등록된 댓글이 없습니다.

  • Addr.부산광역시 동래구 명장로106번길 70-4, 301호 CEO. 이경애 Email. gnuwiz@naver.com
  • BR. 625-68-00172 TRC. 2024-부산진-0560 TEL. 0507-1382-2790
Copyright © 2017 ~ 그누위즈. All rights reserved.