Changeset 3340332
- Timestamp:
- 08/06/2025 11:42:00 AM (7 months ago)
- Location:
- payment-forms-for-paystack
- Files:
-
- 4 added
- 16 edited
- 1 copied
-
tags/4.0.5 (copied) (copied from payment-forms-for-paystack/trunk)
-
tags/4.0.5/README.md (modified) (1 diff)
-
tags/4.0.5/assets/css/paystack-admin.scss (added)
-
tags/4.0.5/assets/js/paystack-public.js (modified) (4 diffs)
-
tags/4.0.5/includes/classes/class-field-shortcodes.php (modified) (1 diff)
-
tags/4.0.5/includes/classes/class-forms-update.php (modified) (3 diffs)
-
tags/4.0.5/includes/classes/class-helpers.php (modified) (1 diff)
-
tags/4.0.5/includes/classes/class-settings.php (modified) (2 diffs)
-
tags/4.0.5/package.json (added)
-
tags/4.0.5/paystack-forms.php (modified) (2 diffs)
-
tags/4.0.5/readme.txt (modified) (2 diffs)
-
trunk/README.md (modified) (1 diff)
-
trunk/assets/css/paystack-admin.scss (added)
-
trunk/assets/js/paystack-public.js (modified) (4 diffs)
-
trunk/includes/classes/class-field-shortcodes.php (modified) (1 diff)
-
trunk/includes/classes/class-forms-update.php (modified) (3 diffs)
-
trunk/includes/classes/class-helpers.php (modified) (1 diff)
-
trunk/includes/classes/class-settings.php (modified) (2 diffs)
-
trunk/package.json (added)
-
trunk/paystack-forms.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
payment-forms-for-paystack/tags/4.0.5/README.md
r3279082 r3340332 3 3 # Payment Forms for Paystack 4 4 5 Welcome to the Pay ment Forms for Paystack repository on GitHub. Here you can browse the source, look at open issues and keep track of development.5 Welcome to the Paysment Forms for Paystack repository on GitHub. Here you can browse the source, look at open issues and keep track of development. 6 6 7 7 If you are a developer, you can join our Developer Community on [Slack](https://slack.paystack.com). -
payment-forms-for-paystack/tags/4.0.5/assets/js/paystack-public.js
r3286247 r3340332 165 165 } 166 166 ); 167 167 168 if ($("#pf-quantity").length) { 168 169 $( "#pf-quantity" ).on( 'change', function(event){ … … 206 207 .val(); 207 208 } 208 209 209 210 210 if (Number(amount) > 0) { … … 229 229 return false; 230 230 } 231 231 232 if (checkMinimumVal() == false) { 232 233 $(this) … … 596 597 } 597 598 ); 598 599 599 600 600 function checkMinimumVal() { -
payment-forms-for-paystack/tags/4.0.5/includes/classes/class-field-shortcodes.php
r3284067 r3340332 314 314 315 315 /** 316 * Sanitize and escape value for HTML rendering.317 * 318 * @param string $value 316 * Sanitize and escape a string for safe HTML output. 317 * 318 * @param string $value The input string to sanitize and escape. 319 319 * @return string The sanitized and escaped string. 320 320 */ -
payment-forms-for-paystack/tags/4.0.5/includes/classes/class-forms-update.php
r3210130 r3340332 290 290 // Add in our "normal" meta boxes 291 291 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' ); 293 293 294 294 // Add in our "side" meta boxes … … 456 456 * @return void 457 457 */ 458 public function email_data() {458 /*public function email_data() { 459 459 $html = []; 460 460 // Echo out the field … … 479 479 480 480 echo wp_kses( implode( '', $html ), $this->allowed_html ); 481 } 481 }*/ 482 482 483 483 /** -
payment-forms-for-paystack/tags/4.0.5/includes/classes/class-helpers.php
r3238170 r3340332 44 44 $this->defaults = [ 45 45 'amount' => 0, 46 'merchant' => '', 46 47 'paybtn' => esc_html__( 'Pay', 'pff-paystack' ), 47 48 'successmsg' => esc_html__( 'Thank you for paying!', 'pff-paystack' ), -
payment-forms-for-paystack/tags/4.0.5/includes/classes/class-settings.php
r3279082 r3340332 102 102 foreach ( $fields as $group => $fields ) { 103 103 foreach ( $fields as $field_key => $args ) { 104 register_setting( 'kkd-pff-paystack-settings-group', $field_key );104 register_setting( 'kkd-pff-paystack-settings-group', $field_key, [ $this, 'sanitise_field' ] ); 105 105 } 106 106 } … … 197 197 * 198 198 * @param string $value 199 * @return string199 * / 200 200 * 201 201 */ -
payment-forms-for-paystack/tags/4.0.5/paystack-forms.php
r3286247 r3340332 4 4 Plugin URI: https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack 5 5 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. 46 Version: 4.0.5 7 7 Author: Paystack 8 8 Author URI: http://paystack.com … … 17 17 define( 'PFF_PAYSTACK_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 18 18 define( 'PFF_PAYSTACK_MAIN_FILE', __FILE__ ); 19 define( 'PFF_PAYSTACK_VERSION', '4.0. 4' );19 define( 'PFF_PAYSTACK_VERSION', '4.0.5' ); 20 20 define( 'PFF_PAYSTACK_TABLE', 'paystack_forms_payments' ); 21 21 define( 'PFF_PLUGIN_BASENAME', plugin_basename(__FILE__) ); -
payment-forms-for-paystack/tags/4.0.5/readme.txt
r3286247 r3340332 1 1 === Payment Forms for Paystack === 2 Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia 2 Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia, kaneahabagale 3 3 Donate link: https://paystack.com/demo 4 4 Tags: paystack, recurrent payments, donation, forms, payments 5 5 Requires at least: 5.0 6 Tested up to: 6. 77 Stable tag: 4.0. 46 Tested up to: 6.8.1 7 Stable tag: 4.0.5 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 92 92 93 93 == Changelog == 94 95 = 4.0.5 = 96 * * Compatibility with WordPress 6.8.1 and PHP 8.4.4 97 94 98 = 4.0.4 = 95 99 * Fixing the UAT error with the amount field and minimum amounts. -
payment-forms-for-paystack/trunk/README.md
r3279082 r3340332 3 3 # Payment Forms for Paystack 4 4 5 Welcome to the Pay ment Forms for Paystack repository on GitHub. Here you can browse the source, look at open issues and keep track of development.5 Welcome to the Paysment Forms for Paystack repository on GitHub. Here you can browse the source, look at open issues and keep track of development. 6 6 7 7 If you are a developer, you can join our Developer Community on [Slack](https://slack.paystack.com). -
payment-forms-for-paystack/trunk/assets/js/paystack-public.js
r3286247 r3340332 165 165 } 166 166 ); 167 167 168 if ($("#pf-quantity").length) { 168 169 $( "#pf-quantity" ).on( 'change', function(event){ … … 206 207 .val(); 207 208 } 208 209 209 210 210 if (Number(amount) > 0) { … … 229 229 return false; 230 230 } 231 231 232 if (checkMinimumVal() == false) { 232 233 $(this) … … 596 597 } 597 598 ); 598 599 599 600 600 function checkMinimumVal() { -
payment-forms-for-paystack/trunk/includes/classes/class-field-shortcodes.php
r3284067 r3340332 314 314 315 315 /** 316 * Sanitize and escape value for HTML rendering.317 * 318 * @param string $value 316 * Sanitize and escape a string for safe HTML output. 317 * 318 * @param string $value The input string to sanitize and escape. 319 319 * @return string The sanitized and escaped string. 320 320 */ -
payment-forms-for-paystack/trunk/includes/classes/class-forms-update.php
r3210130 r3340332 290 290 // Add in our "normal" meta boxes 291 291 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' ); 293 293 294 294 // Add in our "side" meta boxes … … 456 456 * @return void 457 457 */ 458 public function email_data() {458 /*public function email_data() { 459 459 $html = []; 460 460 // Echo out the field … … 479 479 480 480 echo wp_kses( implode( '', $html ), $this->allowed_html ); 481 } 481 }*/ 482 482 483 483 /** -
payment-forms-for-paystack/trunk/includes/classes/class-helpers.php
r3238170 r3340332 44 44 $this->defaults = [ 45 45 'amount' => 0, 46 'merchant' => '', 46 47 'paybtn' => esc_html__( 'Pay', 'pff-paystack' ), 47 48 'successmsg' => esc_html__( 'Thank you for paying!', 'pff-paystack' ), -
payment-forms-for-paystack/trunk/includes/classes/class-settings.php
r3279082 r3340332 102 102 foreach ( $fields as $group => $fields ) { 103 103 foreach ( $fields as $field_key => $args ) { 104 register_setting( 'kkd-pff-paystack-settings-group', $field_key );104 register_setting( 'kkd-pff-paystack-settings-group', $field_key, [ $this, 'sanitise_field' ] ); 105 105 } 106 106 } … … 197 197 * 198 198 * @param string $value 199 * @return string199 * / 200 200 * 201 201 */ -
payment-forms-for-paystack/trunk/paystack-forms.php
r3286247 r3340332 4 4 Plugin URI: https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack 5 5 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. 46 Version: 4.0.5 7 7 Author: Paystack 8 8 Author URI: http://paystack.com … … 17 17 define( 'PFF_PAYSTACK_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 18 18 define( 'PFF_PAYSTACK_MAIN_FILE', __FILE__ ); 19 define( 'PFF_PAYSTACK_VERSION', '4.0. 4' );19 define( 'PFF_PAYSTACK_VERSION', '4.0.5' ); 20 20 define( 'PFF_PAYSTACK_TABLE', 'paystack_forms_payments' ); 21 21 define( 'PFF_PLUGIN_BASENAME', plugin_basename(__FILE__) ); -
payment-forms-for-paystack/trunk/readme.txt
r3286247 r3340332 1 1 === Payment Forms for Paystack === 2 Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia 2 Contributors: paystack, kendysond, steveamaza, krugazul, feedmymedia, kaneahabagale 3 3 Donate link: https://paystack.com/demo 4 4 Tags: paystack, recurrent payments, donation, forms, payments 5 5 Requires at least: 5.0 6 Tested up to: 6. 77 Stable tag: 4.0. 46 Tested up to: 6.8.1 7 Stable tag: 4.0.5 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 92 92 93 93 == Changelog == 94 95 = 4.0.5 = 96 * * Compatibility with WordPress 6.8.1 and PHP 8.4.4 97 94 98 = 4.0.4 = 95 99 * Fixing the UAT error with the amount field and minimum amounts.
Note: See TracChangeset
for help on using the changeset viewer.