Changeset 3491727
- Timestamp:
- 03/26/2026 11:21:26 AM (2 days ago)
- Location:
- btcpay-greenfield-for-woocommerce
- Files:
-
- 16 edited
- 1 copied
-
tags/2.7.4 (copied) (copied from btcpay-greenfield-for-woocommerce/trunk)
-
tags/2.7.4/assets/js/frontend/blocks.asset.php (modified) (1 diff)
-
tags/2.7.4/assets/js/frontend/blocks.js (modified) (1 diff)
-
tags/2.7.4/assets/js/frontend/modalCheckout.js (modified) (1 diff)
-
tags/2.7.4/btcpay-greenfield-for-woocommerce.php (modified) (3 diffs)
-
tags/2.7.4/changelog.txt (modified) (1 diff)
-
tags/2.7.4/languages/btcpay-greenfield-for-woocommerce.pot (modified) (2 diffs)
-
tags/2.7.4/readme.txt (modified) (3 diffs)
-
tags/2.7.4/resources/js/frontend/modalCheckout.js (modified) (1 diff)
-
trunk/assets/js/frontend/blocks.asset.php (modified) (1 diff)
-
trunk/assets/js/frontend/blocks.js (modified) (1 diff)
-
trunk/assets/js/frontend/modalCheckout.js (modified) (1 diff)
-
trunk/btcpay-greenfield-for-woocommerce.php (modified) (3 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/languages/btcpay-greenfield-for-woocommerce.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/resources/js/frontend/modalCheckout.js (modified) (1 diff)
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 189 189 } 190 190 191 // Always unbind first to prevent duplicate handlers. 192 checkout_form.off('checkout_place_order', submitOrder); 193 191 194 if (selected_gateway.startsWith('btcpaygf_')) { 192 195 // Bind our custom event handler to the checkout button. 193 196 checkout_form.on('checkout_place_order', submitOrder); 194 } else {195 // Unbind custom event handlers.196 checkout_form.off('checkout_place_order', submitOrder);197 197 } 198 198 } -
btcpay-greenfield-for-woocommerce/tags/2.7.4/btcpay-greenfield-for-woocommerce.php
r3488900 r3491727 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2.7. 310 * Version: 2.7.4 11 11 * Requires PHP: 8.0 12 12 * Tested up to: 6.9 … … 14 14 * Requires Plugins: woocommerce 15 15 * WC requires at least: 7.0 16 * WC tested up to: 9.816 * WC tested up to: 10.6 17 17 */ 18 18 … … 28 28 defined( 'ABSPATH' ) || exit(); 29 29 30 define( 'BTCPAYSERVER_VERSION', '2.7. 3' );30 define( 'BTCPAYSERVER_VERSION', '2.7.4' ); 31 31 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 32 32 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); -
btcpay-greenfield-for-woocommerce/tags/2.7.4/changelog.txt
r3151490 r3491727 1 Find current version release changelog in readme.txt 2 3 Changelog 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 1 22 = 2.4.1 :: 2024-01-22 = 2 23 * 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 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7. 3\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.4\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\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: 2026-03-2 3T11:24:53+00:00\n"12 "POT-Creation-Date: 2026-03-26T11:20:55+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
btcpay-greenfield-for-woocommerce/tags/2.7.4/readme.txt
r3488900 r3491727 4 4 Tags: Bitcoin, Lightning Network, BTCPay Server, WooCommerce, payment gateway 5 5 Requires at least: 5.9 6 Tested up to: 6. 76 Tested up to: 6.9 7 7 Requires PHP: 8.0 8 Stable tag: 2.7. 38 Stable tag: 2.7.4 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 111 111 == Upgrade Notice == 112 112 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 117 116 118 117 119 118 == 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 120 123 = 2.7.3 :: 2026-03-23 = 121 124 * Fix: Add warnings and docs on changing order status mapping of "paid" payment status … … 141 144 * Maintenance: Update PHP library to v2.7.0. 142 145 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.txt158 * Add support for modal overlay for checkout blocks.159 160 146 161 147 Changelog 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 189 189 } 190 190 191 // Always unbind first to prevent duplicate handlers. 192 checkout_form.off('checkout_place_order', submitOrder); 193 191 194 if (selected_gateway.startsWith('btcpaygf_')) { 192 195 // Bind our custom event handler to the checkout button. 193 196 checkout_form.on('checkout_place_order', submitOrder); 194 } else {195 // Unbind custom event handlers.196 checkout_form.off('checkout_place_order', submitOrder);197 197 } 198 198 } -
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 189 189 } 190 190 191 // Always unbind first to prevent duplicate handlers. 192 checkout_form.off('checkout_place_order', submitOrder); 193 191 194 if (selected_gateway.startsWith('btcpaygf_')) { 192 195 // Bind our custom event handler to the checkout button. 193 196 checkout_form.on('checkout_place_order', submitOrder); 194 } else {195 // Unbind custom event handlers.196 checkout_form.off('checkout_place_order', submitOrder);197 197 } 198 198 } -
btcpay-greenfield-for-woocommerce/trunk/btcpay-greenfield-for-woocommerce.php
r3488900 r3491727 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2.7. 310 * Version: 2.7.4 11 11 * Requires PHP: 8.0 12 12 * Tested up to: 6.9 … … 14 14 * Requires Plugins: woocommerce 15 15 * WC requires at least: 7.0 16 * WC tested up to: 9.816 * WC tested up to: 10.6 17 17 */ 18 18 … … 28 28 defined( 'ABSPATH' ) || exit(); 29 29 30 define( 'BTCPAYSERVER_VERSION', '2.7. 3' );30 define( 'BTCPAYSERVER_VERSION', '2.7.4' ); 31 31 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 32 32 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); -
btcpay-greenfield-for-woocommerce/trunk/changelog.txt
r3151490 r3491727 1 Find current version release changelog in readme.txt 2 3 Changelog 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 1 22 = 2.4.1 :: 2024-01-22 = 2 23 * 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 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7. 3\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.4\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\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: 2026-03-2 3T11:24:53+00:00\n"12 "POT-Creation-Date: 2026-03-26T11:20:55+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
btcpay-greenfield-for-woocommerce/trunk/readme.txt
r3488900 r3491727 4 4 Tags: Bitcoin, Lightning Network, BTCPay Server, WooCommerce, payment gateway 5 5 Requires at least: 5.9 6 Tested up to: 6. 76 Tested up to: 6.9 7 7 Requires PHP: 8.0 8 Stable tag: 2.7. 38 Stable tag: 2.7.4 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 111 111 == Upgrade Notice == 112 112 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 117 116 118 117 119 118 == 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 120 123 = 2.7.3 :: 2026-03-23 = 121 124 * Fix: Add warnings and docs on changing order status mapping of "paid" payment status … … 141 144 * Maintenance: Update PHP library to v2.7.0. 142 145 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.txt158 * Add support for modal overlay for checkout blocks.159 160 146 161 147 Changelog 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 189 189 } 190 190 191 // Always unbind first to prevent duplicate handlers. 192 checkout_form.off('checkout_place_order', submitOrder); 193 191 194 if (selected_gateway.startsWith('btcpaygf_')) { 192 195 // Bind our custom event handler to the checkout button. 193 196 checkout_form.on('checkout_place_order', submitOrder); 194 } else {195 // Unbind custom event handlers.196 checkout_form.off('checkout_place_order', submitOrder);197 197 } 198 198 }
Note: See TracChangeset
for help on using the changeset viewer.