diff --git a/btcpay-for-givewp.php b/btcpay-for-givewp.php index a8ef93d..96bcea1 100644 --- a/btcpay-for-givewp.php +++ b/btcpay-for-givewp.php @@ -12,7 +12,7 @@ * License URI: https://opensource.org/licenses/MIT * Requires PHP: 8.1 * Requires at least: 6.0 - * Tested up to: 6.7 + * Tested up to: 6.8 * Requires Plugins: give * GiveWP tested up to: 3.22.2 */ diff --git a/readme.txt b/readme.txt index 54233ee..4d6c68f 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === BTCPay for GiveWP === Contributors: ndeet Tags: Bitcoin, BTCPay Server, cryptocurrency, GiveWP, donations -Requires at least: 5.0 +Requires at least: 6.0 Tested up to: 6.8 Stable tag: 1.0.0 Requires Give: 2.24.0 diff --git a/src/Gateway/BtcpayGateway.php b/src/Gateway/BtcpayGateway.php index a8fb2e1..eff42cf 100644 --- a/src/Gateway/BtcpayGateway.php +++ b/src/Gateway/BtcpayGateway.php @@ -238,7 +238,7 @@ class BtcpayGateway extends PaymentGateway break; case 'InvoiceExpired': // Handle invoice expired event - if ($payload->partiallyPaid) { + if (rest_sanitize_boolean($payload->partiallyPaid)) { $donation->status = DonationStatus::PROCESSING(); DonationNote::create([