Skip to content

Commit efa188e

Browse files
authored
Merge pull request #32 from iamport/molpay
엑심베이에 몰페이 지원 추가 & minor fixes
2 parents d6c52fd + 954a1af commit efa188e

11 files changed

+55
-1929
lines changed

IamportOrderRestController.php

-1,134
This file was deleted.

IamportPlugin.php

+3-19
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* Plugin Name: 우커머스용 아임포트 플러그인(국내 모든 PG를 한 번에)
44
* Plugin URI: http://www.iamport.kr
55
* Description: 우커머스용 한국PG 연동 플러그인 ( 신용카드 / 실시간계좌이체 / 가상계좌 / 휴대폰소액결제 - 에스크로포함 )
6-
* Version: 2.2.34
7-
* Author: SIOT
8-
* Author URI: http://www.siot.do
6+
* Version: 2.2.35
7+
* Author: PortOne
8+
* Author URI: https://portone.io/
99
*
1010
* Text Domain: iamport-for-woocommerce
1111
* Domain Path: /i18n/languages/
@@ -123,25 +123,9 @@ function init_iamport_plugin() {
123123
//상품 제공기간
124124
add_action( 'woocommerce_product_options_advanced', 'iamport_advanced_meta' );
125125
add_action( 'woocommerce_process_product_meta', 'iamport_advanced_meta_save' );
126-
127-
//rest api endpoint
128-
add_action('rest_api_init', 'register_iamport_rest_routes');
129126
}
130127
}
131128

132-
if(!function_exists('register_iamport_rest_routes')){
133-
function register_iamport_rest_routes()
134-
{
135-
require_once('IamportOrderRestController.php');
136-
require_once('NewIamportOrderRestController.php');
137-
138-
$controller = new IamportOrderRestController();
139-
$controller->register_routes();
140-
$controller = new NewIamportOrderRestController();
141-
$controller->register_routes();
142-
}
143-
}
144-
145129
if(!function_exists('enqueue_iamport_common_script')){
146130
function enqueue_iamport_common_script() {
147131
wp_enqueue_script( 'jquery-ui-dialog' );

0 commit comments

Comments
 (0)