Title: CommentGate
Author: Dhruv Pandya
Published: <strong>Agẹmọ  15, 2026</strong>
Last modified: Agẹmọ  15, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/commentgate/assets/banner-772x250.png?rev=3609219)

![](https://ps.w.org/commentgate/assets/icon.svg?rev=3609219)

# CommentGate

 Láti ọwọ́ [Dhruv Pandya](https://profiles.wordpress.org/dhruvpandya/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/commentgate.1.0.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/commentgate/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/commentgate/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/commentgate/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/commentgate/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/commentgate/)

## Àpèjúwe

**CommentGate** helps site owners turn comment access into a paid engagement flow.
Visitors enter one email address, complete payment through Stripe or PayPal, and
unlock the comment form for protected content.

Use CommentGate for paid communities, expert Q&A posts, premium discussion areas,
gated announcements, niche publications, and any site where comment access should
have value.

### Main Features

 * **Pay Before Commenting** Ìtumọ̀ Yorùbá: – Hide the comment textarea and submit
   button until payment access is verified.
 * **Stripe and PayPal** Ìtumọ̀ Yorùbá: – Enable Stripe, PayPal, or both payment
   gateways.
 * **Per-Content Control** Ìtumọ̀ Yorùbá: – Enable paid comments globally, then 
   override settings per post, page, or supported custom post type.
 * **Flexible Pricing** Ìtumọ̀ Yorùbá: – Set a global price, custom per-content 
   prices, and currency from a dropdown.
 * **Default USD Currency** Ìtumọ̀ Yorùbá: – Start with USD, then switch to another
   supported currency when needed.
 * **Email-Based Access** Ìtumọ̀ Yorùbá: – Guests enter one email address for receipt
   and access tracking.
 * **Logged-In User Support** Ìtumọ̀ Yorùbá: – Logged-in users can unlock comments
   with account-based access.
 * **Auto Approve Paid Comments** Ìtumọ̀ Yorùbá: – Paid comments can be approved
   automatically after CommentGate access is verified.
 * **Admin Payment Email Alerts** Ìtumọ̀ Yorùbá: – Send the site administrator an
   email when a payment completes with site From and Reply-To headers.
 * **Customer Email Templates** Ìtumọ̀ Yorùbá: – Send payment-complete and refund
   emails through WordPress mail using HTML invoice format by default or simple 
   text-style email, with an optional Media Library logo for HTML emails, editable
   templates, payment/refund previews, and footer.
 * **Secure Email Access Links** Ìtumọ̀ Yorùbá: – Let customers reopen the paid 
   comment area from their receipt until comment credits are used or access expires.
 * **Role Exemptions** Ìtumọ̀ Yorùbá: – Let selected roles comment without payment.
 * **Optional Access Expiry** Ìtumọ̀ Yorùbá: – Limit how long a duration-based payment
   unlock remains active in minutes.
 * **Comment Credit Access** Ìtumọ̀ Yorùbá: – Sell a specific number of comments
   per purchase instead of time-based access. This is the default access type.
 * **Per-Content Access Type** Ìtumọ̀ Yorùbá: – Override duration-based or comment-
   credit access on individual posts, pages, or custom post types.
 * **Transaction History** Ìtumọ̀ Yorùbá: – Review payment records, filter by status,
   gateway, and date range, view earning summaries, export CSV reports, refund unused
   paid access, mark pending records, and delete records individually or in bulk.
 * **Payment API Configuration** Ìtumọ̀ Yorùbá: – Manage Stripe and PayPal credentials
   from one dashboard with a setup checklist.
 * **Appearance Controls** Ìtumọ̀ Yorùbá: – Customize payment button text and optional
   custom button colors.
 * **WP-CLI Support** Ìtumọ̀ Yorùbá: – Inspect settings, list payments, view payment
   records, and refund unused paid access from the command line.
 * **Theme-Friendly Frontend** Ìtumọ̀ Yorùbá: – Uses theme button styles by default
   while hiding unsupported comment fields before payment.
 * **Webhook Support** Ìtumọ̀ Yorùbá: – Supports gateway webhook callbacks for payment
   lifecycle updates.

### CommentGate Dashboard

CommentGate lives under **Comments > CommentGate** and includes one tabbed dashboard:

 * **General Settings** Ìtumọ̀ Yorùbá: – Enable CommentGate, select post types, 
   choose currency, configure price, free roles, access type, access duration in
   minutes, comment quantity, and auto approval.
 * **Transaction History** Ìtumọ̀ Yorùbá: – View earning summaries, filter by paid/
   pending/refunded status, gateway, and date range, export CSV reports, refund 
   unused paid access, and manage pending or deleted transactions.
 * **Payment API Configuration** Ìtumọ̀ Yorùbá: – Add Stripe or PayPal API credentials
   and webhook details, then review the setup checklist.
 * **Email Settings** Ìtumọ̀ Yorùbá: – Configure admin payment alerts, customer 
   payment emails, refund emails, HTML invoice or simple text-style email format,
   optional Media Library logo or logo URL, editable email templates, payment/refund
   previews, and the email footer.
 * **Appearance** Ìtumọ̀ Yorùbá: – Customize button labels and optional colors.

General Settings also includes a quick link to WordPress **Website Discussion Settings**
so comment moderation, notifications, avatars, and default discussion rules stay
easy to reach.

### Payment Gateways

CommentGate can enable one or both payment gateways:

 * Stripe Checkout
 * PayPal Checkout

If both gateways are enabled, visitors can choose Stripe or PayPal on the payment
wall.

### Third-Party Services

CommentGate connects to third-party payment services only when an administrator 
configures a gateway and a visitor starts checkout, returns from checkout, when 
an administrator starts a refund, or when the payment service sends a configured
webhook.

Stripe requests are sent to `https://api.stripe.com` to create Checkout Sessions,
create refunds, verify webhook events, and update payment status. Data sent to Stripe
may include the selected post title, payment amount, currency, plugin payment ID,
access type, comment quantity, Stripe payment intent ID, and customer email when
entered by a guest. Stripe terms: https://stripe.com/legal/ssa. Stripe privacy policy:
https://stripe.com/privacy.

PayPal requests are sent to `https://api-m.sandbox.paypal.com` in sandbox mode or`
https://api-m.paypal.com` in live mode to create orders, capture approved orders,
create refunds, obtain API access tokens, verify webhook signatures, and update 
payment status. Data sent to PayPal may include the selected post title, payment
amount, currency, plugin payment ID, PayPal order or capture ID, and configured 
API credentials. PayPal user agreement: https://www.paypal.com/us/legalhub/useragreement-
full. PayPal privacy statement: https://www.paypal.com/us/legalhub/privacy-full.

### Refunds

Administrators can refund paid transactions from Transaction History when access
has not been used. For comment quantity access, unused means all purchased comment
credits are still available. For duration access, unused means CommentGate has not
attached the payment to a submitted comment. Refund actions call the configured 
Stripe or PayPal API, then mark the payment as refunded in CommentGate with refund
ID, reason, and refund date fields when available.

### API Documentation

Use these official guides when creating payment credentials:

 * Stripe API keys: https://docs.stripe.com/keys
 * PayPal REST API credentials: https://developer.paypal.com/api/rest/

### WP-CLI Commands

CommentGate registers the `wp commentgate` command when WP-CLI is available.

 * `wp commentgate status` Ìtumọ̀ Yorùbá: – Show gateway, access, and webhook setup
   status.
 * `wp commentgate settings` Ìtumọ̀ Yorùbá: – Show plugin settings with API secrets
   masked by default.
 * `wp commentgate settings --show-secrets` Ìtumọ̀ Yorùbá: – Show plugin settings
   including API secrets.
 * `wp commentgate payments --status=paid` Ìtumọ̀ Yorùbá: – List payment records.
 * `wp commentgate payment 123` Ìtumọ̀ Yorùbá: – Show one payment record.
 * `wp commentgate refund 123 --yes` Ìtumọ̀ Yorùbá: – Refund unused paid access.

### Webhook Events

For Stripe, configure the webhook URL shown in CommentGate and send these events:

 * `checkout.session.completed`
 * `charge.refunded`
 * `checkout.session.async_payment_failed`

Stripe webhook secret is required so CommentGate can verify Stripe-signed webhook
requests.

For PayPal, configure the webhook URL shown in CommentGate and send this event:

 * `PAYMENT.CAPTURE.REFUNDED`

Copy the PayPal webhook ID into CommentGate settings so webhook signatures can be
verified.

## Àwọn àwòrán ìbòjú

[⌊CommentGate Dashboard with General Settings.⌉⌊CommentGate Dashboard with General
Settings.⌉[

CommentGate Dashboard with General Settings.

[⌊Transaction History with earning summaries and payment filters.⌉⌊Transaction History
with earning summaries and payment filters.⌉[

Transaction History with earning summaries and payment filters.

[⌊Payment API Configuration for Stripe or PayPal credentials.⌉⌊Payment API Configuration
for Stripe or PayPal credentials.⌉[

Payment API Configuration for Stripe or PayPal credentials.

[⌊Email Settings with admin alerts, customer emails, HTML invoice or simple text-
style email format, Media Library logo selection, and editable templates.⌉⌊Email
Settings with admin alerts, customer emails, HTML invoice or simple text-style email
format, Media Library logo selection, and editable templates.⌉[

Email Settings with admin alerts, customer emails, HTML invoice or simple text-style
email format, Media Library logo selection, and editable templates.

[⌊Appearance tab with payment button labels and optional custom colors.⌉⌊Appearance
tab with payment button labels and optional custom colors.⌉[

Appearance tab with payment button labels and optional custom colors.

[⌊Frontend payment wall before comment access unlocks.⌉⌊Frontend payment wall before
comment access unlocks.⌉[

Frontend payment wall before comment access unlocks.

## Ìgbéwọlẹ̀

 1.  Upload the `commentgate` folder to `/wp-content/plugins/`, or install the plugin
     zip through **Plugins > Add New > Upload Plugin**.
 2.  Activate **CommentGate** from the **Plugins** screen.
 3.  Open **Comments > CommentGate**.
 4.  Enable CommentGate in **General Settings**.
 5.  Choose post types, price, currency, free roles, access type, access duration in
     minutes, and comment quantity.
 6.  Configure admin and customer email options under **Email Settings**.
 7.  Select Stripe, PayPal, or both.
 8.  Add API credentials under **Payment API Configuration**.
 9.  Configure webhook URLs in the selected payment provider.
 10. Customize button labels and colors under **Appearance** if needed.

## FAQ

### Can I use Stripe and PayPal at the same time?

Yes. Enable Stripe, PayPal, or both in General Settings. When both are enabled, 
the payment wall shows one button for each gateway.

### Can I set different prices for different posts or pages?

Yes. Set a global price in General Settings, then use the CommentGate meta box on
supported content to override the price for that post, page, or custom post type.

### Does CommentGate hide the normal comment form before payment?

Yes. Before access is verified, CommentGate hides the comment textarea and submit
button and shows only the payment email field and payment button.

### Will paid comments be approved automatically?

Yes, when auto approval is enabled. Paid comments can be approved automatically 
after CommentGate verifies payment access.

### Can logged-in users skip payment?

Only if their role is selected as exempt in General Settings. Otherwise, logged-
in users must pay like guests.

### How does guest access work?

Guests enter one email address before checkout. After successful payment, CommentGate
stores verified access and uses a secure token so the comment form unlocks. Customer
receipt emails include a secure access link, so guests can reopen the paid comment
area later until comment credits are used or access expires.

### How can I reduce email spam-folder placement?

CommentGate sends email through the siteÌtumọ̀ Yorùbá: ’s normal WordPress mail 
system and adds site From and Reply-To headers. For best deliverability, configure
authenticated SMTP and DNS records such as SPF, DKIM, and DMARC for the sending 
domain.

### Can I customize the payment button?

Yes. Appearance settings let admins change Stripe and PayPal button text. CommentGate
uses theme button styles by default and can use custom colors when enabled.

### Where do I manage payment records?

Open **Comments > CommentGate > Transaction History**. Admins can view records, 
mark records pending, or delete records individually or in bulk.

### Can I export transaction records?

Yes. Transaction History includes a CSV export that respects the current status,
gateway, and date range filters.

### Does this plugin replace WordPress Discussion Settings?

No. CommentGate controls paid access to comment forms. WordPress Discussion Settings
still control normal comment rules, moderation behavior, notifications, avatars,
and related site-wide defaults.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“CommentGate” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa 
sí plugin yìí.

Àwọn Olùkópa

 *   [ Dhruv Pandya ](https://profiles.wordpress.org/dhruvpandya/)

[Túmọ̀ “CommentGate” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/commentgate)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/commentgate/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/commentgate/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/commentgate/) nípasẹ̀
[RSS](https://plugins.trac.wordpress.org/log/commentgate/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.0

Initial release.

 * Added paid comment access for posts, pages, and public custom post types.
 * Added Stripe Checkout and PayPal Checkout support.
 * Added Stripe and PayPal gateway selection with support for enabling one or both
   gateways.
 * Added global and per-content pricing.
 * Added currency selector with USD default and common supported currencies.
 * Added duration-based access in minutes and comment-credit access with comment-
   credit access as the default.
 * Added per-content access type and comment quantity overrides.
 * Added guest email access and logged-in user access.
 * Added secure access tokens and server-side comment blocking.
 * Added role exemptions.
 * Added paid comment auto approval option.
 * Added Transaction History with earning summaries, status/gateway/date filters,
   CSV export, pagination, refund actions, pending status actions, and delete actions.
 * Added admin-only refunds for unused paid access through Stripe or PayPal.
 * Added refund audit fields for refund ID, refund reason, and refunded date.
 * Added admin payment email alerts.
 * Added customer payment-complete and refund emails with HTML invoice or simple
   text-style email format, optional Media Library logo, editable templates, secure
   access links, payment/refund previews, and editable footer in Email Settings.
 * Added Payment API Configuration tab with Stripe and PayPal credential fields,
   webhook URLs, and setup checklist.
 * Added Appearance tab with button text and optional button color controls.
 * Added WP-CLI commands for status checks, settings inspection, payment listing,
   payment lookup, and refunds.
 * Added WordPress Discussion Settings shortcut.
 * Added WordPress.org security hardening for nonces, capabilities, sanitization,
   escaping, prepared queries, webhook signature checks, and third-party service
   disclosures.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 2 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **Tó kéré sí 10**
 *  Ẹ̀yà WordPress ** 6.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.0.6**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/commentgate/)
 * Àwọn àmì
 * [comments](https://yor.wordpress.org/plugins/tags/comments/)[monetization](https://yor.wordpress.org/plugins/tags/monetization/)
   [paywall](https://yor.wordpress.org/plugins/tags/paywall/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/commentgate/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/commentgate/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/commentgate/reviews/)

## Àwọn Olùkópa

 *   [ Dhruv Pandya ](https://profiles.wordpress.org/dhruvpandya/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/commentgate/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://www.paypal.com/paypalme/dhruvpandyadp97)