Skip to content

Commit 57e2fe3

Browse files
committed
Bump version.
1 parent c58dab8 commit 57e2fe3

File tree

4 files changed

+104
-69
lines changed

4 files changed

+104
-69
lines changed

btcpay-greenfield-for-woocommerce.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Author URI: https://btcpayserver.org
88
* Text Domain: btcpay-greenfield-for-woocommerce
99
* Domain Path: /languages
10-
* Version: 2.6.2
10+
* Version: 2.7.0
1111
* Requires PHP: 8.0
12-
* Tested up to: 6.5
13-
* Requires at least: 5.9
14-
* WC requires at least: 6.0
15-
* WC tested up to: 8.7
12+
* Tested up to: 6.6
13+
* Requires at least: 6.2
14+
* WC requires at least: 7.0
15+
* WC tested up to: 9.3
1616
*/
1717

1818
use BTCPayServer\WC\Admin\Notice;
@@ -26,7 +26,7 @@
2626

2727
defined( 'ABSPATH' ) || exit();
2828

29-
define( 'BTCPAYSERVER_VERSION', '2.6.2' );
29+
define( 'BTCPAYSERVER_VERSION', '2.7.0' );
3030
define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' );
3131
define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) );
3232
define( 'BTCPAYSERVER_PLUGIN_URL', plugin_dir_url(__FILE__ ) );

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
= 2.4.1 :: 2024-01-22 =
2+
* Fix: Ensure order status is not cancelled if paid by other payment gateway.
3+
* Show periodically notification to review the plugin.
4+
* Updating readme.txt (fixing text, updating banner and screenshots)
5+
6+
= 2.4.0 :: 2023-12-15 =
7+
* Fix: Avoid error on InvoiceProcessing/InvoiceSettled event in case of paidOver property is missing.
8+
* New feature: Add basic support for WooCommerce cart and checkout blocks.
9+
Note: Works for default configuration; future versions will make it work with modal checkout and separate payment gateways too.
10+
111
= 2.3.1 :: 2023-10-20 =
212
* Fix: Ensure refunds text does not exceed API field limit.
313

languages/btcpay-greenfield-for-woocommerce.pot

Lines changed: 67 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,41 @@
22
# This file is distributed under the same license as the BTCPay For Woocommerce V2 plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: BTCPay For Woocommerce V2 2.6.2\n"
5+
"Project-Id-Version: BTCPay For Woocommerce V2 2.7.0\n"
66
"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-04-08T22:04:43+00:00\n"
12+
"POT-Creation-Date: 2024-09-13T14:31:36+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"X-Generator: WP-CLI 2.9.0\n"
14+
"X-Generator: WP-CLI 2.10.0\n"
1515
"language-team: LANGUAGE <EMAIL@ADDRESS>\n"
1616
"X-Domain: btcpay-greenfield-for-woocommerce\n"
1717

1818
#. Plugin Name of the plugin
19+
#: btcpay-greenfield-for-woocommerce.php
1920
msgid "BTCPay For Woocommerce V2"
2021
msgstr ""
2122

2223
#. Plugin URI of the plugin
24+
#: btcpay-greenfield-for-woocommerce.php
2325
msgid "https://wordpress.org/plugins/btcpay-greenfield-for-woocommerce/"
2426
msgstr ""
2527

2628
#. Description of the plugin
29+
#: btcpay-greenfield-for-woocommerce.php
2730
msgid "BTCPay Server is a free and open-source bitcoin payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman."
2831
msgstr ""
2932

3033
#. Author of the plugin
34+
#: btcpay-greenfield-for-woocommerce.php
3135
msgid "BTCPay Server"
3236
msgstr ""
3337

3438
#. Author URI of the plugin
39+
#: btcpay-greenfield-for-woocommerce.php
3540
msgid "https://btcpayserver.org"
3641
msgstr ""
3742

@@ -84,12 +89,12 @@ msgid "Successfully received api key and store id from BTCPay Server API. Please
8489
msgstr ""
8590

8691
#: btcpay-greenfield-for-woocommerce.php:518
87-
#: src/Admin/GlobalSettings.php:374
92+
#: src/Admin/GlobalSettings.php:381
8893
msgid "Successfully registered a new webhook on BTCPay Server."
8994
msgstr ""
9095

9196
#: btcpay-greenfield-for-woocommerce.php:522
92-
#: src/Admin/GlobalSettings.php:378
97+
#: src/Admin/GlobalSettings.php:385
9398
msgid "Could not register a new webhook on the store."
9499
msgstr ""
95100

@@ -101,15 +106,15 @@ msgstr ""
101106
msgid "Error processing the data from BTCPay. Please try again."
102107
msgstr ""
103108

