Skip to content

Commit

Permalink
Merge pull request #32 from iamport/molpay
Browse files Browse the repository at this point in the history
엑심베이에 몰페이 지원 추가 & minor fixes
  • Loading branch information
kdino authored Mar 6, 2023
2 parents d6c52fd + 954a1af commit efa188e
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 1,929 deletions.
1,134 changes: 0 additions & 1,134 deletions IamportOrderRestController.php

This file was deleted.

22 changes: 3 additions & 19 deletions IamportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Plugin Name: 우커머스용 아임포트 플러그인(국내 모든 PG를 한 번에)
* Plugin URI: http://www.iamport.kr
* Description: 우커머스용 한국PG 연동 플러그인 ( 신용카드 / 실시간계좌이체 / 가상계좌 / 휴대폰소액결제 - 에스크로포함 )
* Version: 2.2.34
* Author: SIOT
* Author URI: http://www.siot.do
* Version: 2.2.35
* Author: PortOne
* Author URI: https://portone.io/
*
* Text Domain: iamport-for-woocommerce
* Domain Path: /i18n/languages/
Expand Down Expand Up @@ -123,25 +123,9 @@ function init_iamport_plugin() {
//상품 제공기간
add_action( 'woocommerce_product_options_advanced', 'iamport_advanced_meta' );
add_action( 'woocommerce_process_product_meta', 'iamport_advanced_meta_save' );

//rest api endpoint
add_action('rest_api_init', 'register_iamport_rest_routes');
}
}

if(!function_exists('register_iamport_rest_routes')){
function register_iamport_rest_routes()
{
require_once('IamportOrderRestController.php');
require_once('NewIamportOrderRestController.php');

$controller = new IamportOrderRestController();
$controller->register_routes();
$controller = new NewIamportOrderRestController();
$controller->register_routes();
}
}

if(!function_exists('enqueue_iamport_common_script')){
function enqueue_iamport_common_script() {
wp_enqueue_script( 'jquery-ui-dialog' );
Expand Down
Loading

0 comments on commit efa188e

Please sign in to comment.