Skip to content

Commit 492c781

Browse files
docs: note that a webhook URL may listen to all events
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 76930c4 commit 492c781

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎class-gf-paystack.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public function get_webhooks_section_description()
439439
<code><?php echo $this->get_webhook_url($this->get_current_feed_id()); ?></code>
440440
</p>
441441
</li>
442-
<li><?php esc_html_e('Select the events it listens to: charge.success for payments. If you sell subscriptions, also subscription.create, subscription.disable, invoice.create, invoice.update and invoice.payment_failed.', 'gravityformspaystack'); ?></li>
442+
<li><?php esc_html_e('Select the events it listens to: charge.success for payments. If you sell subscriptions, also subscription.create, subscription.disable, invoice.create, invoice.update and invoice.payment_failed. Selecting all events is fine: the others are ignored.', 'gravityformspaystack'); ?></li>
443443
<li><?php esc_html_e('Save Changes.', 'gravityformspaystack'); ?></li>
444444
<li><?php esc_html_e('Copy the webhook signing secret (whsec_) from the same page into the Webhook Signing Secret field. It is required with a restricted key.', 'gravityformspaystack'); ?></li>
445445
</ol>

‎readme.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The Test and Live settings have a "Webhook signing secret" field. Copy the `whse
2727
* It is required with a restricted key.
2828
* Once it is set, webhooks are only accepted with a valid Paystack-Signature header that was signed within the last 5 minutes.
2929
* Successful-payment webhooks are confirmed with Paystack before an entry is marked as paid.
30-
* 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.
30+
* 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.
3131

3232

3333
== Installation ==

0 commit comments

Comments
 (0)