Skip to content

Commit fd747c1

Browse files
committed
Fix data export metadata - v 2.2.1
1 parent fc5daa6 commit fd747c1

File tree

3 files changed

+6
-4
lines changed

3 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.2.0
7+
Stable tag: 2.2.1
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.1 =
88+
* Fix export to csv metadata
8789
= 2.2.0 =
8890
* Bug fixes
8991
= 2.1.9 =

admin/class-paystack-forms-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function Kkd_pff_export_excel() {
681681
$csv_output .= $dbdata->email.",";
682682
$csv_output .= $currency.' '.$dbdata->amount.",";
683683
$csv_output .= $txn_code.",";
684-
$new = json_decode($header->metadata);
684+
$new = json_decode($dbdata->metadata);
685685
$text = '';
686686
if (array_key_exists("0", $new)) {
687687
foreach ($new as $key => $item) {

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/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.2.0
6+
Version: 2.2.1
77
Author: Douglas Kendyson
88
Author URI: http://kendyson.com
99
License: GPL-2.0+
@@ -15,7 +15,7 @@
1515
}
1616
define( 'KKD_PFF_PAYSTACK_PLUGIN_PATH', plugins_url( __FILE__ ) );
1717
define( 'KKD_PFF_PAYSTACK_MAIN_FILE', __FILE__ );
18-
define( 'KKD_PFF_PAYSTACK_VERSION', '2.1.9' );
18+
define( 'KKD_PFF_PAYSTACK_VERSION', '2.2.1' );
1919
define( 'KKD_PFF_PAYSTACK_TABLE', 'paystack_forms_payments' );
2020

2121

0 commit comments

Comments
 (0)