Skip to content

feat(billing): retire Polar; Stripe Managed Payments is the only checkout - #27

Merged
0xNyk merged 1 commit into
mainfrom
feat/retire-polar
Sep 15, 2026
Merged

0xNyk merged 1 commit into
mainfrom
feat/retire-polar

Conversation

@0xNyk

@0xNyk 0xNyk commented Sep 15, 2026

Copy link
Copy Markdown
Member

Stripe Managed Payments becomes the only way to buy and activate Dictx Pro.

  • /buy: Stripe Payment Link, or 503 checkout-unavailable page when Stripe is not fully configured.
  • /api/pro/verify: dxp- keys against Stripe; lk_ / polar_cl_ answer 410 so already-activated Polar customers keep Pro (installed apps keep state on errors) while new activations fail.
  • Success page, FAQ, 17 locale placeholders, README, commerce doc updated; Polar webhook example removed.
  • POLAR_* env vars are removed from Vercel after this deploys.

Tests: landing/tests/billing.test.js 8/8.

https://claude.ai/code/session_01CvRJfFeFvF96jhBFujxvHN

…kout

- /buy redirects to the Stripe Payment Link, or answers 503 "checkout
  unavailable" when Stripe is not fully configured. No Polar fallback.
- /api/pro/verify checks dxp- keys against Stripe only. lk_ and polar_cl_
  keys from the retired Polar checkout answer 410: installed apps treat
  that as an error and keep an existing entitlement, so customers who
  already activated Polar keys are not switched off, while new
  activations with those keys fail visibly. Other keys are inactive.
- The success page drops the Polar URL-key branch; the DataFast tag
  comment now describes Stripe session attribution.
- FAQ, all 17 locale placeholders (dxp-...), landing README, and the
  commerce doc describe the Stripe flow. The Polar webhook example is
  removed.
- Tests: 8/8, including 410 for retired keys with no network call and
  /buy failing closed to 503.

Claude-Session: https://claude.ai/code/session_01CvRJfFeFvF96jhBFujxvHN
@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dictx Ready Ready Preview Sep 15, 2026 6:23am UTC

Request Review

@0xNyk
0xNyk merged commit 94f8fc6 into main Sep 15, 2026
3 of 6 checks passed
@0xNyk
0xNyk deleted the feat/retire-polar branch September 15, 2026 06:24

This branch was successfully deployed

1 active deployment
Preview — 5bfb0c60 Deployed Sep 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant