Files
sorsfonalak/services/frontend/src/lib/legal.ts
T
fecoandClaude Opus 5.5 e530e78c54
CI / test (push) Successful in 1m25s
CI / build (push) Successful in 5m20s
CI / deploy (push) Skipped
Stripe: company purchases, payment details kept for the invoice
The checkout offers buying as a company (name, tax number). A confirmed
payment keeps Stripe's payment id, the amount charged and the buyer's
billing details, and queues the invoice for a background job (Billingo,
once the company exists). Payments outlive a deleted account for the
accounting law's 8 years. The package cards, the FAQ and the privacy
policy say that card details go to Stripe only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 07:26:03 +00:00

20 lines
835 B
TypeScript

// Operator details shown on the legal pages. The name, address and
// registration come with the company (at the opening); until then the pages
// leave them out and give the contact address only.
export const OPERATOR = {
name: null as string | null,
address: null as string | null,
email: "info@sorsfonalak.hu",
/** Company registration and tax number, if the operator is a company. */
registration: null as string | null,
};
/** Name, address and registration as one phrase ("Kft., 1234 Budapest, …"), or null. */
export function operatorDetails(): string | null {
const parts = [OPERATOR.name, OPERATOR.address, OPERATOR.registration].filter(Boolean);
return parts.length > 0 ? parts.join(", ") : null;
}
export const PRIVACY_UPDATED = "2026. november 20.";
export const PRIVACY_UPDATED_EN = "20 November 2026";