From 221edce862331940acb035898e862a10518a5608 Mon Sep 17 00:00:00 2001 From: Paulo Iankoski Date: Tue, 11 Jun 2024 13:33:32 -0300 Subject: [PATCH] chore: prepare release 3.12.2 --- give.php | 4 ++-- readme.txt | 6 +++++- .../Actions/ConvertEventTicketsBlockToFieldsApi.php | 2 +- .../Gateways/PayPalCommerce/payPalCommerceGateway.tsx | 10 +++++----- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/give.php b/give.php index 581e10c560..3733cfd64a 100644 --- a/give.php +++ b/give.php @@ -6,7 +6,7 @@ * Description: The most robust, flexible, and intuitive way to accept donations on WordPress. * Author: GiveWP * Author URI: https://givewp.com/ - * Version: 3.12.1 + * Version: 3.12.2 * Requires at least: 6.3 * Requires PHP: 7.2 * Text Domain: give @@ -404,7 +404,7 @@ private function setup_constants() { // Plugin version. if (!defined('GIVE_VERSION')) { - define('GIVE_VERSION', '3.12.1'); + define('GIVE_VERSION', '3.12.2'); } // Plugin Root File. diff --git a/readme.txt b/readme.txt index 21ccb9af11..c8c3000fee 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding Requires at least: 6.3 Tested up to: 6.5 Requires PHP: 7.2 -Stable tag: 3.12.1 +Stable tag: 3.12.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -262,6 +262,10 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri 10. Use almost any payment gateway integration with GiveWP through our add-ons or by creating your own add-on. == Changelog == += 3.12.2: June 11th, 2024 = +* Fix: Resolved an issue where only the donation amount was sent to PayPal, ignoring event ticket values for one-time donations. +* Fix: Resolved an issue where donations were processed on PayPal but not recorded in GiveWP due to missing city, state, and zip fields. + = 3.12.1: June 5th, 2024 = * Fix: Resolved an issue where the Donor Phone field was not included in the donor export * Fix: Resolved an issue where the Billing Address field was not saved in Stripe diff --git a/src/EventTickets/Actions/ConvertEventTicketsBlockToFieldsApi.php b/src/EventTickets/Actions/ConvertEventTicketsBlockToFieldsApi.php index e702b1c766..e766fa588f 100644 --- a/src/EventTickets/Actions/ConvertEventTicketsBlockToFieldsApi.php +++ b/src/EventTickets/Actions/ConvertEventTicketsBlockToFieldsApi.php @@ -14,7 +14,7 @@ class ConvertEventTicketsBlockToFieldsApi { /** - * @unreleased Remove event ID from field name + * @since 3.12.2 Remove event ID from field name * @since 3.6.0 * * @throws EmptyNameException diff --git a/src/PaymentGateways/Gateways/PayPalCommerce/payPalCommerceGateway.tsx b/src/PaymentGateways/Gateways/PayPalCommerce/payPalCommerceGateway.tsx index 1ec2876f9a..b37bc27fb2 100644 --- a/src/PaymentGateways/Gateways/PayPalCommerce/payPalCommerceGateway.tsx +++ b/src/PaymentGateways/Gateways/PayPalCommerce/payPalCommerceGateway.tsx @@ -53,7 +53,7 @@ import {PayPalSubscriber} from './types'; let eventTickets; /** - * @unreleased + * @since 3.12.2 */ const getEventTicketsTotalAmount = ( eventTickets: Array<{ @@ -316,28 +316,28 @@ import {PayPalSubscriber} from './types'; }; /** - * @unreleased + * @since 3.12.2 */ const getRequiredValidationMessage = () => { return __('This is a required field', 'give'); }; /** - * @unreleased + * @since 3.12.2 */ const isCityRequired = () => { return Boolean(document.querySelector('.givewp-fields-text-city .givewp-field-required')); }; /** - * @unreleased + * @since 3.12.2 */ const isStateRequired = () => { return Boolean(document.querySelector('.givewp-fields-select-state .givewp-field-required')); }; /** - * @unreleased + * @since 3.12.2 */ const isZipRequired = () => { return Boolean(document.querySelector('.givewp-fields-text-zip .givewp-field-required'));