104-
#: generated/BTCPay_GF_BTC.php:25
105-
#: generated/BTCPay_GF_BTC_LightningNetwork.php:25
106-
#: generated/BTCPay_GF_BTC_LNURLPAY.php:25
109+
#: generated/BTCPay_GF_BTC_CHAIN.php:25
110+
#: generated/BTCPay_GF_BTC_LN.php:25
111+
#: generated/BTCPay_GF_BTC_LNURL.php:25
107112
msgid "Token type"
108113
msgstr ""
109114

110-
#: generated/BTCPay_GF_BTC.php:32
111-
#: generated/BTCPay_GF_BTC_LightningNetwork.php:32
112-
#: generated/BTCPay_GF_BTC_LNURLPAY.php:32
115+
#: generated/BTCPay_GF_BTC_CHAIN.php:32
116+
#: generated/BTCPay_GF_BTC_LN.php:32
117+
#: generated/BTCPay_GF_BTC_LNURL.php:32
113118
msgid "Tokens of type promotion will not have a FIAT (USD, EUR, ..) exchange rate but counted as 1 per item quantity. See <a target=\"_blank\" href=\"https://docs.btcpayserver.org/FAQ/Integrations/#token-types\">here</a> for more details."
114119
msgstr ""
115120

@@ -321,56 +326,65 @@ msgid "Makes Satoshis/Sats available as currency \"SAT\" (can be found in WooCom
321326
msgstr ""
322327

323328
#: src/Admin/GlobalSettings.php:250
324-
msgid "Debug Log"
329+
msgid "Customer visible refunds"
325330
msgstr ""
326331

327332
#: src/Admin/GlobalSettings.php:253
328333
msgctxt "global_settings"
334+
msgid "If enabled, it will show the order refund note also to the customer and trigger an email to customer with the refund link."
335+
msgstr ""
336+
337+
#: src/Admin/GlobalSettings.php:257
338+
msgid "Debug Log"
339+
msgstr ""
340+
341+
#: src/Admin/GlobalSettings.php:260
342+
msgctxt "global_settings"
329343
msgid "Enable logging <a href=\"%s\" class=\"button\">View Logs</a>"
330344
msgstr ""
331345

332-
#: src/Admin/GlobalSettings.php:285
346+
#: src/Admin/GlobalSettings.php:292
333347
msgid "The provided API key scope is valid for multiple stores, please make sure to create one for a single store."
334348
msgstr ""
335349

336-
#: src/Admin/GlobalSettings.php:293
350+
#: src/Admin/GlobalSettings.php:300
337351
msgid "The provided API key does not match the required permissions. Please make sure the following permissions are are given: %s"
338352
msgstr ""
339353

340-
#: src/Admin/GlobalSettings.php:307
354+
#: src/Admin/GlobalSettings.php:314
341355
msgid "Your BTCPay Server is not fully synched yet. Until fully synched the checkout will not work."
342356
msgstr ""
343357

344-
#: src/Admin/GlobalSettings.php:316
358+
#: src/Admin/GlobalSettings.php:323
345359
msgid "Your BTCPay Server version does not support refunds, please update to at least version 1.7.6 or newer."
346360
msgstr ""
347361

348-
#: src/Admin/GlobalSettings.php:322
362+
#: src/Admin/GlobalSettings.php:329
349363
msgid "Your api key does not support refunds, if you want to use that feature you need to create a new API key with permission. See our guide <a href=\"https://docs.btcpayserver.org/WooCommerce/#create-a-new-api-key\" target=\"_blank\" rel=\"noreferrer\">here</a>."
350364
msgstr ""
351365

352-
#: src/Admin/GlobalSettings.php:345
353-
#: src/Admin/GlobalSettings.php:366
366+
#: src/Admin/GlobalSettings.php:352
367+
#: src/Admin/GlobalSettings.php:373
354368
msgid "Successfully setup manual webhook."
355369
msgstr ""
356370

357-
#: src/Admin/GlobalSettings.php:349
371+
#: src/Admin/GlobalSettings.php:356
358372
msgid "Webhook already exists, skipping webhook creation."
359373
msgstr ""
360374

361-
#: src/Admin/GlobalSettings.php:391
375+
#: src/Admin/GlobalSettings.php:398
362376
msgid "No wallet configured on your BTCPay Server store settings. Make sure to add at least one otherwise this plugin will not work."
363377
msgstr ""
364378

365-
#: src/Admin/GlobalSettings.php:397
379+
#: src/Admin/GlobalSettings.php:404
366380
msgid "Exception loading wallet information (payment methods) from BTCPay Server: %s."
367381
msgstr ""
368382

