Changeset 3386206
- Timestamp:
- 10/29/2025 06:34:54 AM (5 months ago)
- Location:
- ry-woocommerce-tools/trunk
- Files:
-
- 32 edited
-
assets/admin/ry-shipping.asset.php (modified) (1 diff)
-
assets/admin/ry-shipping.js (modified) (1 diff)
-
assets/ry-checkout.asset.php (modified) (1 diff)
-
assets/ry-checkout.js (modified) (1 diff)
-
includes/cron.php (modified) (2 diffs)
-
includes/main.php (modified) (1 diff)
-
includes/update.php (modified) (1 diff)
-
languages/ry-woocommerce-tools.pot (modified) (54 diffs)
-
ry-woocommerce-tools.php (modified) (2 diffs)
-
woocommerce/abstracts/abstract-wc-payment-gateway.php (modified) (2 diffs)
-
woocommerce/abstracts/abstract-wc-shipping-method.php (modified) (1 diff)
-
woocommerce/gateways/ecpay/gateway-atm.php (modified) (1 diff)
-
woocommerce/gateways/ecpay/gateway-barcode.php (modified) (2 diffs)
-
woocommerce/gateways/ecpay/gateway-credit-installment.php (modified) (2 diffs)
-
woocommerce/gateways/ecpay/gateway-credit.php (modified) (2 diffs)
-
woocommerce/gateways/ecpay/gateway-cvs.php (modified) (2 diffs)
-
woocommerce/gateways/ecpay/gateway-twqr.php (modified) (2 diffs)
-
woocommerce/gateways/ecpay/gateway-webatm.php (modified) (1 diff)
-
woocommerce/gateways/ecpay/includes/gateway-api.php (modified) (3 diffs)
-
woocommerce/gateways/ecpay/includes/settings/credit.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-atm.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-barcode.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-credit-installment.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-credit.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-cvs.php (modified) (1 diff)
-
woocommerce/gateways/newebpay/gateway-webatm.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-atm.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-barcode.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-credit.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-cvs-711.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-cvs-fami.php (modified) (1 diff)
-
woocommerce/gateways/smilepay/gateway-webatm.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ry-woocommerce-tools/trunk/assets/admin/ry-shipping.asset.php
r3217447 r3386206 1 <?php return array('dependencies' => array('jquery'), 'version' => ' 926e672f2345ae9d04e7');1 <?php return array('dependencies' => array('jquery'), 'version' => '6e7e9297020dbb0105e6'); -
ry-woocommerce-tools/trunk/assets/admin/ry-shipping.js
r3217447 r3386206 1 (()=>{"use strict";var i={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return i.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)i.o(e,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(i,n)=>Object.prototype.hasOwnProperty.call(i,n)};const n=window.jQuery;var e=i.n(n);e()( (function(){e()("#_shipping_cvs_store_ID").length&&e()(".edit_address").on("click",(function(){e()("a.load_customer_shipping").remove(),e()("a.billing-same-as-shipping").remove(),e()("._shipping_company_field").hide(),e()("._shipping_address_1_field").hide(),e()("._shipping_address_2_field").hide(),e()("._shipping_city_field").hide(),e()("._shipping_postcode_field").hide(),e()("._shipping_country_field").hide(),e()("._shipping_state_field").hide()}));let i=e()("#ry-ecpay-shipping-info");if(0==i.length&&(i=e()("#ry-newebpay-shipping-info")),0==i.length&&(i=e()("#ry-smilepay-shipping-info")),i.length){const n=i.find(".inside"),o=function(){n.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})};i.on("click",".ry-delete-shipping-info",(function(){if(window.confirm(RyAdminShippingParams.i18n.delete_shipping_info)){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_delete_shipping_info",id:i.data("id"),orderid:i.data("orderid"),_ajax_nonce:RyAdminShippingParams._nonce.delete}}).done((function(){0==i.closest("table").find("tbody tr").length&&n.find(".button:gt(0)").remove(),i.closest("tr").remove()})).always((function(){n.unblock()}))}})),i.on("click",".ry-ecpay-shipping-info",(function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_ecpay_shipping_info",orderid:i.data("orderid"),temp:i.data("temp"),collection:i.data("collection"),_ajax_nonce:RyAdminShippingParams._nonce.get}}).always((function(){location.reload()}))})),i.on("click",".ry-smilepay-shipping-info",(function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_smilepay_shipping_info",orderid:i.data("orderid"),temp:i.data("temp"),collection:i.data("collection"),_ajax_nonce:RyAdminShippingParams._nonce.get},dataType:"text"}).done((function(i){"https://"==i.substr(0,8)||"http://"==i.substr(0,7)?window.location=i:location.reload()})).always((function(){n.unblock()}))})),i.on("click",".ry-smilepay-shipping-no",(function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_smilepay_shipping_no",id:i.data("id"),orderid:i.data("orderid"),_ajax_nonce:RyAdminShippingParams._nonce.smilepay}}).always((function(){location.reload()}))}))}e()(document).on("change",".ry-shipping-cost_requires",(function(){const i=e()(this).closest("form");if(i.length){const n=i.find(".ry-shipping-min_amount");switch(e()(this).val()){case"min_amount":case"min_amount_or_coupon":case"min_amount_and_coupon":case"min_amount_except_discount":case"min_amount_except_discount_or_coupon":case"min_amount_except_discount_and_coupon":0==n.closest("tr").length?(n.closest("fieldset").show(),i.find('label[for="'+n.attr("id")+'"]').show()):n.closest("tr").show();break;default:0==n.closest("tr").length?(n.closest("fieldset").hide(),i.find('label[for="'+n.attr("id")+'"]').hide()):n.closest("tr").hide()}}})),e()(".ry-shipping-cost_requires").trigger("change"),e()(document).on("wc_backbone_modal_loaded",(function(i,n){if("wc-modal-shipping-method-settings"===n){const i=e()("#wc-backbone-modal-dialog .ry-shipping-cost_requires");i.length&&i.trigger("change")}}))}))})();1 (()=>{"use strict";var i={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return i.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)i.o(e,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(i,n)=>Object.prototype.hasOwnProperty.call(i,n)};const n=window.jQuery;var e=i.n(n);e()(function(){e()("#_shipping_cvs_store_ID").length&&e()(".edit_address").on("click",function(){e()("a.load_customer_shipping").remove(),e()("a.billing-same-as-shipping").remove(),e()("._shipping_company_field").hide(),e()("._shipping_address_1_field").hide(),e()("._shipping_address_2_field").hide(),e()("._shipping_city_field").hide(),e()("._shipping_postcode_field").hide(),e()("._shipping_country_field").hide(),e()("._shipping_state_field").hide()});let i=e()("#ry-ecpay-shipping-info");if(0==i.length&&(i=e()("#ry-newebpay-shipping-info")),0==i.length&&(i=e()("#ry-smilepay-shipping-info")),i.length){const n=i.find(".inside"),o=function(){n.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})};i.on("click",".ry-delete-shipping-info",function(){if(window.confirm(RyAdminShippingParams.i18n.delete_shipping_info)){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_delete_shipping_info",id:i.data("id"),orderid:i.data("orderid"),_ajax_nonce:RyAdminShippingParams._nonce.delete}}).done(function(){0==i.closest("table").find("tbody tr").length&&n.find(".button:gt(0)").remove(),i.closest("tr").remove()}).always(function(){n.unblock()})}}),i.on("click",".ry-ecpay-shipping-info",function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_ecpay_shipping_info",orderid:i.data("orderid"),temp:i.data("temp"),collection:i.data("collection"),_ajax_nonce:RyAdminShippingParams._nonce.get}}).always(function(){location.reload()})}),i.on("click",".ry-smilepay-shipping-info",function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_smilepay_shipping_info",orderid:i.data("orderid"),temp:i.data("temp"),collection:i.data("collection"),_ajax_nonce:RyAdminShippingParams._nonce.get},dataType:"text"}).done(function(i){"https://"==i.substr(0,8)||"http://"==i.substr(0,7)?window.location=i:location.reload()}).always(function(){n.unblock()})}),i.on("click",".ry-smilepay-shipping-no",function(){const i=e()(this);o(),e().ajax({url:ajaxurl,method:"POST",data:{action:"RY_smilepay_shipping_no",id:i.data("id"),orderid:i.data("orderid"),_ajax_nonce:RyAdminShippingParams._nonce.smilepay}}).always(function(){location.reload()})})}e()(document).on("change",".ry-shipping-cost_requires",function(){const i=e()(this).closest("form");if(i.length){const n=i.find(".ry-shipping-min_amount");switch(e()(this).val()){case"min_amount":case"min_amount_or_coupon":case"min_amount_and_coupon":case"min_amount_except_discount":case"min_amount_except_discount_or_coupon":case"min_amount_except_discount_and_coupon":0==n.closest("tr").length?(n.closest("fieldset").show(),i.find('label[for="'+n.attr("id")+'"]').show()):n.closest("tr").show();break;default:0==n.closest("tr").length?(n.closest("fieldset").hide(),i.find('label[for="'+n.attr("id")+'"]').hide()):n.closest("tr").hide()}}}),e()(".ry-shipping-cost_requires").trigger("change"),e()(document).on("wc_backbone_modal_loaded",function(i,n){if("wc-modal-shipping-method-settings"===n){const i=e()("#wc-backbone-modal-dialog .ry-shipping-cost_requires");i.length&&i.trigger("change")}})})})(); -
ry-woocommerce-tools/trunk/assets/ry-checkout.asset.php
r3217447 r3386206 1 <?php return array('dependencies' => array('jquery'), 'version' => ' 384147b42203c1768d43');1 <?php return array('dependencies' => array('jquery'), 'version' => 'd12f145791277cb10bb0'); -
ry-woocommerce-tools/trunk/assets/ry-checkout.js
r3217447 r3386206 1 (()=>{"use strict";var e={n:o=>{var c=o&&o.__esModule?()=>o.default:()=>o;return e.d(c,{a:c}),c},d:(o,c)=>{for(var i in c)e.o(c,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:c[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.jQuery;var c=e.n(o);let i;c()( (function(){const e=function(e){"undefined"!=typeof RyCheckoutParams&&(c()(".woocommerce-checkout #shipping_phone_field label .required").remove(),c()(".woocommerce-checkout #shipping_phone_field label .optional").remove(),e?(c()(".woocommerce-checkout #shipping_phone_field").addClass(["validate-required"]),c()(".woocommerce-checkout #shipping_phone_field label").append(RyCheckoutParams.i18n.required)):(c()(".woocommerce-checkout #shipping_phone_field").removeClass(["validate-required"]),c()(".woocommerce-checkout #shipping_phone_field label").append(RyCheckoutParams.i18n.optional)),c()(".woocommerce-checkout #shipping_phone").trigger("change"))};c()(document.body).on("updated_checkout",(function(o,t){if(void 0!==t&&(i=void 0,c()(".woocommerce-checkout .ry-cvs-hide").show(),c()(".woocommerce-checkout .ry-ecpay-cvs-hide").show(),c()(".woocommerce-checkout .ry-newebpay-cvs-hide").show(),c()(".woocommerce-checkout .ry-smilepay-cvs-hide").show(),void 0!==t.fragments.ry_shipping_info?(!0===t.fragments.ry_shipping_info.ecpay_cvs&&(e(!0),i=t.fragments.ry_shipping_info.postData,c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-ecpay-cvs-hide").hide(),c()(".ry-cvs-store-info").hide(),""!=c()("input#RY_CVSStoreID").val()&&(c()(".ry-cvs-store-info").show(),c()(".ry-cvs-store-info > span").hide(),""!=c()("input#RY_CVSStoreName").val()&&c()(".ry-cvs-store-info .store-name").text(c()("input#RY_CVSStoreName").val()).parent().show(),""!=c()("input#RY_CVSAddress").val()&&c()(".ry-cvs-store-info .store-address").text(c()("input#RY_CVSAddress").val()).parent().show(),""!=c()("input#RY_CVSTelephone").val()&&c()(".ry-cvs-store-info .store-telephone").text(c()("input#RY_CVSTelephone").val()).parent().show())),!0===t.fragments.ry_shipping_info.ecpay_home&&e(!0),!0===t.fragments.ry_shipping_info.newebpay_cvs&&(e(!1),c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-newebpay-cvs-hide").hide()),!0===t.fragments.ry_shipping_info.smilepay_cvs&&(e(!0),c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-smilepay-cvs-hide").hide()),!0===t.fragments.ry_shipping_info.smilepay_home&&e(!0)):e(!1)),null!==window.sessionStorage.getItem("RyTempCheckout")){let e=JSON.parse(window.sessionStorage.getItem("RyTempCheckout"));for(const o in e){let c=jQuery('[name="'+e[o].name+'"]');switch(c.prop("tagName")){case"INPUT":if("checkbox"==c.attr("type")){!1===c.prop("checked")&&c.trigger("click");break}if("radio"==c.attr("type")){c=jQuery('[name="'+e[o].name+'"][value="'+e[o].value+'"]'),!1===c.prop("checked")&&c.trigger("click");break}case"TEXTAREA":case"SELECT":const i=c.val();c.val(e[o].value),i!=e[o].value&&c.trigger("change")}}window.sessionStorage.removeItem("RyTempCheckout")}})),c()(".woocommerce-checkout").on("click",".ry-choose-cvs",(function(){let e=c()("form.checkout").serializeArray();e=e.filter((function(e){return"_"!=e.name.substring(0,1)&&"RY_"!=e.name.substring(0,3)&&-1===["terms"].indexOf(e.name)})),window.sessionStorage.setItem("RyTempCheckout",JSON.stringify(e));let o='<form id="RyECPayChooseCvs" action="'+c()(this).data("ry-url")+'" method="post">';for(const e in i)o+='<input type="hidden" name="'+e+'" value="'+i[e]+'">';window.innerWidth<1024&&(o+='<input type="hidden" name="Device" value="1">'),o+="</form>",document.body.innerHTML+=o,document.getElementById("RyECPayChooseCvs").submit()}))}))})();1 (()=>{"use strict";var e={n:o=>{var c=o&&o.__esModule?()=>o.default:()=>o;return e.d(c,{a:c}),c},d:(o,c)=>{for(var i in c)e.o(c,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:c[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.jQuery;var c=e.n(o);let i;c()(function(){const e=function(e){"undefined"!=typeof RyCheckoutParams&&(c()(".woocommerce-checkout #shipping_phone_field label .required").remove(),c()(".woocommerce-checkout #shipping_phone_field label .optional").remove(),e?(c()(".woocommerce-checkout #shipping_phone_field").addClass(["validate-required"]),c()(".woocommerce-checkout #shipping_phone_field label").append(RyCheckoutParams.i18n.required)):(c()(".woocommerce-checkout #shipping_phone_field").removeClass(["validate-required"]),c()(".woocommerce-checkout #shipping_phone_field label").append(RyCheckoutParams.i18n.optional)),c()(".woocommerce-checkout #shipping_phone").trigger("change"))};c()(document.body).on("updated_checkout",function(o,t){if(void 0!==t&&(i=void 0,c()(".woocommerce-checkout .ry-cvs-hide").show(),c()(".woocommerce-checkout .ry-ecpay-cvs-hide").show(),c()(".woocommerce-checkout .ry-newebpay-cvs-hide").show(),c()(".woocommerce-checkout .ry-smilepay-cvs-hide").show(),void 0!==t.fragments.ry_shipping_info?(!0===t.fragments.ry_shipping_info.ecpay_cvs&&(e(!0),i=t.fragments.ry_shipping_info.postData,c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-ecpay-cvs-hide").hide(),c()(".ry-cvs-store-info").hide(),""!=c()("input#RY_CVSStoreID").val()&&(c()(".ry-cvs-store-info").show(),c()(".ry-cvs-store-info > span").hide(),""!=c()("input#RY_CVSStoreName").val()&&c()(".ry-cvs-store-info .store-name").text(c()("input#RY_CVSStoreName").val()).parent().show(),""!=c()("input#RY_CVSAddress").val()&&c()(".ry-cvs-store-info .store-address").text(c()("input#RY_CVSAddress").val()).parent().show(),""!=c()("input#RY_CVSTelephone").val()&&c()(".ry-cvs-store-info .store-telephone").text(c()("input#RY_CVSTelephone").val()).parent().show())),!0===t.fragments.ry_shipping_info.ecpay_home&&e(!0),!0===t.fragments.ry_shipping_info.newebpay_cvs&&(e(!1),c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-newebpay-cvs-hide").hide()),!0===t.fragments.ry_shipping_info.smilepay_cvs&&(e(!0),c()(".woocommerce-checkout .ry-cvs-hide").hide(),c()(".woocommerce-checkout .ry-smilepay-cvs-hide").hide()),!0===t.fragments.ry_shipping_info.smilepay_home&&e(!0)):e(!1)),null!==window.sessionStorage.getItem("RyTempCheckout")){let e=JSON.parse(window.sessionStorage.getItem("RyTempCheckout"));for(const o in e){let c=jQuery('[name="'+e[o].name+'"]');switch(c.prop("tagName")){case"INPUT":if("checkbox"==c.attr("type")){!1===c.prop("checked")&&c.trigger("click");break}if("radio"==c.attr("type")){c=jQuery('[name="'+e[o].name+'"][value="'+e[o].value+'"]'),!1===c.prop("checked")&&c.trigger("click");break}case"TEXTAREA":case"SELECT":const i=c.val();c.val(e[o].value),i!=e[o].value&&c.trigger("change")}}window.sessionStorage.removeItem("RyTempCheckout")}}),c()(".woocommerce-checkout").on("click",".ry-choose-cvs",function(){let e=c()("form.checkout").serializeArray();e=e.filter(function(e){return"_"!=e.name.substring(0,1)&&"RY_"!=e.name.substring(0,3)&&-1===["terms"].indexOf(e.name)}),window.sessionStorage.setItem("RyTempCheckout",JSON.stringify(e));let o='<form id="RyECPayChooseCvs" action="'+c()(this).data("ry-url")+'" method="post">';for(const e in i)o+='<input type="hidden" name="'+e+'" value="'+i[e]+'">';window.innerWidth<1024&&(o+='<input type="hidden" name="Device" value="1">'),o+="</form>",document.body.innerHTML+=o,document.getElementById("RyECPayChooseCvs").submit()})})})(); -
ry-woocommerce-tools/trunk/includes/cron.php
r3294501 r3386206 3 3 final class RY_WT_Cron 4 4 { 5 public static function add_action() 5 public static function add_action(): void 6 6 { 7 7 add_action('ry_check_ntp_time', [__CLASS__, 'check_ntp_time']); … … 39 39 } 40 40 41 public static function update_3_2_0() 41 public static function update_3_2_0(): void 42 42 { 43 43 $start_time = microtime(true); -
ry-woocommerce-tools/trunk/includes/main.php
r3294501 r3386206 7 7 public const MIN_WC_VERSION = '8.0.0'; 8 8 9 public const MIN_PRO_TOOLS_VERSION = '3. 5.9';9 public const MIN_PRO_TOOLS_VERSION = '3.6.6'; 10 10 11 11 protected static $_instance = null; -
ry-woocommerce-tools/trunk/includes/update.php
r3315774 r3386206 116 116 RY_WT::update_option('version', '3.5.10', true); 117 117 } 118 119 if (version_compare($now_version, '3.5.11', '<')) { 120 RY_WT::update_option('version', '3.5.11', true); 121 } 118 122 } 119 123 } -
ry-woocommerce-tools/trunk/languages/ry-woocommerce-tools.pot
r3301505 r3386206 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: RY Tools for WooCommerce 3.5. 8\n"5 "Project-Id-Version: RY Tools for WooCommerce 3.5.11\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ry-woocommerce-tools\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025- 05-27T20:37:21+08:00\n"12 "POT-Creation-Date: 2025-10-29T14:29:44+08:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: ry-woocommerce-tools\n" 16 16 … … 44 44 #. translators: %1$s: Name of this plugin %2$s: min require version 45 45 #: includes/admin.php:30 46 #, php-format 46 47 msgid "<strong>%1$s</strong> is inactive. It require WooCommerce version %2$s or newer." 47 48 msgstr "" … … 96 97 #: templates/order/order-smilepay-payment-info-cvs-711.php:25 97 98 #: templates/order/order-smilepay-payment-info-cvs-fami.php:25 98 #: woocommerce/abstracts/abstract-wc-payment-gateway.php: 2899 #: woocommerce/abstracts/abstract-wc-payment-gateway.php:35 99 100 msgid "Payment details" 100 101 msgstr "" … … 103 104 #: templates/order/order-newebpay-payment-info-atm.php:31 104 105 #: templates/order/order-smilepay-payment-info-atm.php:31 105 #: woocommerce/gateways/ecpay/gateway-atm.php: 52106 #: woocommerce/gateways/newebpay/gateway-atm.php:4 8107 #: woocommerce/gateways/smilepay/gateway-atm.php: 53106 #: woocommerce/gateways/ecpay/gateway-atm.php:47 107 #: woocommerce/gateways/newebpay/gateway-atm.php:43 108 #: woocommerce/gateways/smilepay/gateway-atm.php:48 108 109 msgid "Bank" 109 110 msgstr "" … … 118 119 #: templates/order/order-newebpay-payment-info-atm.php:47 119 120 #: templates/order/order-smilepay-payment-info-atm.php:47 120 #: woocommerce/gateways/ecpay/gateway-atm.php:5 6121 #: woocommerce/gateways/newebpay/gateway-atm.php: 52122 #: woocommerce/gateways/smilepay/gateway-atm.php:5 7121 #: woocommerce/gateways/ecpay/gateway-atm.php:51 122 #: woocommerce/gateways/newebpay/gateway-atm.php:47 123 #: woocommerce/gateways/smilepay/gateway-atm.php:52 123 124 msgid "ATM Bank account" 124 125 msgstr "" … … 134 135 #: templates/order/order-smilepay-payment-info-cvs-711.php:39 135 136 #: templates/order/order-smilepay-payment-info-cvs-fami.php:39 136 #: woocommerce/gateways/ecpay/gateway-atm.php: 60137 #: woocommerce/gateways/ecpay/gateway-barcode.php: 64138 #: woocommerce/gateways/ecpay/gateway-cvs.php:5 6137 #: woocommerce/gateways/ecpay/gateway-atm.php:55 138 #: woocommerce/gateways/ecpay/gateway-barcode.php:59 139 #: woocommerce/gateways/ecpay/gateway-cvs.php:51 139 140 #: woocommerce/gateways/ecpay/includes/settings/atm.php:6 140 141 #: woocommerce/gateways/ecpay/includes/settings/barcode.php:6 141 #: woocommerce/gateways/newebpay/gateway-atm.php:5 6142 #: woocommerce/gateways/newebpay/gateway-barcode.php: 64143 #: woocommerce/gateways/newebpay/gateway-cvs.php:5 6142 #: woocommerce/gateways/newebpay/gateway-atm.php:51 143 #: woocommerce/gateways/newebpay/gateway-barcode.php:59 144 #: woocommerce/gateways/newebpay/gateway-cvs.php:51 144 145 #: woocommerce/gateways/newebpay/includes/settings/atm.php:6 145 146 #: woocommerce/gateways/newebpay/includes/settings/barcode.php:6 146 147 #: woocommerce/gateways/newebpay/includes/settings/cvs.php:6 147 #: woocommerce/gateways/smilepay/gateway-atm.php: 61148 #: woocommerce/gateways/smilepay/gateway-barcode.php:6 5149 #: woocommerce/gateways/smilepay/gateway-cvs-711.php:5 7150 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php:5 7148 #: woocommerce/gateways/smilepay/gateway-atm.php:56 149 #: woocommerce/gateways/smilepay/gateway-barcode.php:60 150 #: woocommerce/gateways/smilepay/gateway-cvs-711.php:52 151 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php:52 151 152 #: woocommerce/gateways/smilepay/includes/settings/atm.php:6 152 153 #: woocommerce/gateways/smilepay/includes/settings/barcode.php:6 … … 157 158 #: templates/order/order-newebpay-payment-info-barcode.php:31 158 159 #: templates/order/order-smilepay-payment-info-barcode.php:31 159 #: woocommerce/gateways/ecpay/gateway-barcode.php: 52160 #: woocommerce/gateways/newebpay/gateway-barcode.php: 52161 #: woocommerce/gateways/smilepay/gateway-barcode.php: 53160 #: woocommerce/gateways/ecpay/gateway-barcode.php:47 161 #: woocommerce/gateways/newebpay/gateway-barcode.php:47 162 #: woocommerce/gateways/smilepay/gateway-barcode.php:48 162 163 msgid "Barcode 1" 163 164 msgstr "" … … 166 167 #: templates/order/order-newebpay-payment-info-barcode.php:39 167 168 #: templates/order/order-smilepay-payment-info-barcode.php:39 168 #: woocommerce/gateways/ecpay/gateway-barcode.php:5 6169 #: woocommerce/gateways/newebpay/gateway-barcode.php:5 6170 #: woocommerce/gateways/smilepay/gateway-barcode.php:5 7169 #: woocommerce/gateways/ecpay/gateway-barcode.php:51 170 #: woocommerce/gateways/newebpay/gateway-barcode.php:51 171 #: woocommerce/gateways/smilepay/gateway-barcode.php:52 171 172 msgid "Barcode 2" 172 173 msgstr "" … … 175 176 #: templates/order/order-newebpay-payment-info-barcode.php:47 176 177 #: templates/order/order-smilepay-payment-info-barcode.php:47 177 #: woocommerce/gateways/ecpay/gateway-barcode.php: 60178 #: woocommerce/gateways/newebpay/gateway-barcode.php: 60179 #: woocommerce/gateways/smilepay/gateway-barcode.php: 61178 #: woocommerce/gateways/ecpay/gateway-barcode.php:55 179 #: woocommerce/gateways/newebpay/gateway-barcode.php:55 180 #: woocommerce/gateways/smilepay/gateway-barcode.php:56 180 181 msgid "Barcode 3" 181 182 msgstr "" … … 188 189 #: woocommerce/shipping/info-list-table.php:120 189 190 #: woocommerce/shipping/info-list-table.php:130 191 #, php-format 190 192 msgctxt "Datetime" 191 193 msgid "%1$s %2$s" … … 200 202 #: templates/order/order-smilepay-payment-info-cvs-711.php:31 201 203 #: templates/order/order-smilepay-payment-info-cvs-fami.php:31 202 #: woocommerce/gateways/ecpay/gateway-cvs.php: 52203 #: woocommerce/gateways/newebpay/gateway-cvs.php: 52204 #: woocommerce/gateways/smilepay/gateway-cvs-711.php: 53205 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php: 53204 #: woocommerce/gateways/ecpay/gateway-cvs.php:47 205 #: woocommerce/gateways/newebpay/gateway-cvs.php:47 206 #: woocommerce/gateways/smilepay/gateway-cvs-711.php:48 207 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php:48 206 208 msgid "CVS code" 207 209 msgstr "" … … 217 219 218 220 #. translators: %1$s: Gateway method title, %2$d normal minimum 219 #: woocommerce/abstracts/abstract-wc-payment-gateway.php:72 221 #: woocommerce/abstracts/abstract-wc-payment-gateway.php:79 222 #, php-format 220 223 msgid "%1$s minimum amount less then normal minimum (%2$d)." 221 224 msgstr "" 222 225 223 226 #. translators: %1$s: Gateway method title, %2$d normal maximum 224 #: woocommerce/abstracts/abstract-wc-payment-gateway.php:87 227 #: woocommerce/abstracts/abstract-wc-payment-gateway.php:94 228 #, php-format 225 229 msgid "%1$s maximum amount more then normal maximum (%2$d)." 226 230 msgstr "" … … 245 249 #. translators: %1$s server time, %2$d: differ time (second) 246 250 #: woocommerce/admin/settings/html/tools.php:9 251 #, php-format 247 252 msgid "Server time (%1$s) and Google Public NTP differ is %2$d second" 248 253 msgid_plural "Server time (%1$s) and Google Public NTP differ is %2$d seconds" … … 314 319 #: woocommerce/gateways/newebpay/includes/admin.php:41 315 320 #: woocommerce/gateways/smilepay/includes/admin.php:40 321 #, php-format 316 322 msgid "Need %s to support block checkout." 317 323 msgstr "" … … 932 938 msgstr "" 933 939 934 #: woocommerce/gateways/ecpay/gateway-atm.php: 40935 #: woocommerce/gateways/ecpay/gateway-barcode.php: 40936 #: woocommerce/gateways/ecpay/gateway-cvs.php: 40937 #: woocommerce/gateways/newebpay/gateway-atm.php:3 6938 #: woocommerce/gateways/newebpay/gateway-barcode.php: 40939 #: woocommerce/gateways/newebpay/gateway-cvs.php: 40940 #: woocommerce/gateways/smilepay/gateway-atm.php: 41941 #: woocommerce/gateways/smilepay/gateway-barcode.php: 41942 #: woocommerce/gateways/smilepay/gateway-cvs-711.php: 41943 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php: 41940 #: woocommerce/gateways/ecpay/gateway-atm.php:35 941 #: woocommerce/gateways/ecpay/gateway-barcode.php:35 942 #: woocommerce/gateways/ecpay/gateway-cvs.php:35 943 #: woocommerce/gateways/newebpay/gateway-atm.php:31 944 #: woocommerce/gateways/newebpay/gateway-barcode.php:35 945 #: woocommerce/gateways/newebpay/gateway-cvs.php:35 946 #: woocommerce/gateways/smilepay/gateway-atm.php:36 947 #: woocommerce/gateways/smilepay/gateway-barcode.php:36 948 #: woocommerce/gateways/smilepay/gateway-cvs-711.php:36 949 #: woocommerce/gateways/smilepay/gateway-cvs-fami.php:36 944 950 msgid "Payment expire date out of range. Set as default value." 945 951 msgstr "" … … 972 978 msgstr "" 973 979 974 #: woocommerce/gateways/ecpay/gateway-credit-installment.php: 60975 #: woocommerce/gateways/newebpay/gateway-credit-installment.php:5 5980 #: woocommerce/gateways/ecpay/gateway-credit-installment.php:55 981 #: woocommerce/gateways/newebpay/gateway-credit-installment.php:50 976 982 msgctxt "Checkout info" 977 983 msgid "Number of periods" 978 984 msgstr "" 979 985 980 #: woocommerce/gateways/ecpay/gateway-credit.php:1 5986 #: woocommerce/gateways/ecpay/gateway-credit.php:17 981 987 #: woocommerce/gateways/newebpay/gateway-credit.php:11 982 988 #: woocommerce/gateways/smilepay/gateway-credit.php:11 … … 984 990 msgstr "" 985 991 986 #: woocommerce/gateways/ecpay/gateway-credit.php:16987 msgid "ECPay Credit"988 msgstr ""989 990 992 #: woocommerce/gateways/ecpay/gateway-credit.php:18 993 msgid "ECPay Credit ( include \"Apple Pay\" )" 994 msgstr "" 995 996 #: woocommerce/gateways/ecpay/gateway-credit.php:20 991 997 msgid "Pay via ECPay Credit" 992 998 msgstr "" … … 1038 1044 #: woocommerce/gateways/ecpay/includes/admin.php:42 1039 1045 #: woocommerce/shipping/ecpay/includes/admin.php:52 1046 #, php-format 1040 1047 msgid "Used MerchantID \"%s\"" 1041 1048 msgstr "" … … 1043 1050 #. translators: %s: link to RY ECPay Invoice for WooCommerce 1044 1051 #: woocommerce/gateways/ecpay/includes/admin.php:58 1052 #, php-format 1045 1053 msgid "If you need ECPay Invoice support, you can try %s" 1046 1054 msgstr "" … … 1054 1062 1055 1063 #. translators: %d number of periods 1056 #: woocommerce/gateways/ecpay/includes/gateway-api.php: 1651064 #: woocommerce/gateways/ecpay/includes/gateway-api.php:274 1057 1065 #: woocommerce/gateways/newebpay/includes/gateway-api.php:187 1066 #, php-format 1058 1067 msgid "Credit installment to %d" 1059 1068 msgstr "" … … 1073 1082 #. translators: %1$s: status message, %2$d status code 1074 1083 #: woocommerce/gateways/ecpay/includes/gateway-response.php:184 1084 #, php-format 1075 1085 msgid "Payment failed: %1$s (%2$d)" 1076 1086 msgstr "" … … 1078 1088 #. translators: %1$s: status message, %2$d status code 1079 1089 #: woocommerce/gateways/ecpay/includes/gateway-response.php:195 1090 #, php-format 1080 1091 msgid "Payment unkonw status: %1$s (%2$d)" 1081 1092 msgstr "" … … 1107 1118 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:19 1108 1119 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:17 1120 #, php-format 1109 1121 msgid "Log API / IPN information, inside %s" 1110 1122 msgstr "" … … 1149 1161 #: woocommerce/gateways/newebpay/includes/settings/admin-settings.php:43 1150 1162 #: woocommerce/gateways/smilepay/includes/settings/admin-settings.php:43 1151 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 721163 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:169 1152 1164 msgid "API credentials" 1153 1165 msgstr "" … … 1164 1176 #: woocommerce/gateways/newebpay/includes/settings/admin-settings.php:53 1165 1177 #: woocommerce/gateways/smilepay/includes/settings/admin-settings.php:53 1178 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:179 1179 msgid "Note: Recommend using this for development purposes only." 1180 msgstr "" 1181 1182 #: woocommerce/gateways/ecpay/includes/settings/admin-settings.php:56 1166 1183 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:182 1167 msgid "Note: Recommend using this for development purposes only."1168 msgstr ""1169 1170 #: woocommerce/gateways/ecpay/includes/settings/admin-settings.php:561171 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1851172 1184 msgctxt "ECPay" 1173 1185 msgid "MerchantID" … … 1175 1187 1176 1188 #: woocommerce/gateways/ecpay/includes/settings/admin-settings.php:62 1177 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 911189 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:188 1178 1190 msgctxt "ECPay" 1179 1191 msgid "HashKey" … … 1181 1193 1182 1194 #: woocommerce/gateways/ecpay/includes/settings/admin-settings.php:68 1183 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:19 71195 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:194 1184 1196 msgctxt "ECPay" 1185 1197 msgid "HashIV" … … 1213 1225 #: woocommerce/gateways/newebpay/includes/settings/credit-installment.php:22 1214 1226 #: woocommerce/gateways/newebpay/includes/settings/credit-installment.php:24 1227 #, php-format 1215 1228 msgid "%d periods" 1216 1229 msgstr "" … … 1222 1235 msgstr "" 1223 1236 1237 #: woocommerce/gateways/ecpay/includes/settings/credit.php:6 1238 msgid "Apple Pay" 1239 msgstr "" 1240 1241 #: woocommerce/gateways/ecpay/includes/settings/credit.php:7 1242 msgid "Support Apple Pay" 1243 msgstr "" 1244 1224 1245 #: woocommerce/gateways/ecpay/includes/settings/cvs.php:6 1225 1246 #: woocommerce/gateways/smilepay/includes/settings/cvs.php:6 … … 1237 1258 #. translators: %s: Gateway method title 1238 1259 #: woocommerce/gateways/global-setting.php:8 1260 #, php-format 1239 1261 msgid "Enable %s" 1240 1262 msgstr "" … … 1329 1351 #. translators: 1: Store name 2: Store ID 1330 1352 #: woocommerce/gateways/newebpay/includes/gateway-response.php:116 1353 #, php-format 1331 1354 msgid "CVS store %1$s (%2$s)" 1332 1355 msgstr "" … … 1334 1357 #. translators: 1: Error status code 2: Error status message 1335 1358 #: woocommerce/gateways/newebpay/includes/gateway-response.php:203 1359 #, php-format 1336 1360 msgid "Payment failed: %1$s (%2$s)" 1337 1361 msgstr "" … … 1438 1462 #. translators: %s: link to RY SmilePay Invoice for WooCommerce 1439 1463 #: woocommerce/gateways/smilepay/includes/admin.php:48 1464 #, php-format 1440 1465 msgid "If you need SmilePay Invoice support, you can try %s" 1441 1466 msgstr "" … … 1443 1468 #. translators: %1$s Error messade, %2$d Error messade ID 1444 1469 #: woocommerce/gateways/smilepay/includes/gateway-api.php:131 1470 #, php-format 1445 1471 msgid "Get Smilepay code error: %1$s (%2$d)" 1446 1472 msgstr "" … … 1448 1474 #. translators: Error status message 1449 1475 #: woocommerce/gateways/smilepay/includes/gateway-response.php:119 1476 #, php-format 1450 1477 msgid "Payment failed (%s)" 1451 1478 msgstr "" … … 1507 1534 #. translators: %s: number of orders 1508 1535 #: woocommerce/shipping.php:77 1536 #, php-format 1509 1537 msgid "Wait pickup (cvs) <span class=\"count\">(%s)</span>" 1510 1538 msgid_plural "Wait pickup (cvs) <span class=\"count\">(%s)</span>" … … 1514 1542 #. translators: %s: number of orders 1515 1543 #: woocommerce/shipping.php:87 1544 #, php-format 1516 1545 msgid "Overdue return (cvs) <span class=\"count\">(%s)</span>" 1517 1546 msgid_plural "Overdue return (cvs) <span class=\"count\">(%s)</span>" … … 1521 1550 #. translators: %s: number of orders 1522 1551 #: woocommerce/shipping.php:97 1552 #, php-format 1523 1553 msgid "Transporting <span class=\"count\">(%s)</span>" 1524 1554 msgid_plural "Transporting <span class=\"count\">(%s)</span>" … … 1634 1664 1635 1665 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:118 1666 msgid "Shipping declare amount mode" 1667 msgstr "" 1668 1669 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:123 1670 msgid "product regular" 1671 msgstr "" 1672 1673 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:124 1674 msgid "payment amount" 1675 msgstr "" 1676 1677 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:126 1678 msgid "Only work with cash on delivery and can set different amount." 1679 msgstr "" 1680 1681 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:130 1636 1682 msgid "Shipping declare amount over 20000" 1637 1683 msgstr "" 1638 1684 1639 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 231685 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:135 1640 1686 msgid "keep amount" 1641 1687 msgstr "" 1642 1688 1643 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 241689 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:136 1644 1690 msgid "limit 2000" 1645 1691 msgstr "" 1646 1692 1647 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:126 1648 msgid "Use product regular price as declare amount." 1649 msgstr "" 1650 1651 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:130 1693 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:140 1652 1694 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:70 1653 1695 msgid "Shipping box size ( Home delivery )" 1654 1696 msgstr "" 1655 1697 1656 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 351698 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:145 1657 1699 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:75 1658 1700 msgctxt "box size" … … 1660 1702 msgstr "" 1661 1703 1662 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 361704 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:146 1663 1705 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:76 1664 1706 msgctxt "box size" … … 1666 1708 msgstr "" 1667 1709 1668 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 371710 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:147 1669 1711 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:77 1670 1712 msgctxt "box size" … … 1672 1714 msgstr "" 1673 1715 1674 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 381716 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:148 1675 1717 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:78 1676 1718 msgctxt "box size" … … 1678 1720 msgstr "" 1679 1721 1680 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 391722 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:149 1681 1723 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:79 1682 1724 msgctxt "box size" … … 1684 1726 msgstr "" 1685 1727 1686 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 411728 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:151 1687 1729 #: woocommerce/shipping/smilepay/includes/settings/admin-settings.php:81 1688 1730 msgid "By product is set box size to the biggest product size." … … 1690 1732 1691 1733 #. translators: %s: Weight unit 1692 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:147 1734 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:157 1735 #, php-format 1693 1736 msgid "Product default weight (%s) ( Home delivery )" 1694 1737 msgstr "" 1695 1738 1696 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:17 71739 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:174 1697 1740 msgid "ECPay shipping sandbox" 1698 1741 msgstr "" 1699 1742 1700 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:1 811743 #: woocommerce/shipping/ecpay/includes/settings/admin-settings.php:178 1701 1744 msgid "Enable ECPay shipping sandbox" 1702 1745 msgstr "" 1703 1746 1704 1747 #. translators: %s Error messade 1705 #: woocommerce/shipping/ecpay/includes/shipping-api.php:220 1748 #: woocommerce/shipping/ecpay/includes/shipping-api.php:222 1749 #, php-format 1706 1750 msgid "Get shipping code error: %s" 1707 1751 msgstr "" … … 1770 1814 #. translators: 1: ECPay ID 2: Old status mag 3: Old status no 4: New status mag 5: New status no 1771 1815 #: woocommerce/shipping/ecpay/includes/shipping-response.php:150 1816 #, php-format 1772 1817 msgid "%1$s shipping status from %2$s(%3$d) to %4$s(%5$d)" 1773 1818 msgstr "" … … 1797 1842 msgstr "" 1798 1843 1799 #: woocommerce/shipping/ecpay/shipping.php:26 81800 #: woocommerce/shipping/ecpay/shipping.php:27 01844 #: woocommerce/shipping/ecpay/shipping.php:269 1845 #: woocommerce/shipping/ecpay/shipping.php:271 1801 1846 msgid "No convenience store has been chosen." 1802 1847 msgstr "" … … 1849 1894 #. translators: %s WooCommerce weight unit 1850 1895 #: woocommerce/shipping/global-setting.php:55 1896 #, php-format 1851 1897 msgid "Every weight (%s) to plus times of cost" 1852 1898 msgstr "" … … 1862 1908 #. translators: %s: shipping class setting url 1863 1909 #: woocommerce/shipping/global-setting.php:75 1910 #, php-format 1864 1911 msgid "These shipping available based on the <a href=\"%s\">product shipping class</a>." 1865 1912 msgstr "" … … 1867 1914 #. translators: %s: shipping class name 1868 1915 #: woocommerce/shipping/global-setting.php:86 1916 #, php-format 1869 1917 msgid "\"%s\" available" 1870 1918 msgstr "" … … 2021 2069 #. translators: %1$s Error messade, %2$d Error messade ID 2022 2070 #: woocommerce/shipping/smilepay/includes/shipping-api.php:254 2071 #, php-format 2023 2072 msgid "Get Smilepay no error: %1$s (%2$d)" 2024 2073 msgstr "" … … 2026 2075 #. translators: %1$s Error messade, %2$d Error messade ID 2027 2076 #: woocommerce/shipping/smilepay/includes/shipping-api.php:400 2077 #, php-format 2028 2078 msgid "Get Smilepay info no error: %1$s (%2$d)" 2029 2079 msgstr "" … … 2040 2090 #. translators: 1: ECPay ID 2: Old status no 3: New status no 2041 2091 #: woocommerce/shipping/smilepay/includes/shipping-response.php:169 2092 #, php-format 2042 2093 msgid "%1$s shipping status from %2$s to %3$s" 2043 2094 msgstr "" -
ry-woocommerce-tools/trunk/ry-woocommerce-tools.php
r3315774 r3386206 5 5 * Plugin URI: https://ry-plugin.com/ry-woocommerce-tools 6 6 * Description: WooCommerce paymet and shipping tools 7 * Version: 3.5.1 07 * Version: 3.5.11 8 8 * Requires at least: 6.6 9 9 * Requires PHP: 8.0 … … 22 22 function_exists('plugin_dir_url') or exit('No direct script access allowed'); 23 23 24 define('RY_WT_VERSION', '3.5.1 0');24 define('RY_WT_VERSION', '3.5.11'); 25 25 define('RY_WT_PLUGIN_URL', plugin_dir_url(__FILE__)); 26 26 define('RY_WT_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
ry-woocommerce-tools/trunk/woocommerce/abstracts/abstract-wc-payment-gateway.php
r3294501 r3386206 13 13 public function __construct() 14 14 { 15 $this->init_settings(); 16 17 $this->title = $this->settings['title'] ?: $this->method_title; 18 $this->description = $this->settings['description']; 19 $this->min_amount = (int) $this->settings['min_amount']; 20 $this->max_amount = (int) $this->settings['max_amount']; 21 15 22 add_action('woocommerce_admin_order_data_after_billing_address', [$this, 'admin_payment_info']); 16 23 } … … 49 56 $total = $this->get_order_total(); 50 57 if (0 < $total) { 51 if ($this->min_amount > 0 && $total < $this->min_amount) {58 if ($this->min_amount > 0 && $total <= $this->min_amount) { 52 59 $is_available = false; 53 60 } 54 if ($this->max_amount > 0 && $total > $this->max_amount) {61 if ($this->max_amount > 0 && $total >= $this->max_amount) { 55 62 $is_available = false; 56 63 } -
ry-woocommerce-tools/trunk/woocommerce/abstracts/abstract-wc-shipping-method.php
r3301505 r3386206 19 19 $this->init_settings(); 20 20 21 $this->title = $this-> get_option('title');22 $this->tax_status = $this-> get_option('tax_status');23 $this->cost = $this-> get_option('cost');24 $this->cost_requires = $this-> get_option('cost_requires');25 $this->min_amount = $this-> get_option('min_amount', 0);26 $this->weight_plus_cost = $this-> get_option('weight_plus_cost', 0);21 $this->title = $this->settings['title'] ?: $this->method_title; 22 $this->tax_status = $this->settings['tax_status']; 23 $this->cost = $this->settings['cost']; 24 $this->cost_requires = $this->settings['cost_requires']; 25 $this->min_amount = $this->settings['min_amount']; 26 $this->weight_plus_cost = $this->settings['weight_plus_cost'] ?: 0; 27 27 28 28 if (!wc_tax_enabled()) { -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-atm.php
r3294501 r3386206 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/atm.php'; 21 $this->init_settings();22 21 23 $this->title = $this->get_option('title') ?: $this->method_title; 24 $this->description = $this->get_option('description'); 25 $this->expire_date = (int) $this->get_option('expire_date', 3); 26 $this->min_amount = (int) $this->get_option('min_amount', 0); 27 $this->max_amount = (int) $this->get_option('max_amount', 0); 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 3); 28 25 29 26 add_filter('ry_admin_payment_info-ry_ecpay_atm', [$this, 'show_payment_info'], 10, 2); 30 31 parent::__construct();32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-barcode.php
r3294501 r3386206 5 5 public const Payment_Type = 'BARCODE'; 6 6 7 protected $check_min_amount = 1 7;7 protected $check_min_amount = 16; 8 8 9 9 protected $check_max_amount = 20000; … … 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/barcode.php'; 21 $this->init_settings();22 21 23 $this->title = $this->get_option('title') ?: $this->method_title; 24 $this->description = $this->get_option('description'); 25 $this->expire_date = (int) $this->get_option('expire_date', 7); 26 $this->min_amount = (int) $this->get_option('min_amount', 0); 27 $this->max_amount = (int) $this->get_option('max_amount', 0); 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 28 25 29 26 add_filter('ry_admin_payment_info-ry_ecpay_barcode', [$this, 'show_payment_info'], 10, 2); 30 31 parent::__construct();32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-credit-installment.php
r3294501 r3386206 7 7 public $number_of_periods = []; 8 8 9 protected $check_min_amount = 5;9 protected $check_min_amount = 6; 10 10 11 protected $check_max_amount = 200000;11 protected $check_max_amount = 199999; 12 12 13 13 public function __construct() … … 21 21 22 22 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/credit-installment.php'; 23 $this->init_settings();24 25 $this->title = $this->get_option('title') ?: $this->method_title;26 $this->description = $this->get_option('description');27 $this->min_amount = (int) $this->get_option('min_amount', 0);28 $this->max_amount = (int) $this->get_option('max_amount', 0);29 $this->number_of_periods = $this->get_option('number_of_periods', []);30 23 31 24 parent::__construct(); 25 26 $this->number_of_periods = $this->settings['number_of_periods'] ?: []; 32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-credit.php
r3145248 r3386206 5 5 public const Payment_Type = 'Credit'; 6 6 7 p rotected $check_min_amount = 5;7 public $support_applepay = 'yes'; 8 8 9 protected $check_max_amount = 200000; 9 protected $check_min_amount = 6; 10 11 protected $check_max_amount = 199999; 10 12 11 13 public function __construct() … … 14 16 $this->has_fields = false; 15 17 $this->order_button_text = __('Pay via Credit', 'ry-woocommerce-tools'); 16 $this->method_title = __('ECPay Credit ', 'ry-woocommerce-tools');18 $this->method_title = __('ECPay Credit ( include "Apple Pay" )', 'ry-woocommerce-tools'); 17 19 $this->method_description = ''; 18 20 $this->process_payment_note = __('Pay via ECPay Credit', 'ry-woocommerce-tools'); 19 21 20 22 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/credit.php'; 21 $this->init_settings();22 23 $this->title = $this->get_option('title') ?: $this->method_title;24 $this->description = $this->get_option('description');25 $this->min_amount = (int) $this->get_option('min_amount', 0);26 $this->max_amount = (int) $this->get_option('max_amount', 0);27 23 28 24 parent::__construct(); 25 26 $this->support_applepay = ! empty($this->settings['applepay']) && 'no' === $this->settings['applepay'] ? 'no' : 'yes'; 29 27 } 30 28 } -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-cvs.php
r3294501 r3386206 5 5 public const Payment_Type = 'CVS'; 6 6 7 protected $check_min_amount = 3 3;7 protected $check_min_amount = 31; 8 8 9 9 protected $check_max_amount = 6000; … … 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/cvs.php'; 21 $this->init_settings();22 21 23 $this->title = $this->get_option('title') ?: $this->method_title; 24 $this->description = $this->get_option('description'); 25 $this->expire_date = (int) $this->get_option('expire_date', 10080); 26 $this->min_amount = (int) $this->get_option('min_amount', 0); 27 $this->max_amount = (int) $this->get_option('max_amount', 0); 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 10080); 28 25 29 26 add_filter('ry_admin_payment_info-ry_ecpay_cvs', [$this, 'show_payment_info'], 10, 2); 30 31 parent::__construct();32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-twqr.php
r3145248 r3386206 7 7 protected $check_min_amount = 6; 8 8 9 protected $check_max_amount = 300000;9 protected $check_max_amount = 49999; 10 10 11 11 public function __construct() … … 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/twqr.php'; 21 $this->init_settings();22 23 $this->title = $this->get_option('title') ?: $this->method_title;24 $this->description = $this->get_option('description');25 $this->min_amount = (int) $this->get_option('min_amount', 0);26 $this->max_amount = (int) $this->get_option('max_amount', 0);27 21 28 22 parent::__construct(); -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/gateway-webatm.php
r3145248 r3386206 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/ecpay/includes/settings/webatm.php'; 21 $this->init_settings();22 23 $this->title = $this->get_option('title') ?: $this->method_title;24 $this->description = $this->get_option('description');25 $this->min_amount = (int) $this->get_option('min_amount', 0);26 $this->max_amount = (int) $this->get_option('max_amount', 0);27 21 28 22 parent::__construct(); -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/includes/gateway-api.php
r3264259 r3386206 8 8 'checkout' => 'https://payment-stage.ecpay.com.tw/Cashier/AioCheckOut/V5', 9 9 'query' => 'https://payment-stage.ecpay.com.tw/Cashier/QueryTradeInfo/V5', 10 'credit-query' => 'https://ecpayment-stage.ecpay.com.tw/1.0.0/CreditDetail/QueryTrade', 11 'credit-action' => 'https://payment-stage.ecpay.com.tw/CreditDetail/DoAction', 10 12 ]; 11 13 … … 13 15 'checkout' => 'https://payment.ecpay.com.tw/Cashier/AioCheckOut/V5', 14 16 'query' => 'https://payment.ecpay.com.tw/Cashier/QueryTradeInfo/V5', 17 'credit-query' => 'https://ecpayment.ecpay.com.tw/1.0.0/CreditDetail/QueryTrade', 18 'credit-action' => 'https://payment.ecpay.com.tw/CreditDetail/DoAction', 15 19 ]; 16 20 … … 146 150 } 147 151 152 public function get_credit_info($order) 153 { 154 list($MerchantID, $HashKey, $HashIV) = RY_WT_WC_ECPay_Gateway::instance()->get_api_info(); 155 156 $args = [ 157 'MerchantID' => $MerchantID, 158 'RqHeader' => [ 159 'Timestamp' => new DateTime('', new DateTimeZone('Asia/Taipei')), 160 ], 161 'Data' => wp_json_encode([ 162 'MerchantID' => $MerchantID, 163 'MerchantTradeNo' => $order->get_meta('_ecpay_MerchantTradeNo', true), 164 ]), 165 ]; 166 $args['RqHeader']['Timestamp'] = $args['RqHeader']['Timestamp']->getTimestamp(); 167 168 if (RY_WT_WC_ECPay_Gateway::instance()->is_testmode()) { 169 $url = $this->api_test_url['credit-query']; 170 } else { 171 $url = $this->api_url['credit-query']; 172 } 173 174 $response = $this->link_v2_server($url, $args, $HashKey, $HashIV); 175 if (is_wp_error($response)) { 176 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query failed', WC_Log_Levels::ERROR, ['data' => $args, 'info' => $response->get_error_messages()]); 177 return; 178 } 179 180 if (wp_remote_retrieve_response_code($response) != '200') { 181 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query HTTP status error', WC_Log_Levels::ERROR, ['data' => $args, 'code' => wp_remote_retrieve_response_code($response)]); 182 return; 183 } 184 185 $body = wp_remote_retrieve_body($response); 186 $result = json_decode($body); 187 if (!is_object($result)) { 188 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query result parse failed', WC_Log_Levels::WARNING, ['data' => $args, 'result' => wp_remote_retrieve_body($response)]); 189 return; 190 } 191 192 if (!(isset($result->TransCode) && 1 == $result->TransCode)) { 193 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query result error', WC_Log_Levels::ERROR, ['code' => $result->TransCode, 'msg' => $result->TransMsg]); 194 return; 195 } 196 197 $result->Data = openssl_decrypt($result->Data, self::Encrypt_Method, $HashKey, 0, $HashIV); 198 $result->Data = json_decode(urldecode($result->Data), true); 199 200 if (!is_array($result->Data)) { 201 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query data decrypt failed', WC_Log_Levels::ERROR, ['data' => $result->Data]); 202 return; 203 } 204 205 RY_WT_WC_ECPay_Gateway::instance()->log('Credit query data', WC_Log_Levels::INFO, ['data' => $result->Data]); 206 207 return $result->Data; 208 } 209 210 public function credit_action($order, $action, $amount) 211 { 212 $amount = (int) $amount; 213 214 list($MerchantID, $HashKey, $HashIV) = RY_WT_WC_ECPay_Gateway::instance()->get_api_info(); 215 216 $args = [ 217 'MerchantID' => $MerchantID, 218 'MerchantTradeNo' => $order->get_meta('_ecpay_MerchantTradeNo', true), 219 'TradeNo' => $order->get_transaction_id(), 220 'Action' => $action, 221 'TotalAmount' => $amount, 222 ]; 223 224 if (RY_WT_WC_ECPay_Gateway::instance()->is_testmode()) { 225 $url = $this->api_test_url['credit-action']; 226 } else { 227 $url = $this->api_url['credit-action']; 228 } 229 $args = $this->add_check_value($args, $HashKey, $HashIV, 'sha256'); 230 231 $response = $this->link_server($url, $args); 232 if (is_wp_error($response)) { 233 RY_WT_WC_ECPay_Gateway::instance()->log('Credit action failed', WC_Log_Levels::ERROR, ['data' => $args, 'info' => $response->get_error_messages()]); 234 return; 235 } 236 237 if (wp_remote_retrieve_response_code($response) != '200') { 238 RY_WT_WC_ECPay_Gateway::instance()->log('Credit action HTTP status error', WC_Log_Levels::ERROR, ['data' => $args, 'code' => wp_remote_retrieve_response_code($response)]); 239 return; 240 } 241 242 $body = wp_remote_retrieve_body($response); 243 parse_str($body, $result); 244 if (!is_array($result)) { 245 RY_WT_WC_ECPay_Gateway::instance()->log('Credit action result parse failed', WC_Log_Levels::WARNING, ['data' => $args, 'result' => wp_remote_retrieve_body($response)]); 246 return; 247 } 248 249 RY_WT_WC_ECPay_Gateway::instance()->log('Credit action data', WC_Log_Levels::INFO, ['data' => $result]); 250 251 return $result; 252 } 253 148 254 protected function add_type_info($args, $order, $gateway) 149 255 { 150 256 switch ($gateway::Payment_Type) { 151 257 case 'Credit': 258 if (isset($gateway->support_applepay) && $gateway->support_applepay === 'no') { 259 $args['IgnorePayment'] = 'ApplePay'; 260 } 152 261 if (isset($gateway->number_of_periods) && !empty($gateway->number_of_periods)) { 153 262 if (is_array($gateway->number_of_periods)) { -
ry-woocommerce-tools/trunk/woocommerce/gateways/ecpay/includes/settings/credit.php
r2989087 r3386206 3 3 $setting = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/global-setting.php'; 4 4 5 $setting['applepay'] = [ 6 'title' => __('Apple Pay', 'ry-woocommerce-tools'), 7 'label' => __('Support Apple Pay', 'ry-woocommerce-tools'), 8 'type' => 'checkbox', 9 'default' => 'yes', 10 ]; 11 5 12 return $setting; -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-atm.php
r3294501 r3386206 15 15 16 16 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/atm.php'; 17 $this->init_settings();18 17 19 $this->title = $this->get_option('title'); 20 $this->description = $this->get_option('description'); 21 $this->expire_date = (int) $this->get_option('expire_date', 7); 22 $this->min_amount = (int) $this->get_option('min_amount', 0); 23 $this->max_amount = (int) $this->get_option('max_amount', 0); 18 parent::__construct(); 19 20 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 24 21 25 22 add_filter('ry_admin_payment_info-ry_newebpay_atm', [$this, 'show_payment_info'], 10, 2); 26 27 parent::__construct();28 23 } 29 24 -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-barcode.php
r3294501 r3386206 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/barcode.php'; 21 $this->init_settings();22 21 23 $this->title = $this->get_option('title'); 24 $this->description = $this->get_option('description'); 25 $this->expire_date = (int) $this->get_option('expire_date', 7); 26 $this->min_amount = (int) $this->get_option('min_amount', 0); 27 $this->max_amount = (int) $this->get_option('max_amount', 0); 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 28 25 29 26 add_filter('ry_admin_payment_info-ry_newebpay_barcode', [$this, 'show_payment_info'], 10, 2); 30 31 parent::__construct();32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-credit-installment.php
r3294501 r3386206 17 17 18 18 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/credit-installment.php'; 19 $this->init_settings();20 21 $this->title = $this->get_option('title');22 $this->description = $this->get_option('description');23 $this->min_amount = (int) $this->get_option('min_amount', 0);24 $this->max_amount = (int) $this->get_option('max_amount', 0);25 $this->number_of_periods = $this->get_option('number_of_periods', []);26 19 27 20 parent::__construct(); 21 22 $this->number_of_periods = $this->settings['number_of_periods'] ?: []; 28 23 } 29 24 -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-credit.php
r2989087 r3386206 15 15 16 16 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/credit.php'; 17 $this->init_settings();18 19 $this->title = $this->get_option('title');20 $this->description = $this->get_option('description');21 $this->min_amount = (int) $this->get_option('min_amount', 0);22 $this->max_amount = (int) $this->get_option('max_amount', 0);23 17 24 18 parent::__construct(); -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-cvs.php
r3294501 r3386206 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/cvs.php'; 21 $this->init_settings();22 21 23 $this->title = $this->get_option('title'); 24 $this->description = $this->get_option('description'); 25 $this->expire_date = (int) $this->get_option('expire_date', 7); 26 $this->min_amount = (int) $this->get_option('min_amount', 0); 27 $this->max_amount = (int) $this->get_option('max_amount', 0); 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 28 25 29 26 add_filter('ry_admin_payment_info-ry_newebpay_cvs', [$this, 'show_payment_info'], 10, 2); 30 31 parent::__construct();32 27 } 33 28 -
ry-woocommerce-tools/trunk/woocommerce/gateways/newebpay/gateway-webatm.php
r2989087 r3386206 15 15 16 16 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/newebpay/includes/settings/webatm.php'; 17 $this->init_settings();18 19 $this->title = $this->get_option('title');20 $this->description = $this->get_option('description');21 $this->min_amount = (int) $this->get_option('min_amount', 0);22 $this->max_amount = (int) $this->get_option('max_amount', 0);23 17 24 18 parent::__construct(); -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-atm.php
r3294501 r3386206 20 20 21 21 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/atm.php'; 22 $this->init_settings();23 22 24 $this->title = $this->get_option('title'); 25 $this->description = $this->get_option('description'); 26 $this->expire_date = (int) $this->get_option('expire_date', 3); 27 $this->min_amount = (int) $this->get_option('min_amount', 0); 28 $this->max_amount = (int) $this->get_option('max_amount', 0); 23 parent::__construct(); 24 25 $this->expire_date = (int) ($this->settings['expire_date'] ?: 3); 29 26 30 27 add_filter('ry_admin_payment_info-ry_smilepay_atm', [$this, 'show_payment_info'], 10, 2); 31 32 parent::__construct();33 28 } 34 29 -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-barcode.php
r3294501 r3386206 20 20 21 21 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/barcode.php'; 22 $this->init_settings();23 22 24 $this->title = $this->get_option('title'); 25 $this->description = $this->get_option('description'); 26 $this->expire_date = (int) $this->get_option('expire_date', 7); 27 $this->min_amount = (int) $this->get_option('min_amount', 0); 28 $this->max_amount = (int) $this->get_option('max_amount', 0); 23 parent::__construct(); 24 25 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 29 26 30 27 add_filter('ry_admin_payment_info-ry_smilepay_barcode', [$this, 'show_payment_info'], 10, 2); 31 32 parent::__construct();33 28 } 34 29 -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-credit.php
r2989087 r3386206 15 15 16 16 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/credit.php'; 17 $this->init_settings();18 19 $this->title = $this->get_option('title');20 $this->description = $this->get_option('description');21 $this->min_amount = (int) $this->get_option('min_amount', 0);22 $this->max_amount = (int) $this->get_option('max_amount', 0);23 17 24 18 parent::__construct(); -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-cvs-711.php
r3294501 r3386206 20 20 21 21 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/cvs.php'; 22 $this->init_settings();23 22 24 $this->title = $this->get_option('title'); 25 $this->description = $this->get_option('description'); 26 $this->expire_date = (int) $this->get_option('expire_date', 4320); 27 $this->min_amount = (int) $this->get_option('min_amount', 0); 28 $this->max_amount = (int) $this->get_option('max_amount', 0); 23 parent::__construct(); 24 25 $this->expire_date = (int) ($this->settings['expire_date'] ?: 4320); 29 26 30 27 add_filter('ry_admin_payment_info-ry_smilepay_cvs_711', [$this, 'show_payment_info'], 10, 2); 31 32 parent::__construct();33 28 } 34 29 -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-cvs-fami.php
r3294501 r3386206 20 20 21 21 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/cvs.php'; 22 $this->init_settings();23 22 24 $this->title = $this->get_option('title'); 25 $this->description = $this->get_option('description'); 26 $this->expire_date = (int) $this->get_option('expire_date', 4320); 27 $this->min_amount = (int) $this->get_option('min_amount', 0); 28 $this->max_amount = (int) $this->get_option('max_amount', 0); 23 parent::__construct(); 24 25 $this->expire_date = (int) ($this->settings['expire_date'] ?: 4320); 29 26 30 27 add_filter('ry_admin_payment_info-ry_smilepay_cvs_fami', [$this, 'show_payment_info'], 10, 2); 31 32 parent::__construct();33 28 } 34 29 -
ry-woocommerce-tools/trunk/woocommerce/gateways/smilepay/gateway-webatm.php
r3145248 r3386206 19 19 20 20 $this->form_fields = include RY_WT_PLUGIN_DIR . 'woocommerce/gateways/smilepay/includes/settings/webatm.php'; 21 $this->init_settings();22 23 $this->title = $this->get_option('title');24 $this->description = $this->get_option('description');25 $this->expire_date = (int) $this->get_option('expire_date', 7);26 $this->min_amount = (int) $this->get_option('min_amount', 0);27 $this->max_amount = (int) $this->get_option('max_amount', 0);28 21 29 22 parent::__construct(); 23 24 $this->expire_date = (int) ($this->settings['expire_date'] ?: 7); 30 25 } 31 26 }
Note: See TracChangeset
for help on using the changeset viewer.