From f349999cd3baf8d67e5cd911c1dedc65e9cb6236 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Wed, 4 Oct 2023 10:08:43 +0000 Subject: [PATCH 01/12] Update deploy.yml changed the version number --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 94e7877..7845cff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v1.3.2 - name: WordPress Plugin Deploy id: deploy uses: 10up/action-wordpress-plugin-deploy@stable @@ -26,4 +26,4 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: ${{ steps.deploy.outputs.zip-path }} asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip From 716d6afa02c26c23f51fb34c54afd22a0c0b3c74 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Wed, 4 Oct 2023 10:14:22 +0000 Subject: [PATCH 02/12] Update deploy.yml reverted changes --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7845cff..7a64aeb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v1.3.2 + uses: actions/checkout@v2 - name: WordPress Plugin Deploy id: deploy uses: 10up/action-wordpress-plugin-deploy@stable From 8302e2e4138fb78212c3800be2a9ba4cc1a53079 Mon Sep 17 00:00:00 2001 From: Owuree Date: Wed, 17 Jan 2024 11:24:42 +0100 Subject: [PATCH 03/12] fixed the expiredOn parameter bug on subscription --- MeprPaystackGateway.php | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/MeprPaystackGateway.php b/MeprPaystackGateway.php index 9074650..b881d3f 100644 --- a/MeprPaystackGateway.php +++ b/MeprPaystackGateway.php @@ -383,12 +383,30 @@ public function record_create_subscription() // If no trial or trial amount is zero then we've got to make // sure the confirmation txn lasts through the trial - if (!$sub->trial || ($sub->trial && $sub->trial_amount <= 0.00)) { - $trial_days = ($sub->trial) ? $sub->trial_days : $mepr_options->grace_init_days; + // if (!$sub->trial || ($sub->trial && $sub->trial_amount <= 0.00)) { + // $trial_days = ($sub->trial) ? $sub->trial_days : $mepr_options->grace_init_days; + // $txn->status = MeprTransaction::$confirmed_str; + // $txn->txn_type = MeprTransaction::$subscription_confirmation_str; + // $txn->expires_at = MeprUtils::ts_to_mysql_date(time() + MeprUtils::days($trial_days), 'Y-m-d 23:59:59'); + // $txn->set_subtotal(0.00); // Just a confirmation txn + // $txn->store(); + // } + + if (!$sub->trial) { + $txn->status = MeprTransaction::$confirmed_str; + $txn->txn_type = MeprTransaction::$subscription_confirmation_str; + $next_payment_date = $sdata->next_payment_date; + $txn->expires_at = MeprUtils::ts_to_mysql_date(strtotime($next_payment_date), 'Y-m-d 23:59:59'); + + $txn->store(); + } + + else if($sub->trial && $sub->trial_amount <= 0.00) { + $trial_days = $sub->trial_days; $txn->status = MeprTransaction::$confirmed_str; $txn->txn_type = MeprTransaction::$subscription_confirmation_str; $txn->expires_at = MeprUtils::ts_to_mysql_date(time() + MeprUtils::days($trial_days), 'Y-m-d 23:59:59'); - $txn->set_subtotal(0.00); // Just a confirmation txn + $txn->store(); } From cd079cf270c0d12437b6aada5dc85f7ff66d531d Mon Sep 17 00:00:00 2001 From: Owuree Date: Sun, 21 Jan 2024 18:43:05 +0100 Subject: [PATCH 04/12] updated the readme.txt and main.php files with v1.3.3 --- main.php | 2 +- readme.txt | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/main.php b/main.php index c480fc4..d48b7c3 100644 --- a/main.php +++ b/main.php @@ -4,7 +4,7 @@ * Plugin Name: MemberPress Paystack * Plugin URI: https://wordpress.org/plugins/paystack-memberpress/ * Description: Paystack integration for MemberPress. - * Version: 1.3.2 + * Version: 1.3.3 * Author: Paystack * Author URI: https://paystack.com/ * Developer: Wisdom Ebong diff --git a/readme.txt b/readme.txt index 1a96861..342ebb6 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 Tested up to: 6.3 Requires PHP: 7.2 and higher -Stable tag: 1.3.2 +Stable tag: 1.3.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -83,6 +83,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == += 1.3.3 = +* Bug fixes + = 1.3.2 - Septmber 26, 2023 = * Compatibility with WordPress 6.3 and PHP 8.2.0 @@ -93,3 +96,6 @@ Here you can browse the source, look at open issues and keep track of developmen = 1.3.2 = * Compatibility with WordPress 6.3 and PHP 8.2.0 + += 1.3.3 = +* Bug fixes From bf46e043cbeaa437556691238df0028f37991003 Mon Sep 17 00:00:00 2001 From: Owuree Date: Mon, 22 Jan 2024 12:48:15 +0100 Subject: [PATCH 05/12] updated the readme.txt file --- readme.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index 342ebb6..11e769c 100644 --- a/readme.txt +++ b/readme.txt @@ -84,7 +84,7 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == = 1.3.3 = -* Bug fixes +* Fixed incorrect date set on expiredOn parameter = 1.3.2 - Septmber 26, 2023 = * Compatibility with WordPress 6.3 and PHP 8.2.0 @@ -98,4 +98,4 @@ Here you can browse the source, look at open issues and keep track of developmen * Compatibility with WordPress 6.3 and PHP 8.2.0 = 1.3.3 = -* Bug fixes +* Fixed incorrect date set on expiredOn parameter From 4a96ccb84cc2831de84e2f2e9597f15cfd5f4812 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Wed, 21 Aug 2024 11:09:06 +0000 Subject: [PATCH 06/12] Resolved conflicts between patch/v1.3.3 and master --- readme.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 11e769c..13dd3eb 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: paystack, kaneahabagale Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 -Tested up to: 6.3 +Tested up to: 6.6 Requires PHP: 7.2 and higher Stable tag: 1.3.3 License: GPLv2 or later @@ -83,6 +83,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == += 1.3.4 - August 8, 2024 = +* Compatibility with WordPress 6.3 and PHP 8.2.0 + = 1.3.3 = * Fixed incorrect date set on expiredOn parameter @@ -94,6 +97,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Upgrade Notice == += 1.3.3 = +* Compatibility with WordPress 6.6 and PHP 8.2.0 + = 1.3.2 = * Compatibility with WordPress 6.3 and PHP 8.2.0 From bacc2d982718df65dc66710902ba15d56d8b177d Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Wed, 21 Aug 2024 15:22:24 +0000 Subject: [PATCH 07/12] created a new patch number, updated changelog & upgrade notice --- readme.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index 13dd3eb..415c9a3 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 Tested up to: 6.6 Requires PHP: 7.2 and higher -Stable tag: 1.3.3 +Stable tag: 1.3.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -84,7 +84,7 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == = 1.3.4 - August 8, 2024 = -* Compatibility with WordPress 6.3 and PHP 8.2.0 +* Compatibility with WordPress 6.6 and PHP 8.2.0 = 1.3.3 = * Fixed incorrect date set on expiredOn parameter @@ -97,11 +97,12 @@ Here you can browse the source, look at open issues and keep track of developmen == Upgrade Notice == -= 1.3.3 = += 1.3.4 = * Compatibility with WordPress 6.6 and PHP 8.2.0 += 1.3.3 = +* Fixed incorrect date set on expiredOn parameter + = 1.3.2 = * Compatibility with WordPress 6.3 and PHP 8.2.0 -= 1.3.3 = -* Fixed incorrect date set on expiredOn parameter From be233109f4fa3e82721d6945beff5c18485e5ab4 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Tue, 3 Sep 2024 09:11:54 +0000 Subject: [PATCH 08/12] Updated the plugin version number to 1.3.4 --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.php b/main.php index d48b7c3..70fddf2 100644 --- a/main.php +++ b/main.php @@ -4,7 +4,7 @@ * Plugin Name: MemberPress Paystack * Plugin URI: https://wordpress.org/plugins/paystack-memberpress/ * Description: Paystack integration for MemberPress. - * Version: 1.3.3 + * Version: 1.3.4 * Author: Paystack * Author URI: https://paystack.com/ * Developer: Wisdom Ebong From 3da77ce438365ed4f0c5d5a05bb146753b8588d7 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Tue, 3 Sep 2024 09:20:02 +0000 Subject: [PATCH 09/12] Updated Compatibility with WordPress v6.6.1 and PHP 8.2.0 & the plugin version number to 1.3.5 --- main.php | 2 +- readme.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main.php b/main.php index 70fddf2..5086632 100644 --- a/main.php +++ b/main.php @@ -4,7 +4,7 @@ * Plugin Name: MemberPress Paystack * Plugin URI: https://wordpress.org/plugins/paystack-memberpress/ * Description: Paystack integration for MemberPress. - * Version: 1.3.4 + * Version: 1.3.5 * Author: Paystack * Author URI: https://paystack.com/ * Developer: Wisdom Ebong diff --git a/readme.txt b/readme.txt index 415c9a3..08f4e9e 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: paystack, kaneahabagale Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 -Tested up to: 6.6 +Tested up to: 6.6.1 Requires PHP: 7.2 and higher -Stable tag: 1.3.4 +Stable tag: 1.3.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -83,8 +83,8 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == -= 1.3.4 - August 8, 2024 = -* Compatibility with WordPress 6.6 and PHP 8.2.0 += 1.3.5 - August 8, 2024 = +* Compatibility with WordPress 6.6.1 and PHP 8.2.0 = 1.3.3 = * Fixed incorrect date set on expiredOn parameter @@ -97,8 +97,8 @@ Here you can browse the source, look at open issues and keep track of developmen == Upgrade Notice == -= 1.3.4 = -* Compatibility with WordPress 6.6 and PHP 8.2.0 += 1.3.5 = +* Compatibility with WordPress 6.6.1 and PHP 8.2.0 = 1.3.3 = * Fixed incorrect date set on expiredOn parameter From d3f5636993fe2a73b8df8e0b471a8a489646e8df Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Fri, 10 Oct 2025 13:43:13 +0000 Subject: [PATCH 10/12] Compatibility with WordPress 6.8.2 and PHP 8.2.23 --- .github/workflow | 2 +- main.php | 2 +- readme.txt | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflow b/.github/workflow index 7a64aeb..cbe7ed0 100644 --- a/.github/workflow +++ b/.github/workflow @@ -21,7 +21,7 @@ jobs: - name: Upload release asset uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} asset_path: ${{ steps.deploy.outputs.zip-path }} diff --git a/main.php b/main.php index 5086632..47199bf 100644 --- a/main.php +++ b/main.php @@ -4,7 +4,7 @@ * Plugin Name: MemberPress Paystack * Plugin URI: https://wordpress.org/plugins/paystack-memberpress/ * Description: Paystack integration for MemberPress. - * Version: 1.3.5 + * Version: 1.3.6 * Author: Paystack * Author URI: https://paystack.com/ * Developer: Wisdom Ebong diff --git a/readme.txt b/readme.txt index 08f4e9e..bfda53f 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: paystack, kaneahabagale Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 -Tested up to: 6.6.1 +Tested up to: 6.8.2 Requires PHP: 7.2 and higher -Stable tag: 1.3.5 +Stable tag: 1.3.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -83,6 +83,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == += 1.3.6 - July 21, 2025 = +* Compatibility with WordPress 6.8.2 and PHP 8.2.23 + = 1.3.5 - August 8, 2024 = * Compatibility with WordPress 6.6.1 and PHP 8.2.0 @@ -97,6 +100,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Upgrade Notice == += 1.3.6 - July 21, 2025 = +* Compatibility with WordPress 6.8.2 and PHP 8.2.23 + = 1.3.5 = * Compatibility with WordPress 6.6.1 and PHP 8.2.0 From ece0acebed6e91b895a54bd0f271e40c8d5d86aa Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Sun, 12 Oct 2025 12:31:32 +0000 Subject: [PATCH 11/12] Compatibility with WordPress 6.8.3 and PHP 8.2.23 --- .github/workflows/deploy.yml | 2 +- main.php | 2 +- readme.txt | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a64aeb..cbe7ed0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: - name: Upload release asset uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} asset_path: ${{ steps.deploy.outputs.zip-path }} diff --git a/main.php b/main.php index 47199bf..8bdfd62 100644 --- a/main.php +++ b/main.php @@ -4,7 +4,7 @@ * Plugin Name: MemberPress Paystack * Plugin URI: https://wordpress.org/plugins/paystack-memberpress/ * Description: Paystack integration for MemberPress. - * Version: 1.3.6 + * Version: 1.3.7 * Author: Paystack * Author URI: https://paystack.com/ * Developer: Wisdom Ebong diff --git a/readme.txt b/readme.txt index bfda53f..7454569 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: paystack, kaneahabagale Tags: paystack, billing, subscription, payment, memberpress, Requires at least: 5.1 -Tested up to: 6.8.2 +Tested up to: 6.8.3 Requires PHP: 7.2 and higher -Stable tag: 1.3.6 +Stable tag: 1.3.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -83,6 +83,9 @@ Here you can browse the source, look at open issues and keep track of developmen == Changelog == += 1.3.7 - October 10, 2025 = +* Compatibility with WordPress 6.8.3 and PHP 8.2.23 + = 1.3.6 - July 21, 2025 = * Compatibility with WordPress 6.8.2 and PHP 8.2.23 From fea2d6882a01fd95ec7e01ed6e5ddc32230d739c Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Sun, 12 Oct 2025 12:39:59 +0000 Subject: [PATCH 12/12] updated the Upgrade notice --- readme.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.txt b/readme.txt index 7454569..0f5a341 100644 --- a/readme.txt +++ b/readme.txt @@ -102,6 +102,8 @@ Here you can browse the source, look at open issues and keep track of developmen * Fix: Add support for weekly, quarterly, and yearly plans == Upgrade Notice == += 1.3.7 - October 10, 2025 = +* Compatibility with WordPress 6.8.3 and PHP 8.2.23 = 1.3.6 - July 21, 2025 = * Compatibility with WordPress 6.8.2 and PHP 8.2.23