Repository navigation
Expand file tree
/
Copy pathreadme.txt
More file actions
161 lines (109 loc) · 7.25 KB
/
Copy pathreadme.txt
File metadata and controls
161 lines (109 loc) · 7.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
=== Paystack Add-On for Gravity Forms ===
Contributors: webong, paystack, kaneahabagale,
Donate link: https://paystack.com/demo
Tags: payments, subscriptions, gravityforms
Requires at least: 5.1
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 2.0.10
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
The Paystack Addon for Gravity Forms allows you to quickly and easily implement credit card payments with WordPress. With the Paystack Add-On you can capture one time credit card payments or setup recurring payment subscriptions.
= Restricted keys =
The add-on connects to Paystack with a restricted key. Choose Test or Live under Mode, then paste an `rk_test_...` or `rk_live_...` key into that mode's Restricted Key field. Only the selected mode's fields are shown.
* The key needs Transactions: read and write permissions, plus Plans: write if you sell subscriptions.
* Keys with permissions that can move money (transfers, refunds, settlements, payouts and similar) are rejected.
* The key is checked with Paystack every time you save the settings, so after changing its permissions in the Paystack Dashboard, click Save to check them. If Paystack can't be reached, a key that was already saved stays in use.
* A restricted key needs the Webhook signing secret for the same mode (see below).
* Sites set up before version 2.0.10 keep working with the key they already saved. When you replace it, the new key must be a restricted key.
= Webhook signing secret =
The Test and Live settings have a "Webhook signing secret" field. Copy the `whsec_...` value from Settings > API Keys & Webhooks in your Paystack Dashboard.
* It is required with a restricted key.
* Once it is set, webhooks are only accepted with a valid Paystack-Signature header that was signed within the last 5 minutes.
* Successful-payment webhooks are confirmed with Paystack before an entry is marked as paid.
* The webhook URL must listen to charge.success. Forms that sell subscriptions also need subscription.create, subscription.disable, invoice.create, invoice.update and invoice.payment_failed. Selecting all events is fine: the others are ignored.
== Installation ==
= Minimum Requirements =
* Gravity Forms v2.5+
* WordPress v5.1+
* SSL Certificate Installed and - Configured
* Download and install the add-on
* A Paystack account
= Automatic installation =
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Paystack Payment Add-On for Gravity Forms, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type “Paystack Payment Add-On for Gravity Forms” and click Search Plugins. Once you’ve found our payment plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.
= Manual installation =
The manual installation method involves downloading our payment plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).
= Updating =
Automatic updates should work like a charm; as always though, ensure you backup your site just in case.
== Frequently Asked Questions ==
= Where can I find help and documentation to understand Paystack? =
You can find help and information on Paystack on our [Help Desk](https://paystack.com/help)
= Where can I get support or talk to other users? =
If you get stuck, you can ask for help in the [Paystack Payment Add-On for Gravity Forms](https://wordpress.org/support/plugin/paystack-add-on-for-gravity-forms/). You can also directly email support@paystack.com for assistance.
= Paystack Payment for Give is awesome! Can I contribute? =
Yes you can! Join in on our [GitHub repository](https://github.com/PaystackHQ/plugin-gravity-forms) :)
== Changelog ==
= 2.0.10 - November 24, 2026 =
* The add-on now uses Paystack restricted keys (`rk_test_...` / `rk_live_...`). A key saved by an earlier version keeps working until you replace it; a new key must be a restricted key.
* Removed the public key fields. Payments never used them.
* The settings page shows only the selected mode's fields.
* Requires Gravity Forms 2.5 or later.
* A restricted key's permissions are checked with Paystack every time the settings are saved.
* Added Test and Live webhook signing secret fields, and webhook signature verification when one is set.
* Successful-payment (charge.success) webhooks are now confirmed with Paystack before an entry is marked as paid.
* Keys and signing secrets are hidden in logs.
* The key fields are now password inputs.
* Removed the admin-only ?secret= / ?public= URL override for API keys.
= 2.0.9 - October 28, 2026 =
* Fixed a fatal error on the confirmation page after a successful payment when the usage tracking service is unreachable.
= 2.0.8 - October 27, 2026 =
* Security: hardened webhook and payment verification. Props k2sobot.
* Security: API credentials and response bodies are no longer written to the PHP error log, and the API secret key is only sent to the Paystack API.
* Added an admin notice when the server's PHP version is affected by CVE-2026-109618 / CVE-2026-109619.
* Tested with WordPress 7.1 and PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12.
* Version 2.1.0 will require PHP 8.2 or later.
= 2.0.7 - July 21, 2025 =
* Compatibility with WordPress v6.8.1 and PHP 8.2.23
= 2.0.6 - AUGUST 8, 2024 =
* Compatibility with WordPress v6.6 and PHP 8.2
= 2.0.3 - SEPTMBER 26, 2023 =
* Added XOF and EGP to the currency list
= 2.0.2 - SEPTMBER 26, 2023 =
* Compatibility with WordPress v6.2 and PHP 8
= 2.0.1 - APRIL 14, 2022 =
* Test plugin up to WordPress 6.2
* Fix PHP warnings about missing currency code
= 2.0.0 - NOVEMBER 1, 2021 =
* Compatibility with WordPress v5.9 and PHP 8
= 1.0.2 - NOVEMBER 1, 2021 =
* Added support for KES currency
= 1.0.1 - JANUARY 22, 2021 =
* Added support for ZAR currency
= 1.0.0 - JANUARY 21, 2021 =
* Initial Release
== Upgrade Notice ==
= 2.0.10 =
* Adds Paystack restricted keys and webhook signing secrets. Your saved key keeps working with no changes needed; a new key must be a restricted key. Requires Gravity Forms 2.5 or later. The ?secret= / ?public= URL override has been removed.
= 2.0.9 =
* Fixes a fatal error customers could see after paying. Please update.
= 2.0.8 =
* Security update — please update now. After updating, rotate your live and test secret keys in the Paystack Dashboard and delete old PHP and WordPress debug log files, as earlier versions logged API request details. Ask your host to run PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later.
= 2.0.7 - July 21, 2025 =
* Compatibility with WordPress v6.8.1 and PHP 8.2.23
= 2.0.6 =
* Compatibility with WordPress v6.6 and PHP 8.2
= 2.0.2 =
* Compatibility with WordPress v6.2 and PHP 8
= 1.0.2 =
* Test plugin up to WordPress 6.2
* Fix PHP warnings about missing currency code
= 1.0.2 =
* You should update to this version if you are a Kenyan merchant on Paystack
= 1.0.1 =
* You should update to this version if you are a South African merchant on Paystack
= 1.0.0 =
* Initial Release
== Screenshots ==
1. Setup screen