Skip to content

Commit 080a909

Browse files
committed
Bug fixes
1 parent 902637a commit 080a909

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://paystack.com/demo
44
Tags: paystack, recurrent payments, nigeria, mastercard, visa, target,Naira,payments,verve,donation,church,NGO,form,contact form 7, form,
55
Requires at least: 3.1
66
Tested up to: 4.8.1
7-
Stable tag: 2.1.9
7+
Stable tag: 2.2.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -84,6 +84,8 @@ You can also follow us on Twitter! **[@paystack](http://twitter.com/paystack)**
8484

8585

8686
== Changelog ==
87+
= 2.2.0 =
88+
* Bug fixes
8789
= 2.1.9 =
8890
* Fix JS bug associated with variable amount
8991
* Added checkbox to hide form title

admin/class-paystack-forms-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function kkd_pff_paystack_editor_add_form_data() {
299299
if ($currency == "") {$currency = 'NGN';}
300300
if ($txncharge == "") {$txncharge = 'merchant';}
301301
if ($minimum == "") {$minimum = 0;}
302-
if ($uservariableamount == "") {$uservariableamount = 0;}
302+
if ($usevariableamount == "") {$usevariableamount = 0;}
303303
if ($hidetitle == "") {$hidetitle = 0;}
304304
if ($variableamount == "") {$variableamount = '';}
305305
// Echo out the field

paystack-forms.php

Lines changed: 1 addition & 1 deletion
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/Kendysond/Wordpress-paystack-forms
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: 2.1.9
6+
Version: 2.2.0
77
Author: Douglas Kendyson
88
Author URI: http://kendyson.com
99
License: GPL-2.0+

public/js/paystack-forms-public.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
calculateTotal();
122122

123-
calculateFees(newvalue);
123+
calculateFees();
124124
});
125125
function validateEmail(email) {
126126
var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;

0 commit comments

Comments
 (0)