Skip to content

Commit b606a6a

Browse files
Merge pull request #105 from PaystackOSS/patch/v4.0.5
Updates
2 parents 4a49ff5 + 5b1ba2f commit b606a6a

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Upload release asset
2222
uses: actions/upload-release-asset@v1
2323
env:
24-
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
with:
2626
upload_url: ${{ github.event.release.upload_url }}
2727
asset_path: ${{ steps.deploy.outputs.zip-path }}

includes/classes/class-forms-update.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function register_meta_boxes() {
289289

290290
// Add in our "normal" meta boxes
291291
add_meta_box( 'form_data', esc_html__( 'Extra Form Description', 'pff-paystack' ), [ $this, 'form_data' ], 'paystack_form', 'normal', 'default' );
292-
add_meta_box( 'email_data', esc_html__( 'Email Receipt Settings', 'pff-paystack' ), [ $this, 'email_data' ], 'paystack_form', 'normal', 'default' );
292+
//add_meta_box( 'email_data', esc_html__( 'Email Receipt Settings', 'pff-paystack' ), [ $this, 'email_data' ], 'paystack_form', 'normal', 'default' );
293293

294294
// Add in our "side" meta boxes
295295
add_meta_box( 'recuring_data', esc_html__( 'Recurring Payment', 'pff-paystack' ), [ $this, 'recur_data' ], 'paystack_form', 'side', 'default' );
@@ -455,7 +455,7 @@ public function recur_data(){
455455
*
456456
* @return void
457457
*/
458-
public function email_data() {
458+
/*public function email_data() {
459459
$html = [];
460460
// Echo out the field
461461
$html[] = '<p>' . esc_html__('Send an invoice when a payment is attempted:', 'pff-paystack') . '</p>';
@@ -478,7 +478,7 @@ public function email_data() {
478478
$html[] = '<textarea rows="6" name="_message" class="widefat">' . $this->meta['message'] . '</textarea>';
479479
480480
echo wp_kses( implode( '', $html ), $this->allowed_html );
481-
}
481+
}*/
482482

483483
/**
484484
* Add the quantity metabox

includes/classes/class-helpers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class Helpers {
4343
public function __construct() {
4444
$this->defaults = [
4545
'amount' => 0,
46+
'merchant' => '',
4647
'paybtn' => esc_html__( 'Pay', 'pff-paystack' ),
4748
'successmsg' => esc_html__( 'Thank you for paying!', 'pff-paystack' ),
4849
'txncharge' => 'merchant',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pff-paystack",
3-
"version": "4.0.3",
3+
"version": "4.0.5",
44
"description": "Paystack Payment forms for WordPress",
55
"main": "gulpfile.js",
66
"scripts": {

paystack-forms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Payment Forms for Paystack
44
Plugin URI: https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack
55
Description: Payment Forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
6-
Version: 4.0.4
6+
Version: 4.0.5
77
Author: Paystack
88
Author URI: http://paystack.com
99
License: GPL-2.0+
@@ -16,7 +16,7 @@
1616
define( 'PFF_PAYSTACK_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
1717
define( 'PFF_PAYSTACK_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
1818
define( 'PFF_PAYSTACK_MAIN_FILE', __FILE__ );
19-
define( 'PFF_PAYSTACK_VERSION', '4.0.4' );
19+
define( 'PFF_PAYSTACK_VERSION', '4.0.5' );
2020
define( 'PFF_PAYSTACK_TABLE', 'paystack_forms_payments' );
2121
define( 'PFF_PLUGIN_BASENAME', plugin_basename(__FILE__) );
2222
define( 'PFF_PLUGIN_NAME', 'pff-paystack' );

readme.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Payment Forms for Paystack ===
2-
Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia
2+
Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia, kaneahabagale
33
Donate link: https://paystack.com/demo
44
Tags: paystack, recurrent payments, donation, forms, payments
55
Requires at least: 5.0
6-
Tested up to: 6.7
7-
Stable tag: 4.0.4
6+
Tested up to: 6.8.1
7+
Stable tag: 4.0.5
88
Requires PHP: 7.4
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -91,6 +91,10 @@ If you get stuck, you can ask for help in the [Payment Forms for Paystack Plugin
9191
Yes you can! Join in on our [GitHub repository](https://github.com/PaystackOSS/plugin-payment-forms-for-wordpress) :)
9292

9393
== Changelog ==
94+
95+
= 4.0.5 =
96+
* * Compatibility with WordPress 6.8.1 and PHP 8.4.4
97+
9498
= 4.0.4 =
9599
* Fixing the UAT error with the amount field and minimum amounts.
96100

0 commit comments

Comments
 (0)