369-
#: src/Admin/GlobalSettings.php:406
383+
#: src/Admin/GlobalSettings.php:413
370384
msgid "Error fetching data for this API key from server. Please check if the key is valid. Error: %s"
371385
msgstr ""
372386

373-
#: src/Admin/GlobalSettings.php:423
387+
#: src/Admin/GlobalSettings.php:430
374388
msgid "The PHP bcmath extension is not installed. Make sure it is available otherwise the \"Sats-Mode\" will not work. Disabled Sats-Mode until requirements are met."
375389
msgstr ""
376390

@@ -411,102 +425,107 @@ msgstr ""
411425
msgid "Can't process order. Please contact us if the problem persists."
412426
msgstr ""
413427

414-
#: src/Gateway/AbstractGateway.php:222
428+
#: src/Gateway/AbstractGateway.php:223
415429
msgid "Refund of order "
416430
msgstr ""
417431

418-
#: src/Gateway/AbstractGateway.php:300
432+
#: src/Gateway/AbstractGateway.php:307
419433
msgid "Gateway Icon:"
420434
msgstr ""
421435

422-
#: src/Gateway/AbstractGateway.php:305
436+
#: src/Gateway/AbstractGateway.php:312
423437
msgid "Upload or select icon"
424438
msgstr ""
425439

426-
#: src/Gateway/AbstractGateway.php:311
440+
#: src/Gateway/AbstractGateway.php:318
427441
msgid "Remove image"
428442
msgstr ""
429443

430-
#: src/Gateway/AbstractGateway.php:361
444+
#: src/Gateway/AbstractGateway.php:368
431445
msgid "Use this image"
432446
msgstr ""
433447

434-
#: src/Gateway/AbstractGateway.php:362
448+
#: src/Gateway/AbstractGateway.php:369
435449
msgid "Insert image"
436450
msgstr ""
437451

438-
#: src/Gateway/AbstractGateway.php:412
452+
#: src/Gateway/AbstractGateway.php:419
439453
msgctxt "js"
440454
msgid "The invoice expired. Please try again, choose a different payment method or contact us if you paid but the payment did not confirm in time."
441455
msgstr ""
442456

443-
#: src/Gateway/AbstractGateway.php:413
457+
#: src/Gateway/AbstractGateway.php:420
458+
msgctxt "js"
459+
msgid "The invoice is invalid. Please try again, choose a different payment method or contact us if you paid but the payment did not confirm in time."
460+
msgstr ""
461+
462+
#: src/Gateway/AbstractGateway.php:421
444463
msgctxt "js"
445464
msgid "Payment aborted by you. Please try again or choose a different payment method."
446465
msgstr ""
447466

448-
#: src/Gateway/AbstractGateway.php:414
467+
#: src/Gateway/AbstractGateway.php:422
449468
msgctxt "js"
450469
msgid "Error processing checkout. Please try again or choose another payment option."
451470
msgstr ""
452471

453-
#: src/Gateway/AbstractGateway.php:496
472+
#: src/Gateway/AbstractGateway.php:510
454473
msgid "Webhook (%s) received from BTCPay, but the order is already processing or completed, skipping to update order status. Please manually check if everything is alright."
455474
msgstr ""
456475

457-
#: src/Gateway/AbstractGateway.php:508
476+
#: src/Gateway/AbstractGateway.php:522
458477
msgid "Invoice (partial) payment incoming (unconfirmed) after invoice was already expired."
459478
msgstr ""
460479

461-
#: src/Gateway/AbstractGateway.php:511
480+
#: src/Gateway/AbstractGateway.php:525
462481
msgid "Invoice (partial) payment incoming (unconfirmed). Waiting for settlement."
463482
msgstr ""
464483

465-
#: src/Gateway/AbstractGateway.php:530
484+
#: src/Gateway/AbstractGateway.php:544
466485
msgid "Invoice fully settled after invoice was already expired. Needs manual checking."
467486
msgstr ""
468487

469-
#: src/Gateway/AbstractGateway.php:535
488+
#: src/Gateway/AbstractGateway.php:549
470489
msgid "(Partial) payment settled but invoice not settled yet (could be more transactions incoming). Needs manual checking."
471490
msgstr ""
472491

473-
#: src/Gateway/AbstractGateway.php:539
492+
#: src/Gateway/AbstractGateway.php:553
474493
msgid "Invoice (partial) payment settled."
475494
msgstr ""
476495

477-
#: src/Gateway/AbstractGateway.php:549
496+
#: src/Gateway/AbstractGateway.php:563
478497
msgid "Invoice payment received fully with overpayment, waiting for settlement."
479498
msgstr ""
480499

