Skip to content

# Payment Settings

Configure Stripe integration from Settings > Payments.

## Stripe Configuration

- Publishable key — used by the frontend for Stripe Elements and Checkout
- Secret key — used by the API for creating charges and managing subscriptions
- Encrypted storage — both keys are stored encrypted in the database using the `ENCRYPTION_KEY` environment variable (AES encryption)

## Webhook

Stripe webhooks are automatically configured to handle:

- Successful payments and subscription renewals
- Failed payments and subscription cancellations
- Refunds and disputes

## Admin Routes

- `/app/settings` (Payments tab) — Stripe key configuration