Plugin Directory

Changeset 3491727


Ignore:
Timestamp:
03/26/2026 11:21:26 AM (2 days ago)
Author:
ndeet
Message:

Update to version 2.7.4 from GitHub

Location:
btcpay-greenfield-for-woocommerce
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/assets/js/frontend/blocks.asset.php

    r3270486 r3491727  
    1 <?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => '9ef846edac3af0fea94e7121d0397336');
     1<?php return array('dependencies' => array('react-jsx-runtime', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => 'e70f9da6aeb3d0e3da39');
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/assets/js/frontend/blocks.js

    r3270486 r3491727  
    1 (()=>{"use strict";var e={20:(e,t,r)=>{var o=r(609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var o,c={},p=null,l=null;for(o in void 0!==r&&(p=""+r),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(l=t.ref),t)i.call(t,o)&&!s.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:p,ref:l,props:c,_owner:a.current}}t.jsx=c,t.jsxs=c},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},t={};const r=window.wp.i18n,o=window.wc.wcBlocksRegistry,n=window.wp.htmlEntities,i=window.wc.wcSettings;var a=function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}(848);const s=(0,i.getSetting)("btcpaygf_default_data",{}),c=(0,r.__)("Bitcoin / Lightning Network over BTCPay Server","woo-gutenberg-products-block"),p=(0,n.decodeEntities)(s.title)||c,l=s.icon||"",d=()=>(0,n.decodeEntities)(s.description||""),y=e=>{const{PaymentMethodLabel:t}=e.components;return(0,a.jsxs)("div",{className:"btcpay-payment-method-label",children:[l&&(0,a.jsx)("img",{src:l,alt:"BTCPay Bitcoin payment icon",className:"btcpay-payment-icon",style:{width:"50px",marginRight:"10px",verticalAlign:"middle"}}),(0,a.jsx)(t,{text:p})]})},w={name:"btcpaygf_default",label:(0,a.jsx)(y,{}),content:(0,a.jsx)(d,{}),edit:(0,a.jsx)(d,{}),canMakePayment:()=>!0,ariaLabel:p,iconUrl:l,supports:{features:s.supports}};(0,o.registerPaymentMethod)(w)})();
     1(()=>{"use strict";const t=window.wp.i18n,e=window.wc.wcBlocksRegistry,i=window.wp.htmlEntities,n=window.wc.wcSettings,a=window.ReactJSXRuntime,c=(0,n.getSetting)("btcpaygf_default_data",{}),s=(0,t.__)("Bitcoin / Lightning Network over BTCPay Server","woo-gutenberg-products-block"),o=(0,i.decodeEntities)(c.title)||s,d=c.icon||"",r=()=>(0,i.decodeEntities)(c.description||""),l=t=>{const{PaymentMethodLabel:e}=t.components;return(0,a.jsxs)("div",{className:"btcpay-payment-method-label",children:[d&&(0,a.jsx)("img",{src:d,alt:"BTCPay Bitcoin payment icon",className:"btcpay-payment-icon",style:{width:"50px",marginRight:"10px",verticalAlign:"middle"}}),(0,a.jsx)(e,{text:o})]})},w={name:"btcpaygf_default",label:(0,a.jsx)(l,{}),content:(0,a.jsx)(r,{}),edit:(0,a.jsx)(r,{}),canMakePayment:()=>!0,ariaLabel:o,iconUrl:d,supports:{features:c.supports}};(0,e.registerPaymentMethod)(w)})();
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/assets/js/frontend/modalCheckout.js

    r3151490 r3491727  
    189189        }
    190190
     191        // Always unbind first to prevent duplicate handlers.
     192        checkout_form.off('checkout_place_order', submitOrder);
     193
    191194        if (selected_gateway.startsWith('btcpaygf_')) {
    192195            // Bind our custom event handler to the checkout button.
    193196            checkout_form.on('checkout_place_order', submitOrder);
    194         } else {
    195             // Unbind custom event handlers.
    196             checkout_form.off('checkout_place_order', submitOrder);
    197197        }
    198198    }
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/btcpay-greenfield-for-woocommerce.php

    r3488900 r3491727  
    88 * Text Domain:     btcpay-greenfield-for-woocommerce
    99 * Domain Path:     /languages
    10  * Version:         2.7.3
     10 * Version:         2.7.4
    1111 * Requires PHP:    8.0
    1212 * Tested up to:    6.9
     
    1414 * Requires Plugins: woocommerce
    1515 * WC requires at least: 7.0
    16  * WC tested up to: 9.8
     16 * WC tested up to: 10.6
    1717 */
    1818
     
    2828defined( 'ABSPATH' ) || exit();
    2929
    30 define( 'BTCPAYSERVER_VERSION', '2.7.3' );
     30define( 'BTCPAYSERVER_VERSION', '2.7.4' );
    3131define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' );
    3232define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) );
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/changelog.txt

    r3151490 r3491727  
     1Find current version release changelog in readme.txt
     2
     3Changelog for older versions:
     4
     5= 2.6.2 :: 2024-04-09 =
     6* Fix: Dismissing the review notification forever, finally.
     7
     8= 2.6.1 :: 2024-04-04 =
     9* Fix: Error when processing full amount refunds.
     10* Fix: Show warning when bcmath extension is missing.
     11* Make it possible to dismiss the review notification forever.
     12
     13= 2.6.0 :: 2024-02-27 =
     14* Update PHP BTCPay library to 2.3.0, minimum PHP version 8.0.
     15* Show warning when .local domain is used for BTCPay Server URL.
     16* Change BTCPay Server URL placeholder to official demo server.
     17
     18= 2.5.0 :: 2024-01-31 =
     19* Fix: Formatting in readme.txt
     20* Add support for modal overlay for checkout blocks.
     21
    122= 2.4.1 :: 2024-01-22 =
    223* Fix: Ensure order status is not cancelled if paid by other payment gateway.
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/languages/btcpay-greenfield-for-woocommerce.pot

    r3488900 r3491727  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.3\n"
     5"Project-Id-Version: BTCPay For Woocommerce V2 2.7.4\n"
    66"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-03-23T11:24:53+00:00\n"
     12"POT-Creation-Date: 2026-03-26T11:20:55+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/readme.txt

    r3488900 r3491727  
    44Tags: Bitcoin, Lightning Network, BTCPay Server, WooCommerce, payment gateway
    55Requires at least: 5.9
    6 Tested up to: 6.7
     6Tested up to: 6.9
    77Requires PHP: 8.0
    8 Stable tag: 2.7.3
     8Stable tag: 2.7.4
    99License: MIT
    1010License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt
     
    111111== Upgrade Notice ==
    112112
    113 = 2.7.3 =
    114 * Fix: Add warnings and docs on changing order status mapping of "paid" payment status
    115 * Fix: Fix deprecation warnings of dynamic properties
    116 * Maintenance: Add more debug logging for refunds
     113= 2.7.4 =
     114* Fix: Make sure modal checkout event handler does not get attached multiple times
     115* Maintenance: Update NodeJS and dependencies to v20
    117116
    118117
    119118== Changelog ==
     119= 2.7.4 :: 2026-03-26 =
     120* Fix: Make sure modal checkout event handler does not get attached multiple times
     121* Maintenance: Update NodeJS and dependencies to v20
     122
    120123= 2.7.3 :: 2026-03-23 =
    121124* Fix: Add warnings and docs on changing order status mapping of "paid" payment status
     
    141144* Maintenance: Update PHP library to v2.7.0.
    142145
    143 = 2.6.2 :: 2024-04-09 =
    144 * Fix: Dismissing the review notification forever, finally.
    145 
    146 = 2.6.1 :: 2024-04-04 =
    147 * Fix: Error when processing full amount refunds.
    148 * Fix: Show warning when bcmath extension is missing.
    149 * Make it possible to dismiss the review notification forever.
    150 
    151 = 2.6.0 :: 2024-02-27 =
    152 * Update PHP BTCPay library to 2.3.0, minimum PHP version 8.0.
    153 * Show warning when .local domain is used for BTCPay Server URL.
    154 * Change BTCPay Server URL placeholder to official demo server.
    155 
    156 = 2.5.0 :: 2024-01-31 =
    157 * Fix: Formatting in readme.txt
    158 * Add support for modal overlay for checkout blocks.
    159 
    160146
    161147Changelog of older releases can be found [here](https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/changelog.txt)
  • btcpay-greenfield-for-woocommerce/tags/2.7.4/resources/js/frontend/modalCheckout.js

    r3151490 r3491727  
    189189        }
    190190
     191        // Always unbind first to prevent duplicate handlers.
     192        checkout_form.off('checkout_place_order', submitOrder);
     193
    191194        if (selected_gateway.startsWith('btcpaygf_')) {
    192195            // Bind our custom event handler to the checkout button.
    193196            checkout_form.on('checkout_place_order', submitOrder);
    194         } else {
    195             // Unbind custom event handlers.
    196             checkout_form.off('checkout_place_order', submitOrder);
    197197        }
    198198    }
  • btcpay-greenfield-for-woocommerce/trunk/assets/js/frontend/blocks.asset.php

    r3270486 r3491727  
    1 <?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => '9ef846edac3af0fea94e7121d0397336');
     1<?php return array('dependencies' => array('react-jsx-runtime', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => 'e70f9da6aeb3d0e3da39');
  • btcpay-greenfield-for-woocommerce/trunk/assets/js/frontend/blocks.js

    r3270486 r3491727  
    1 (()=>{"use strict";var e={20:(e,t,r)=>{var o=r(609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var o,c={},p=null,l=null;for(o in void 0!==r&&(p=""+r),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(l=t.ref),t)i.call(t,o)&&!s.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:p,ref:l,props:c,_owner:a.current}}t.jsx=c,t.jsxs=c},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},t={};const r=window.wp.i18n,o=window.wc.wcBlocksRegistry,n=window.wp.htmlEntities,i=window.wc.wcSettings;var a=function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}(848);const s=(0,i.getSetting)("btcpaygf_default_data",{}),c=(0,r.__)("Bitcoin / Lightning Network over BTCPay Server","woo-gutenberg-products-block"),p=(0,n.decodeEntities)(s.title)||c,l=s.icon||"",d=()=>(0,n.decodeEntities)(s.description||""),y=e=>{const{PaymentMethodLabel:t}=e.components;return(0,a.jsxs)("div",{className:"btcpay-payment-method-label",children:[l&&(0,a.jsx)("img",{src:l,alt:"BTCPay Bitcoin payment icon",className:"btcpay-payment-icon",style:{width:"50px",marginRight:"10px",verticalAlign:"middle"}}),(0,a.jsx)(t,{text:p})]})},w={name:"btcpaygf_default",label:(0,a.jsx)(y,{}),content:(0,a.jsx)(d,{}),edit:(0,a.jsx)(d,{}),canMakePayment:()=>!0,ariaLabel:p,iconUrl:l,supports:{features:s.supports}};(0,o.registerPaymentMethod)(w)})();
     1(()=>{"use strict";const t=window.wp.i18n,e=window.wc.wcBlocksRegistry,i=window.wp.htmlEntities,n=window.wc.wcSettings,a=window.ReactJSXRuntime,c=(0,n.getSetting)("btcpaygf_default_data",{}),s=(0,t.__)("Bitcoin / Lightning Network over BTCPay Server","woo-gutenberg-products-block"),o=(0,i.decodeEntities)(c.title)||s,d=c.icon||"",r=()=>(0,i.decodeEntities)(c.description||""),l=t=>{const{PaymentMethodLabel:e}=t.components;return(0,a.jsxs)("div",{className:"btcpay-payment-method-label",children:[d&&(0,a.jsx)("img",{src:d,alt:"BTCPay Bitcoin payment icon",className:"btcpay-payment-icon",style:{width:"50px",marginRight:"10px",verticalAlign:"middle"}}),(0,a.jsx)(e,{text:o})]})},w={name:"btcpaygf_default",label:(0,a.jsx)(l,{}),content:(0,a.jsx)(r,{}),edit:(0,a.jsx)(r,{}),canMakePayment:()=>!0,ariaLabel:o,iconUrl:d,supports:{features:c.supports}};(0,e.registerPaymentMethod)(w)})();
  • btcpay-greenfield-for-woocommerce/trunk/assets/js/frontend/modalCheckout.js

    r3151490 r3491727  
    189189        }
    190190
     191        // Always unbind first to prevent duplicate handlers.
     192        checkout_form.off('checkout_place_order', submitOrder);
     193
    191194        if (selected_gateway.startsWith('btcpaygf_')) {
    192195            // Bind our custom event handler to the checkout button.
    193196            checkout_form.on('checkout_place_order', submitOrder);
    194         } else {
    195             // Unbind custom event handlers.
    196             checkout_form.off('checkout_place_order', submitOrder);
    197197        }
    198198    }
  • btcpay-greenfield-for-woocommerce/trunk/btcpay-greenfield-for-woocommerce.php

    r3488900 r3491727  
    88 * Text Domain:     btcpay-greenfield-for-woocommerce
    99 * Domain Path:     /languages
    10  * Version:         2.7.3
     10 * Version:         2.7.4
    1111 * Requires PHP:    8.0
    1212 * Tested up to:    6.9
     
    1414 * Requires Plugins: woocommerce
    1515 * WC requires at least: 7.0
    16  * WC tested up to: 9.8
     16 * WC tested up to: 10.6
    1717 */
    1818
     
    2828defined( 'ABSPATH' ) || exit();
    2929
    30 define( 'BTCPAYSERVER_VERSION', '2.7.3' );
     30define( 'BTCPAYSERVER_VERSION', '2.7.4' );
    3131define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' );
    3232define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) );
  • btcpay-greenfield-for-woocommerce/trunk/changelog.txt

    r3151490 r3491727  
     1Find current version release changelog in readme.txt
     2
     3Changelog for older versions:
     4
     5= 2.6.2 :: 2024-04-09 =
     6* Fix: Dismissing the review notification forever, finally.
     7
     8= 2.6.1 :: 2024-04-04 =
     9* Fix: Error when processing full amount refunds.
     10* Fix: Show warning when bcmath extension is missing.
     11* Make it possible to dismiss the review notification forever.
     12
     13= 2.6.0 :: 2024-02-27 =
     14* Update PHP BTCPay library to 2.3.0, minimum PHP version 8.0.
     15* Show warning when .local domain is used for BTCPay Server URL.
     16* Change BTCPay Server URL placeholder to official demo server.
     17
     18= 2.5.0 :: 2024-01-31 =
     19* Fix: Formatting in readme.txt
     20* Add support for modal overlay for checkout blocks.
     21
    122= 2.4.1 :: 2024-01-22 =
    223* Fix: Ensure order status is not cancelled if paid by other payment gateway.
  • btcpay-greenfield-for-woocommerce/trunk/languages/btcpay-greenfield-for-woocommerce.pot

    r3488900 r3491727  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.3\n"
     5"Project-Id-Version: BTCPay For Woocommerce V2 2.7.4\n"
    66"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-03-23T11:24:53+00:00\n"
     12"POT-Creation-Date: 2026-03-26T11:20:55+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
  • btcpay-greenfield-for-woocommerce/trunk/readme.txt

    r3488900 r3491727  
    44Tags: Bitcoin, Lightning Network, BTCPay Server, WooCommerce, payment gateway
    55Requires at least: 5.9
    6 Tested up to: 6.7
     6Tested up to: 6.9
    77Requires PHP: 8.0
    8 Stable tag: 2.7.3
     8Stable tag: 2.7.4
    99License: MIT
    1010License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt
     
    111111== Upgrade Notice ==
    112112
    113 = 2.7.3 =
    114 * Fix: Add warnings and docs on changing order status mapping of "paid" payment status
    115 * Fix: Fix deprecation warnings of dynamic properties
    116 * Maintenance: Add more debug logging for refunds
     113= 2.7.4 =
     114* Fix: Make sure modal checkout event handler does not get attached multiple times
     115* Maintenance: Update NodeJS and dependencies to v20
    117116
    118117
    119118== Changelog ==
     119= 2.7.4 :: 2026-03-26 =
     120* Fix: Make sure modal checkout event handler does not get attached multiple times
     121* Maintenance: Update NodeJS and dependencies to v20
     122
    120123= 2.7.3 :: 2026-03-23 =
    121124* Fix: Add warnings and docs on changing order status mapping of "paid" payment status
     
    141144* Maintenance: Update PHP library to v2.7.0.
    142145
    143 = 2.6.2 :: 2024-04-09 =
    144 * Fix: Dismissing the review notification forever, finally.
    145 
    146 = 2.6.1 :: 2024-04-04 =
    147 * Fix: Error when processing full amount refunds.
    148 * Fix: Show warning when bcmath extension is missing.
    149 * Make it possible to dismiss the review notification forever.
    150 
    151 = 2.6.0 :: 2024-02-27 =
    152 * Update PHP BTCPay library to 2.3.0, minimum PHP version 8.0.
    153 * Show warning when .local domain is used for BTCPay Server URL.
    154 * Change BTCPay Server URL placeholder to official demo server.
    155 
    156 = 2.5.0 :: 2024-01-31 =
    157 * Fix: Formatting in readme.txt
    158 * Add support for modal overlay for checkout blocks.
    159 
    160146
    161147Changelog of older releases can be found [here](https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/changelog.txt)
  • btcpay-greenfield-for-woocommerce/trunk/resources/js/frontend/modalCheckout.js

    r3151490 r3491727  
    189189        }
    190190
     191        // Always unbind first to prevent duplicate handlers.
     192        checkout_form.off('checkout_place_order', submitOrder);
     193
    191194        if (selected_gateway.startsWith('btcpaygf_')) {
    192195            // Bind our custom event handler to the checkout button.
    193196            checkout_form.on('checkout_place_order', submitOrder);
    194         } else {
    195             // Unbind custom event handlers.
    196             checkout_form.off('checkout_place_order', submitOrder);
    197197        }
    198198    }
Note: See TracChangeset for help on using the changeset viewer.