481-
#: src/Gateway/AbstractGateway.php:551
500+
#: src/Gateway/AbstractGateway.php:565
482501
msgid "Invoice payment received fully, waiting for settlement."
483502
msgstr ""
484503

485-
#: src/Gateway/AbstractGateway.php:557
504+
#: src/Gateway/AbstractGateway.php:571
486505
msgid "Invoice manually marked invalid."
487506
msgstr ""
488507

489-
#: src/Gateway/AbstractGateway.php:559
508+
#: src/Gateway/AbstractGateway.php:573
490509
msgid "Invoice became invalid."
491510
msgstr ""
492511

493-
#: src/Gateway/AbstractGateway.php:565
512+
#: src/Gateway/AbstractGateway.php:579
494513
msgid "Invoice expired but was paid partially, please check."
495514
msgstr ""
496515

497-
#: src/Gateway/AbstractGateway.php:568
516+
#: src/Gateway/AbstractGateway.php:582
498517
msgid "Invoice expired."
499518
msgstr ""
500519

501-
#: src/Gateway/AbstractGateway.php:574
520+
#: src/Gateway/AbstractGateway.php:588
502521
msgid "Invoice payment settled but was overpaid."
503522
msgstr ""
504523

505-
#: src/Gateway/AbstractGateway.php:577
524+
#: src/Gateway/AbstractGateway.php:591
506525
msgid "Invoice payment settled."
507526
msgstr ""
508527

509-
#: src/Gateway/AbstractGateway.php:620
528+
#: src/Gateway/AbstractGateway.php:634
510529
msgid "BTCPay invoice manually set to invalid because customer went back to checkout and changed payment gateway."
511530
msgstr ""
512531

readme.txt

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Contributors: ndeet, kukks, nicolasdorier
33
Donate link: https://btcpayserver.org/donate/
44
Tags: Bitcoin, Lightning Network, BTCPay Server, WooCommerce, payment gateway
5-
Requires at least: 5.2
6-
Tested up to: 6.5
5+
Requires at least: 5.9
6+
Tested up to: 6.6
77
Requires PHP: 8.0
8-
Stable tag: 2.6.2
8+
Stable tag: 2.7.0
99
License: MIT
1010
License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt
1111

@@ -111,10 +111,26 @@ You'll find extensive documentation and answers to many of your questions on [BT
111111
6. On BTCPay Server you have extensive reporting and accounting features.
112112

113113
== Upgrade Notice ==
114-
= 2.6.2 =
115-
* Notifications fix, buttons should now work.
114+
115+
116+
117+
= 2.7.0 =
118+
* IMPORTANT: If you use the "Separate Payment gateways" feature, when you upgrade your BTCPay Server to version 2.0.0 or newer, you will need to reconfigure your payment gateways in WooCommerce. This is due to the new way of handling and naming payment methods in BTCPay Server.
119+
* Feature: Add option to notify customers on refund order notes.
120+
* Feature: BTCPay Server 2.0.0 compatibility.
121+
* Fixes see changelog.
116122

117123
== Changelog ==
124+
= 2.7.0 :: 2024-09-04 =
125+
* Feature: Add option to notify customers on refund order notes.
126+
* Feature: BTCPay Server 2.0.0 compatibility.
127+
* Fix: Make sure to not process orders if the assigned payment gateway is not one of BTCPay.
128+
* Fix: Make sure payment methods are set on refunds.
129+
* Fix: Wrong currency in refund comment.
130+
* Fix: Deprecation warnings.
131+
* Maintenance: Update NodeJS dependencies.
132+
* Maintenance: Update PHP library to v2.7.0.
133+
118134
= 2.6.2 :: 2024-04-09 =
119135
* Fix: Dismissing the review notification forever, finally.
120136

@@ -132,15 +148,5 @@ You'll find extensive documentation and answers to many of your questions on [BT
132148
* Fix: Formatting in readme.txt
133149
* Add support for modal overlay for checkout blocks.
134150

135-
= 2.4.1 :: 2024-01-22 =
136-
* Fix: Ensure order status is not cancelled if paid by other payment gateway.
137-
* Show periodically notification to review the plugin.
138-
* Updating readme.txt (fixing text, updating banner and screenshots)
139-
140-
= 2.4.0 :: 2023-12-15 =
141-
* Fix: Avoid error on InvoiceProcessing/InvoiceSettled event in case of paidOver property is missing.
142-
* New feature: Add basic support for WooCommerce cart and checkout blocks.
143-
Note: Works for default configuration; future versions will make it work with modal checkout and separate payment gateways too.
144-
145151

146152
Changelog of older releases can be found [here](https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/changelog.txt)

0 commit comments

Comments
 (0)