Skip to content

Commit

Permalink
[2.2.28]우커머스 구독 플러그인이 없는 경우 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nonameP765 committed Sep 9, 2021
1 parent ec03c6f commit 5542fd8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IamportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: 우커머스용 아임포트 플러그인(국내 모든 PG를 한 번에)
* Plugin URI: http://www.iamport.kr
* Description: 우커머스용 한국PG 연동 플러그인 ( 신용카드 / 실시간계좌이체 / 가상계좌 / 휴대폰소액결제 - 에스크로포함 )
* Version: 2.2.27
* Version: 2.2.28
* Author: SIOT
* Author URI: http://www.siot.do
*
Expand Down
2 changes: 1 addition & 1 deletion iamport-kakao.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public function kakao_unset_gateway_by_category($available_gateways) {
$cart_items = WC()->cart->get_cart();

// 정기결제 결제수단 변경의 경우 subscription id 가 change_payment_method에 포함되어 URL이 세팅됨
if (WC_Subscriptions_Change_Payment_Gateway::$is_request_to_change_payment) {
if (class_exists('WC_Subscriptions_Change_Payment_Gateway') && WC_Subscriptions_Change_Payment_Gateway::$is_request_to_change_payment) {
$subscription_obj = wcs_get_subscription($_GET['change_payment_method']);
$cart_items = $subscription_obj ->get_items();
}
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://www.iamport.kr
Tags: 네이버페이, 카카오페이, 페이코, 이니시스, KCP, naverpay, naver, payco, kakao, kakaopay, kpay, inicis, 유플러스, lguplus, uplus, 나이스, 나이스페이, nice, nicepay, 제이티넷, 티페이, jtnet, tpay, 다날, danal, 모빌리언스, mobilians, 정기결제, subscription, 해외카드, visa, master, jcb, shopping, mall, iamport
Requires at least: 3.5
Tested up to: 5.5.1
Stable tag: 2.2.27
Stable tag: 2.2.28
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -60,6 +60,9 @@ https://www.facebook.com/iamportservice


== Changelog ==
= 2.2.28 =
* 우커머스 구독 플러그인이 없는 사용자에게 발생하던 결제 에러 수정

= 2.2.27 =
* 정기결제 결제수단 변경시 장바구니가 비어 결제수단이 사라지던 버그 수정
* 결제수단 변경시에도 카카오페이 카테고리 검사 되도록 추가
Expand Down

0 comments on commit 5542fd8

Please sign in to comment.