Skip to content

Commit ff1e4a8

Browse files
committed
Bearer sub account
1 parent 9403d19 commit ff1e4a8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-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
55
Requires at least: 3.1
66
Tested up to: 4.6.1
7-
Stable tag: 2.0.1
7+
Stable tag: 2.0.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

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

8686
== Changelog ==
8787
= 2.0.1 =
88+
* Bug fixes.
89+
= 2.0.1 =
8890
* Added option to use subaccount on a form.
8991
* General bug fixes.
9092
= 2.0.0 =

public/class-paystack-forms-public.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,9 @@ function kkd_pff_paystack_form_shortcode($atts) {
539539
<div class="input">
540540
<input type="text" name="pf-fname" placeholder="First & Last Name" value="' . $fullname. '"
541541
';
542-
if($loggedin == 'yes'){
543-
echo 'readonly ';
544-
}
542+
// if($loggedin == 'yes'){
543+
// echo 'readonly ';
544+
// }
545545

546546
echo' required>
547547
</div>

public/js/paystack-forms-public.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
firstname: firstName,
157157
lastname: lastName,
158158
subaccount:data.subaccount,
159+
bearer:'subaccount',
159160
ref: data.code,
160161
metadata: {'custom_fields': data.custom_fields},
161162
callback: function(response){

0 commit comments

Comments
 (0)