Only let paying members comment

Filed in Setup & installation

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: "{{}}",
    requirePaid: true,
    isPaid: {{@member.paid}}
You've successfully subscribed to Cove!