RoleLogic

HomeIntegrations › Stripe Subscriber Role

Stripe Subscriber Role icon

Give Discord Roles to Your Stripe Subscribers — Automatically

Connect Stripe with a read-only key. RoleLogic reads your subscriptions and payments and grants Discord roles by plan, status, trial, lifetime spend, and more. Members are linked automatically — their Discord ID travels with their Stripe subscription, so there's nothing for them to do.

Free plan available · No coding required Version 1.0.0 Updated 2026-06-07
stripesubscriptionsubscriberpaymentsbillingmembershiprecurringmrrtrialpast duelifetime spendplanpriceproductwebhookrestricted keymonetizationpaid accessrolediscord serverdiscord role bot

What you can build with Stripe Subscriber Role

Real use cases that ship in production Discord servers using RoleLogic + Stripe.

Subscriber-only channels

Lock channels behind an active Stripe subscription. New subscribers get the role within seconds via webhook; when a subscription ends, the role is removed automatically — no manual cleanup.

Plan-tier and product roles

Give different Discord roles for different plans — pick the product or price by name, no copying price IDs. Basic, Pro, and Lifetime members each get their own role automatically.

Annual-plan and big-spender perks

Reward annual subscribers, or VIP members by lifetime spend or monthly recurring value (MRR). Stack with other RoleLogic plugins for layered loyalty tiers.

Free-trial and onboarding roles

Tag members who are currently on a trial so you can welcome them, nudge them, or unlock a trial-only channel. The role drops on its own when the trial converts or ends.

Past-due win-back

Give a quiet 'please update your card' role to members whose payment failed (past due), so you can reach exactly the people who need to fix their billing — and nobody else.

How Stripe Subscriber Role works

From install to live Stripe roles in a few minutes.

1

Connect Stripe with a read-only key

In the role setup, paste a Stripe restricted (read-only) API key. It's stored encrypted and only reads your customers, subscriptions, and plans — it can never charge anyone. An in-app guide walks you through creating the key in about a minute.

2

Optional — add a webhook for instant updates

Paste the per-account webhook URL into Stripe and add the signing secret to turn on real-time role updates. A step-by-step guide is built in. Without it, roles still reconcile automatically every few hours.

3

Build your rule and relax

Use one-click presets — Active subscribers, Subscribers to a plan, Free-trial users, Annual members, Big spenders, Past-due — or the advanced AND/OR builder. A live preview shows how many members match before you save.

Get started — it's free

Frequently asked questions

Common questions about Stripe Subscriber Role and RoleLogic.

Do members have to verify or log in?

No. Their Discord ID travels with their Stripe subscription (the standard metadata.discord_user_id and checkout client_reference_id), so RoleLogic links them automatically — nothing for members to do, no email and no extra login.

What if my checkout doesn't store the Discord ID yet?

Add metadata.discord_user_id (or client_reference_id) to your Stripe Checkout — a one-line change. The plugin also auto-tries common field names, and you can set a custom metadata key if your setup uses its own.

Is it safe to paste my Stripe key?

Use a restricted (read-only) key — it can only read customers, subscriptions, charges, and plans, never charge anyone or make changes. RoleLogic stores it encrypted, and an in-app guide shows exactly which read permissions to enable.

What can I gate roles on?

Active subscription, subscription status (active, trialing, past due, canceled, and more), free trial, set-to-cancel, a specific product or price, plan price, billing interval, days subscribed, days until renewal, monthly recurring value (MRR), lifetime spend, successful payment count, customer age, country, currency, and email domain.

How fast do roles update?

With a webhook connected, within seconds of a subscription change. Without one, a built-in reconcile re-checks every few hours, so roles stay correct either way.

Does it work for one-time payments, not just subscriptions?

Yes. You can gate roles on lifetime spend and successful payment count, so customers who bought one-time products can earn roles too — not only recurring subscribers.

Ship Stripe Subscriber Role in 5 minutes

Free plan, no coding, real-time sync. Used by Discord servers of every size — from indie communities to verified gaming servers with hundreds of thousands of members.

Set up Stripe Subscriber Role