With a simple change to your Cove config, you can limit leaving comments to your paying members. Non-paying members will still be able to view comments like normal.
Add the last two lines (requirePaid
and isPaid
) of this example:
const Cove = {
publication: "your_site_id",
contentId: "{{id}}",
memberId: "{{@member.uuid}}",
memberEmail: "{{@member.email}}",
requirePaid: true,
isPaid: {{#if @member.paid}}true{{else}}false{{/if}}
}
This page was updated on 14 April, 2022 to change the isPaid
value to {{#if @member.paid}}true{{else}}false{{/if}}
from {{@member.paid}}
.