1. Home
  2. 심플페이 우커머스 네이버페이 – 주문형
  3. NPay Hook
  4. mnp_order_status_for_processing

mnp_order_status_for_processing

1. 설명

  • 네이버 페이에서 결제 후 주문 상태를 변경할 수 있습니다.

 

2. 사용방법

add_filter( 'mnp_order_status_for_processing', 'change_mnp_order_status_for_processing', 10, 2 );

 

3. 예제

function change_mnp_order_status_for_processing( $order_status, $order ) {
    // 변경할 주문상태를 지정합니다.
    return 'order-received';
}

add_filter( 'mnp_order_status_for_processing', 'change_mnp_order_status_for_processing', 10, 2 );

 

Was this article helpful to you? Yes No