Plugin Directory

Changeset 1947112


Ignore:
Timestamp:
09/26/2018 01:50:38 AM (8 years ago)
Author:
gosomi
Message:

1.1.14 배포

Location:
woo-bootpay/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • woo-bootpay/trunk/bootpay-woocommerce.php

    r1892004 r1947112  
    44 * Plugin URI: https://www.bootpay.co.kr
    55 * Description: 우커머스에 PG를 손쉽게 붙일 수 연동 플러그인 ( 이니시스 / 다날 / KCP / LGU+ 모두 쉽게 붙이는 Woo-bootpay )
    6  * Version: 1.1.13
     6 * Version: 1.1.14
    77 * Author: Gosomi
    88 * Author URI: https://docs.bootpay.co.kr
     
    4444    {
    4545
    46         const CURRENT_VERSION = '2.0.6';
     46        const CURRENT_VERSION = '2.0.10';
    4747        const BOOTPAY_WC_DOMAIN = 'bootpay-with-woocommerce';
    48         const SUPPORT_CURRENCY = ['KRW'];
    4948        const PAYMENT_SUBMIT = 'BOOTPAY_PAYMENT_SUBMIT';
    5049        const VBANK_NOTIFICATION = 'BOOTPAY_VBANK_NOTI';
     
    134133        public function is_valid_currency()
    135134        {
    136             if (!in_array(get_woocommerce_currency(), self::SUPPORT_CURRENCY)) {
     135            if ($this->isSupportCurrency()) {
    137136                $this->msg = sprintf("부트페이는 %s 화폐 결제를 지원하지 않습니다.", get_woocommerce_currency());
    138 
    139137                return false;
    140138            }
     
    606604        }
    607605
     606        private function isSupportCurrency()
     607        {
     608            return !(in_array(get_woocommerce_currency(), ['KRW']));
     609        }
     610
    608611        private function renderJson($response)
    609612        {
  • woo-bootpay/trunk/readme.txt

    r1892004 r1947112  
    55Requires at least: 3.6
    66Tested up to: 4.9.6
    7 Stable tag: 1.1.13
     7Stable tag: 1.1.14
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212
    1313== Description ==
     14
     15버전 1.1.14
     162.0.10 js 버전 업데이트
     17class constants 지원하지 않는 구버전 Support
    1418
    1519버전 1.1.13
Note: See TracChangeset for help on using the changeset viewer.