The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Publish the affiliate program terms and link them from the application form (#29520)
StephanieJoly4e5d47d70775e
diff --git a/packages/twenty-website/src/affiliate-application/AffiliateApplicationForm.tsx b/packages/twenty-website/src/affiliate-application/AffiliateApplicationForm.tsxindex 7383446c8fc..c612abb69cd 100644--- a/packages/twenty-website/src/affiliate-application/AffiliateApplicationForm.tsx+++ b/packages/twenty-website/src/affiliate-application/AffiliateApplicationForm.tsx@@ -1,10 +1,13 @@'use client';import { useLingui } from '@lingui/react';+import { Trans } from '@lingui/react/macro';import { styled } from '@linaria/react';import { type FormEvent, useState } from 'react';import { isDefined, isNonEmptyString } from 'twenty-shared/utils';+import { localizeHref } from '@/platform/i18n/localize-href';+import { useLocale } from '@/platform/i18n/use-locale';import {color,FONT_WEIGHT,@@ -14,7 +17,15 @@ import {spacing,typeRampDeclarations,} from '@/tokens';-import { Button, Field, Heading, Select, TextareaField, TextField } from '@/ui';+import {+ Button,+ ExternalLink,+ Field,+ Heading,+ Select,+ TextareaField,+ TextField,+} from '@/ui';import { AFFILIATE_APPLICATION_COPY } from './affiliate-application-copy';import { affiliateApplicationRequestSchema } from './affiliate-application-request-schema';@@ -62,6 +73,13 @@ const CheckboxStack = styled.div`row-gap: ${spacing(2)};`;+// Opens in a new tab so the applicant keeps what they typed.+const TermsLink = styled(ExternalLink)`+ color: ${color('blue')};+ text-decoration: underline;+ text-underline-offset: 2px;+`;+const CheckboxLabel = styled.label`${typeRampDeclarations('bodyXs')}align-items: center;@@ -78,6 +96,8 @@ const CheckboxLabel = styled.label`}`;+const ACCEPTS_TERMS_LABEL_ID = 'affiliate-application-accepts-terms-label';+const ErrorBanner = styled.p`${typeRampDeclarations('bodyXs')}color: ${color('error')};@@ -143,6 +163,7 @@ function buildRequestBody(state: FormState) {export function AffiliateApplicationForm() {const { i18n } = useLingui();+ const locale = useLocale();const [state, setState] = useState<FormState>(INITIAL_STATE);const [isSubmitting, setIsSubmitting] = useState(false);const [isSubmitted, setIsSubmitted] = useState(false);@@ -297,8 +318,10 @@ export function AffiliateApplicationForm() {/>{i18n._(COPY.fields.isIntegrationPartner)}</CheckboxLabel>- <CheckboxLabel>+ {/* A div, not a label: a link inside a label makes a click ambiguous. */}+ <CheckboxLabel as="div"><input+ aria-labelledby={ACCEPTS_TERMS_LABEL_ID}checked={state.acceptsTerms}name="acceptsTerms"onChange={(event) =>@@ -306,7 +329,16 @@ export function AffiliateApplicationForm() {}type="checkbox"/>- {i18n._(COPY.fields.acceptsTerms)}+ <span id={ACCEPTS_TERMS_LABEL_ID}>+ <Trans>+ I agree to the{' '}+ <TermsLink+ href={localizeHref(locale, '/affiliate-partners/terms')}+ >+ affiliate program terms+ </TermsLink>+ </Trans>+ </span></CheckboxLabel></CheckboxStack><Buttondiff --git a/packages/twenty-website/src/affiliate-application/affiliate-application-copy.ts b/packages/twenty-website/src/affiliate-application/affiliate-application-copy.tsindex 54211a49130..1de0448a82d 100644--- a/packages/twenty-website/src/affiliate-application/affiliate-application-copy.ts+++ b/packages/twenty-website/src/affiliate-application/affiliate-application-copy.ts@@ -14,7 +14,6 @@ export const AFFILIATE_APPLICATION_COPY = {promotionPlan: msg`How you plan to promote Twenty`,promotionPlanPlaceholder: msg`Reviews, tutorials, migration guides, client recommendations…`,isIntegrationPartner: msg`I'm already a Twenty integration partner`,- acceptsTerms: msg`I agree to the affiliate program terms sent with my referral link`,},errors: {name: msg`Please enter your full name.`,diff --git a/packages/twenty-website/src/app/[locale]/(site)/affiliate-partners/terms/page.tsx b/packages/twenty-website/src/app/[locale]/(site)/affiliate-partners/terms/page.tsxnew file mode 100644index 00000000000..50a1259b54e--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(site)/affiliate-partners/terms/page.tsx@@ -0,0 +1,55 @@+import { msg } from '@lingui/core/macro';++import { getCommunityStats } from '@/platform/community';+import {+ getRouteI18n,+ type LocaleRouteParams,+} from '@/platform/i18n/get-route-i18n';+import { getServerI18n } from '@/platform/i18n/get-server-i18n';+import { resolveLocaleParam } from '@/platform/i18n/resolve-locale-param';+import {+ buildBreadcrumbListJsonLd,+ buildRouteMetadata,+ JsonLd,+} from '@/platform/seo';+import { AffiliateProgramTermsDocument, LegalDocument } from '@/sections/legal';+import { Menu } from '@/sections/menu';++export const generateMetadata = buildRouteMetadata('affiliatePartnersTerms');++export default async function AffiliateProgramTermsPage({+ params,+}: {+ params: Promise<LocaleRouteParams>;+}) {+ const [, communityStats] = await Promise.all([+ getRouteI18n(params),+ getCommunityStats(),+ ]);+ const i18n = getServerI18n();+ const locale = resolveLocaleParam((await params).locale);++ return (+ <>+ <JsonLd+ data={buildBreadcrumbListJsonLd(+ [+ { name: 'Home', path: '/' },+ { name: 'Affiliate program', path: '/affiliate-partners' },+ {+ name: 'Affiliate Program Terms',+ path: '/affiliate-partners/terms',+ },+ ],+ locale,+ )}+ />+ <Menu communityStats={communityStats} />+ <main>+ <LegalDocument title={i18n._(msg`Affiliate Program Terms`)}>+ <AffiliateProgramTermsDocument />+ </LegalDocument>+ </main>+ </>+ );+}diff --git a/packages/twenty-website/src/partner-attribution/PartnerAttributionEffect.tsx b/packages/twenty-website/src/partner-attribution/PartnerAttributionEffect.tsxindex df78522885e..e93703114a3 100644--- a/packages/twenty-website/src/partner-attribution/PartnerAttributionEffect.tsx+++ b/packages/twenty-website/src/partner-attribution/PartnerAttributionEffect.tsx@@ -3,7 +3,7 @@import { useEffect } from 'react';import { isDefined } from 'twenty-shared/utils';-import { PARTNER_STORAGE_KEY } from './partner-storage-key';+import { savePartner } from './save-partner';const PARTNER_QUERY_PARAM = 'via';@@ -18,7 +18,7 @@ export function PartnerAttributionEffect(): null {}try {- sessionStorage.setItem(PARTNER_STORAGE_KEY, partner);+ savePartner({ storage: localStorage, code: partner, now: Date.now() });} catch {return;}diff --git a/packages/twenty-website/src/partner-attribution/partner-attribution-window-days.ts b/packages/twenty-website/src/partner-attribution/partner-attribution-window-days.tsnew file mode 100644index 00000000000..383394bb52d--- /dev/null+++ b/packages/twenty-website/src/partner-attribution/partner-attribution-window-days.ts@@ -0,0 +1 @@+export const PARTNER_ATTRIBUTION_WINDOW_DAYS = 30;diff --git a/packages/twenty-website/src/partner-attribution/read-saved-partner.test.ts b/packages/twenty-website/src/partner-attribution/read-saved-partner.test.tsnew file mode 100644index 00000000000..e5ac67bc75e--- /dev/null+++ b/packages/twenty-website/src/partner-attribution/read-saved-partner.test.ts@@ -0,0 +1,80 @@+import { PARTNER_ATTRIBUTION_WINDOW_DAYS } from './partner-attribution-window-days';+import { readSavedPartner } from './read-saved-partner';+import { savePartner } from './save-partner';+import { PARTNER_STORAGE_KEY } from './partner-storage-key';++const DAY_IN_MILLISECONDS = 24 * 60 * 60 * 1000;+const CLICKED_AT = Date.UTC(2026, 10, 3);++const createStorage = (): Storage => {+ const values = new Map<string, string>();++ return {+ get length() {+ return values.size;+ },+ clear: () => values.clear(),+ getItem: (key) => values.get(key) ?? null,+ key: (index) => [...values.keys()][index] ?? null,+ removeItem: (key) => {+ values.delete(key);+ },+ setItem: (key, value) => {+ values.set(key, value);+ },+ };+};++describe('readSavedPartner', () => {+ it('returns the code until the end of the attribution window', () => {+ const storage = createStorage();++ savePartner({ storage, code: 'NORTHWIND', now: CLICKED_AT });++ expect(+ readSavedPartner({+ storage,+ now: CLICKED_AT + PARTNER_ATTRIBUTION_WINDOW_DAYS * DAY_IN_MILLISECONDS,+ }),+ ).toBe('NORTHWIND');+ });++ it('forgets the code once the attribution window has passed', () => {+ const storage = createStorage();++ savePartner({ storage, code: 'NORTHWIND', now: CLICKED_AT });++ expect(+ readSavedPartner({+ storage,+ now:+ CLICKED_AT ++ (PARTNER_ATTRIBUTION_WINDOW_DAYS + 1) * DAY_IN_MILLISECONDS,+ }),+ ).toBeNull();+ expect(storage.getItem(PARTNER_STORAGE_KEY)).toBeNull();+ });++ it('keeps the last link clicked, with a fresh window', () => {+ const storage = createStorage();++ savePartner({ storage, code: 'NORTHWIND', now: CLICKED_AT });+ savePartner({+ storage,+ code: 'CONTOSO',+ now: CLICKED_AT + 20 * DAY_IN_MILLISECONDS,+ });++ expect(+ readSavedPartner({ storage, now: CLICKED_AT + 45 * DAY_IN_MILLISECONDS }),+ ).toBe('CONTOSO');+ });++ it('ignores a value saved in an older format', () => {+ const storage = createStorage();++ storage.setItem(PARTNER_STORAGE_KEY, 'NORTHWIND');++ expect(readSavedPartner({ storage, now: CLICKED_AT })).toBeNull();+ });+});diff --git a/packages/twenty-website/src/partner-attribution/read-saved-partner.ts b/packages/twenty-website/src/partner-attribution/read-saved-partner.tsnew file mode 100644index 00000000000..0c2241a64fb--- /dev/null+++ b/packages/twenty-website/src/partner-attribution/read-saved-partner.ts@@ -0,0 +1,48 @@+import { isDefined } from 'twenty-shared/utils';+import { z } from 'zod';++import { PARTNER_ATTRIBUTION_WINDOW_DAYS } from './partner-attribution-window-days';+import { PARTNER_STORAGE_KEY } from './partner-storage-key';++const DAY_IN_MILLISECONDS = 24 * 60 * 60 * 1000;++const savedPartnerSchema = z.object({+ code: z.string(),+ savedAt: z.number(),+});++const parseSavedPartner = (raw: string) => {+ try {+ const result = savedPartnerSchema.safeParse(JSON.parse(raw));++ return result.success ? result.data : null;+ } catch {+ return null;+ }+};++export const readSavedPartner = ({+ storage,+ now,+}: {+ storage: Storage;+ now: number;+}): string | null => {+ const raw = storage.getItem(PARTNER_STORAGE_KEY);++ if (!isDefined(raw)) {+ return null;+ }++ const saved = parseSavedPartner(raw);++ if (+ !isDefined(saved) ||+ now - saved.savedAt > PARTNER_ATTRIBUTION_WINDOW_DAYS * DAY_IN_MILLISECONDS+ ) {+ storage.removeItem(PARTNER_STORAGE_KEY);+ return null;+ }++ return saved.code;+};diff --git a/packages/twenty-website/src/partner-attribution/save-partner.ts b/packages/twenty-website/src/partner-attribution/save-partner.tsnew file mode 100644index 00000000000..ec98f56d26c--- /dev/null+++ b/packages/twenty-website/src/partner-attribution/save-partner.ts@@ -0,0 +1,13 @@+import { PARTNER_STORAGE_KEY } from './partner-storage-key';++export const savePartner = ({+ storage,+ code,+ now,+}: {+ storage: Storage;+ code: string;+ now: number;+}) => {+ storage.setItem(PARTNER_STORAGE_KEY, JSON.stringify({ code, savedAt: now }));+};diff --git a/packages/twenty-website/src/partner-attribution/use-partner-on-app-url.ts b/packages/twenty-website/src/partner-attribution/use-partner-on-app-url.tsindex 0fd7903b146..8696047ded7 100644--- a/packages/twenty-website/src/partner-attribution/use-partner-on-app-url.ts+++ b/packages/twenty-website/src/partner-attribution/use-partner-on-app-url.ts@@ -3,15 +3,15 @@ import { isDefined } from 'twenty-shared/utils';import { SITE_URLS } from '@/platform/site-urls';-import { PARTNER_STORAGE_KEY } from './partner-storage-key';+import { readSavedPartner } from './read-saved-partner';const APP_HOSTNAME = new URL(SITE_URLS.appWelcome).hostname;const subscribe = () => () => {};-const readSavedPartner = (): string | null => {+const readSavedPartnerSafely = (): string | null => {try {- return sessionStorage.getItem(PARTNER_STORAGE_KEY);+ return readSavedPartner({ storage: localStorage, now: Date.now() });} catch {return null;}@@ -36,7 +36,11 @@ const setPartnerOnAppUrl = (href: string, partner: string): string => {export const usePartnerOnAppUrl = (href: string | undefined,): string | undefined => {- const partner = useSyncExternalStore(subscribe, readSavedPartner, () => null);+ const partner = useSyncExternalStore(+ subscribe,+ readSavedPartnerSafely,+ () => null,+ );return isDefined(href) && isDefined(partner)? setPartnerOnAppUrl(href, partner)diff --git a/packages/twenty-website/src/platform/routing/static-website-routes.ts b/packages/twenty-website/src/platform/routing/static-website-routes.tsindex 378423b78e6..86b367cc167 100644--- a/packages/twenty-website/src/platform/routing/static-website-routes.ts+++ b/packages/twenty-website/src/platform/routing/static-website-routes.ts@@ -129,6 +129,15 @@ export const STATIC_WEBSITE_ROUTES: readonly WebsiteRoute[] = [priority: 0.6,title: msg`Twenty Affiliate Program — Earn 20% on Every Referral`,},+ {+ changeFrequency: 'yearly',+ description: msg`The terms of the Twenty Affiliate Program: qualified referrals, commissions, payouts and how you may promote Twenty.`,+ id: 'affiliatePartnersTerms',+ indexed: false,+ path: '/affiliate-partners/terms',+ priority: 0.3,+ title: msg`Affiliate Program Terms | Twenty`,+ },{changeFrequency: 'monthly',description: msg`Packaged CRMs make every company look the same. Twenty is the open source CRM teams shape around their workflow, with a modern UI and a developer-first platform.`,diff --git a/packages/twenty-website/src/platform/routing/website-route.ts b/packages/twenty-website/src/platform/routing/website-route.tsindex 6ef3392bc1d..c50ea4b041c 100644--- a/packages/twenty-website/src/platform/routing/website-route.ts+++ b/packages/twenty-website/src/platform/routing/website-route.ts@@ -3,6 +3,7 @@ import { type MetadataRoute } from 'next';export type WebsiteRouteId =| 'affiliatePartners'+ | 'affiliatePartnersTerms'| 'apps'| 'comparePricingDynamics'| 'comparePricingHubspot'diff --git a/packages/twenty-website/src/sections/affiliate-program/affiliate-program-terms.data.ts b/packages/twenty-website/src/sections/affiliate-program/affiliate-program-terms.data.tsindex a88b8c11016..66c73206d44 100644--- a/packages/twenty-website/src/sections/affiliate-program/affiliate-program-terms.data.ts+++ b/packages/twenty-website/src/sections/affiliate-program/affiliate-program-terms.data.ts@@ -16,7 +16,7 @@ export const AFFILIATE_PROGRAM_TERMS: readonly AffiliateProgramTerm[] = [label: msg`per customer, from their first payment`,},{- value: msg`60 days`,+ value: msg`30 days`,label: msg`of credit after each click on your link`,},{diff --git a/packages/twenty-website/src/sections/faq/affiliate-program-faq.data.ts b/packages/twenty-website/src/sections/faq/affiliate-program-faq.data.tsindex 7b461d6f803..b8abead3e3c 100644--- a/packages/twenty-website/src/sections/faq/affiliate-program-faq.data.ts+++ b/packages/twenty-website/src/sections/faq/affiliate-program-faq.data.ts@@ -5,11 +5,11 @@ import { type FaqQuestion } from './faq.data';export const AFFILIATE_PROGRAM_FAQ_QUESTIONS: readonly FaqQuestion[] = [{question: msg`Which plans count?`,- answer: msg`Organization and Enterprise plans on Twenty Cloud. Self-hosted Organization is coming soon. Pro plans and AI credits are not included.`,+ answer: msg`Organization and Enterprise plans on Twenty Cloud. Pro plans and AI credits are not included.`,},{question: msg`How long does my link work?`,- answer: msg`60 days after the click. If the visitor starts a Cloud Organization or Enterprise plan within that time, the commission is yours. If they later click another partner's link, that partner gets the credit.`,+ answer: msg`30 days after the click. If the visitor creates their workspace within that time and later becomes a paying Cloud Organization or Enterprise customer, the commission is yours. If they click another partner's link before creating their workspace, that partner gets the credit.`,},{question: msg`When do I get paid?`,diff --git a/packages/twenty-website/src/sections/legal/AffiliateProgramTermsDocument.tsx b/packages/twenty-website/src/sections/legal/AffiliateProgramTermsDocument.tsxnew file mode 100644index 00000000000..b1c9d8fae9d--- /dev/null+++ b/packages/twenty-website/src/sections/legal/AffiliateProgramTermsDocument.tsx@@ -0,0 +1,380 @@+import { LocalizedLink } from '@/platform/i18n/LocalizedLink';++// Change only together with the "Twenty Affiliate Program Terms" doc.+export function AffiliateProgramTermsDocument() {+ return (+ <>+ <p>+ <strong>Last updated:</strong>+ {' November 3, 2026'}+ </p>++ <h2>1. About these terms</h2>+ <p>+ These terms are an agreement between Twenty.com PBC, a public benefit+ corporation incorporated in Delaware, United States+ (“Twenty”, “we”), and you, the person or company+ accepted into the Twenty Affiliate Program (“you”,+ “Partner”). You accept them when you tick “I agree to+ the affiliate program terms” in the application form.+ </p>+ <p>+ In short: you share Twenty, and you earn{' '}+ <strong>20% of the seat revenue</strong> from each new paying customer+ you refer, <strong>for 12 months</strong> from their first payment.+ Commissions are held 30 days, then paid monthly once your balance+ reaches $50.+ </p>+ <p>+ The program covers paid Twenty Cloud subscriptions on the Organization+ and Enterprise plans, bought by customers new to Twenty.+ </p>++ <h2>2. Joining the program</h2>+ <ol>+ <li>+ You apply through the form on{' '}+ <LocalizedLink href="/affiliate-partners">+ twenty.com/affiliate-partners+ </LocalizedLink>+ . You must be at least 18, or a registered business. Twenty employees,+ contractors and members of their household can’t join.+ </li>+ <li>+ We review each application, usually within 5 business days. We may+ accept or decline any application, and we don’t have to give a+ reason.+ </li>+ <li>Once accepted, you get your partner code and link by email.</li>+ <li>+ Before your first payout, you give us your payout and tax details. No+ payout can be sent until this is done.+ </li>+ </ol>+ <p>+ You may only hold one partner account. Agencies and companies apply+ once; several of your team members can be linked to the same partner+ account.+ </p>++ <h2>3. Your partner code and link</h2>+ <p>+ You get one partner code (for example NORTHWIND) and one link built from+ it: twenty.com/?via=YOURCODE. Both point to the same partner account.+ Your code is set when you’re accepted and can’t be changed.+ </p>+ <ul>+ <li>+ <strong>The link</strong> saves your code in the visitor’s+ browser for 30 days. If they create their Twenty workspace in that+ time, the workspace is attributed to you. If they click another+ partner’s link afterwards, the last click counts.+ </li>+ <li>+ <strong>The code</strong> is how a customer who did not come through+ your link is attributed to you, for example a client whose workspace+ you set up. See “Code added after sign-up” below.+ </li>+ </ul>+ <p>+ Your code is personal. Don’t post it on coupon or discount-code+ sites.+ </p>++ <h2>4. Qualified referrals</h2>+ <p>+ A referral qualifies when a customer <strong>new to Twenty</strong>{' '}+ starts a paid subscription attributed to you, and their first payment+ goes through. New to Twenty means they have never paid Twenty before, on+ any workspace.+ </p>+ <p>+ A referral covers that customer’s first paid workspace and+ everything that follows for 12 months: plan and seat changes, cancelling+ and coming back, or moving to Enterprise. It never restarts. If the+ customer moves to a new workspace, your code must be added again on it+ to keep the months left.+ </p>+ <p>How a customer gets attributed to you:</p>+ <ul>+ <li>+ <strong>Through your link:</strong> they created their workspace+ within 30 days of clicking your link.+ </li>+ <li>+ <strong>Code added after sign-up:</strong> the customer (or you, on+ their behalf) asks us to add your code within 30 days of their first+ payment, if no partner is attributed yet. You still earn from the+ first invoice. After 30 days, only Twenty can attach a code, at its+ discretion; you then earn from the next invoice only.+ </li>+ </ul>+ <p>+ One customer, one partner. Once a customer is attributed, only Twenty+ can change it, and a change never starts a new 12 months. If two+ partners claim the same customer, the saved attribution decides.+ Referrals belong to your partner account, not to the person at your+ company who brought them.+ </p>+ <p>These never qualify:</p>+ <ul>+ <li>Customers who already paid Twenty before, on any workspace.</li>+ <li>+ A new trial or workspace started within 3 months of an earlier trial+ by the same person (same email address). The only exception: that+ earlier trial came through your link, and the new workspace is created+ within 30 days of the click.+ </li>+ <li>+ Your own workspace, or one used by your company, a co-founder or an+ employee (self-referrals). Workspaces you set up and pay for on behalf+ of a client do qualify.+ </li>+ <li>Customers obtained by breaking these terms (section 8).</li>+ </ul>++ <h2>5. Commissions</h2>+ <p>+ You earn <strong>20% of the seat revenue</strong> of each qualified+ customer, on every invoice they pay during the{' '}+ <strong>12 months</strong> after their first payment.+ </p>+ <ul>+ <li>+ <strong>Seat revenue</strong> = what the customer pays for user seats+ on the Organization and Enterprise plans, after discounts and before+ tax. AI credits, usage add-ons, taxes and refunded amounts are not+ included. Seats used by your own team inside a client’s+ workspace count like any other seat.+ </li>+ <li>+ <strong>Monthly plans</strong> earn on each monthly invoice.{' '}+ <strong>Yearly plans</strong> earn on the part of the yearly invoice+ that falls inside the 12 months: a switch to yearly in month 5 earns+ on 8 of the 12 months billed.+ </li>+ <li>+ An invoice counts if its billing period starts within the 12 months,+ even if it’s paid later. Voided or unpaid invoices earn nothing.+ </li>+ <li>+ Seat changes count, prorated amounts included: if the customer adds+ seats, your commission grows; if they remove seats, it shrinks, never+ below $0 on an invoice and never taken back from past commissions.+ </li>+ <li>+ The 12 months start at the first payment, whatever the number of+ seats. When you set up a workspace for a client, keep it on trial+ until go-live.+ </li>+ <li>+ If a customer cancels, commissions stop with their last paid invoice.+ If they come back within the 12 months, commissions resume until the+ original end date.+ </li>+ <li>+ After 12 months, commissions on that customer stop, even if they stay+ a customer.+ </li>+ </ul>+ <p>+ Example: a customer on the Organization plan with 20 seats pays $1,040 a+ month in seats. You earn $208 a month, up to $2,496 over 12 months.+ </p>+ <p>Commissions are calculated and paid in US dollars.</p>++ <h2>6. Hold, refunds and payouts</h2>+ <ol>+ <li>+ <strong>30-day hold.</strong> Each commission is held for 30 days+ after the customer’s payment. This covers refunds and payment+ disputes.+ </li>+ <li>+ <strong>Refund during the hold.</strong> If the payment is fully+ refunded or disputed during the hold, that commission is cancelled. A+ partial refund reduces it in proportion.+ </li>+ <li>+ <strong>After the hold.</strong> The commission becomes payable and is+ yours. We never ask for it back, even if the customer is refunded+ later.+ </li>+ <li>+ <strong>Monthly payout.</strong> On the first business days of each+ month, we pay your payable balance if it is $50 or more. A smaller+ balance rolls over to the next month.+ </li>+ <li>+ <strong>How you’re paid.</strong> Payouts are sent from+ Twenty.com PBC (US) to the payout account you give us, through the+ payment provider we use for the program (for example PayPal). Your+ bank or payment provider may charge currency-conversion or+ cross-border fees.+ </li>+ </ol>+ <p>+ A payout can only be sent once your payout and tax details are complete.+ Until then, your balance is kept and we remind you to finish the setup.+ If payouts are still not set up 24 months after your first commission,+ the balance expires. If a transfer fails, we contact you and retry once+ your details are fixed.+ </p>++ <h2>7. Taxes</h2>+ <p>+ You are responsible for declaring and paying the taxes on your+ commissions in your country. Commissions are paid as stated, with no tax+ added or withheld by Twenty unless the law requires it.+ </p>+ <ul>+ <li>+ <strong>US partners</strong> give us a Form W-9 before their first+ payout. If you receive $2,000 or more in a calendar year, a Form+ 1099-NEC is filed and sent to you.+ </li>+ <li>+ <strong>Partners outside the US</strong> give us a Form W-8BEN+ (individuals) or W-8BEN-E (companies) before their first payout.+ </li>+ <li>+ If you are VAT-registered, contact us so we can agree how your+ commissions are invoiced.+ </li>+ </ul>++ <h2>8. How you may promote Twenty</h2>+ <p>+ Share Twenty honestly, wherever your audience is: articles, videos,+ newsletters, social posts, communities, client projects.+ </p>+ <p>You must:</p>+ <ul>+ <li>+ Say clearly that you earn a commission when you share your link or+ code (for example “affiliate link” or “#ad”),+ as required by the FTC and similar rules in other countries.+ </li>+ <li>+ Describe Twenty accurately: no invented features, prices, discounts or+ claims of partnership beyond being an affiliate.+ </li>+ <li>+ Follow the rules of the platforms you post on, and anti-spam laws when+ you email people.+ </li>+ </ul>+ <p>You must not:</p>+ <ul>+ <li>+ Bid on “Twenty”, “Twenty CRM” or close+ variants in paid search ads, or run ads that send people straight to+ twenty.com through your link.+ </li>+ <li>Send unsolicited bulk email or messages, or buy lists.</li>+ <li>+ Set your link’s cookie without a real click (cookie stuffing),+ or use bots, pop-ups or fake traffic.+ </li>+ <li>+ Pretend to be Twenty, or offer discounts, refunds or support in+ Twenty’s name.+ </li>+ <li>+ Offer customers cashback, gifts or any share of your commission.+ </li>+ <li>+ Create fake accounts, or pay for workspaces no real client uses, to+ earn commissions.+ </li>+ <li>Refer yourself or your own company.</li>+ </ul>++ <h2>9. Use of the Twenty brand</h2>+ <p>+ While you are in the program, you may use the Twenty name, logo and+ product screenshots to promote Twenty, following the guidelines in the+ partner kit. This permission ends when you leave the program.+ </p>+ <p>+ You may not use “Twenty” in your own company, product or+ domain name, or change the logo. Content you create about Twenty stays+ yours. We’ll ask before sharing it on our channels.+ </p>++ <h2>10. Suspension and termination</h2>+ <p>+ <strong>Leaving.</strong> You can leave the program at any time by+ email. Your link and code stop working, so there are no new referrals.+ As long as you haven’t broken these terms, you keep earning on the+ customers you already referred until each one’s 12 months end, and+ we keep paying you as usual. When the last of them ends, any remaining+ balance is paid, even below $50.+ </p>+ <p>+ <strong>Ending by Twenty.</strong> We can end the program, or your+ participation, with 30 days’ notice. Unless you broke these terms,+ you keep earning on your existing customers, as above.+ </p>+ <p>+ <strong>Breach.</strong> If you break these terms, we may suspend your+ account straight away while we look into it. During a suspension,+ commissions are still recorded but payouts pause. If the breach is+ confirmed, we close your account: commissions linked to the breach are+ cancelled, other commissions earned in good faith are still paid, and+ you stop earning on new invoices.+ </p>++ <h2>11. General terms</h2>+ <ul>+ <li>+ <strong>Changes.</strong> We may update these terms. We email you at+ least 30 days before a change takes effect. Changes never reduce+ commissions already earned. If you don’t agree, you can leave+ the program before the change applies.+ </li>+ <li>+ <strong>Independent partners.</strong> You act on your own behalf.+ Nothing here makes you an employee, agent or legal partner of Twenty,+ and you can’t make commitments in our name.+ </li>+ <li>+ <strong>Your data and your customers’ data.</strong> Each of us+ handles personal data under the privacy laws that apply. We only share+ with you what you need to follow your referrals (workspace name, plan,+ seats and commission amounts), never the content of their workspace.+ Our{' '}+ <LocalizedLink href="/privacy-policy">Privacy Policy</LocalizedLink>{' '}+ explains how we handle yours.+ </li>+ <li>+ <strong>Confidentiality.</strong> Keep any non-public information we+ share with you (roadmaps, pricing plans) confidential.+ </li>+ <li>+ <strong>Transfer.</strong> If your company is acquired or changes+ legal entity, we can transfer your partner account on written request.+ </li>+ <li>+ <strong>Liability.</strong> The program is provided as is. Neither+ party is liable for indirect or consequential losses. Our total+ liability to you is limited to the commissions owed to you under these+ terms.+ </li>+ <li>+ <strong>Governing law.</strong> These terms are governed by the laws+ of the State of Delaware, United States. Disputes go to the state or+ federal courts located in Delaware.+ </li>+ <li>+ <strong>Whole agreement.</strong> These terms, with the brand+ guidelines in the partner kit, are the full agreement between us about+ the program.+ </li>+ </ul>+ <p>+ Questions: <a href="mailto:[email protected]">[email protected]</a>+ </p>+ </>+ );+}diff --git a/packages/twenty-website/src/sections/legal/index.ts b/packages/twenty-website/src/sections/legal/index.tsindex 1270a17188b..ef09dd4aee8 100644--- a/packages/twenty-website/src/sections/legal/index.ts+++ b/packages/twenty-website/src/sections/legal/index.ts@@ -1,3 +1,4 @@+export { AffiliateProgramTermsDocument } from './AffiliateProgramTermsDocument';export { LegalDocument } from './LegalDocument';export { PrivacyPolicyDocument } from './PrivacyPolicyDocument';export { SupportDocument } from './SupportDocument';