Skip to content

Add test licence purchase link and remove the fixed price - #1237

Merged
enaboapps merged 1 commit into
mainfrom
feat/1236-licence-buy-link
Oct 31, 2026
Merged

enaboapps merged 1 commit into
mainfrom
feat/1236-licence-buy-link

Conversation

@enaboapps

@enaboapps enaboapps commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Remove the fixed price from Licence settings and documentation. Add Buy licence controls to the trial/licence banner and the unlicensed Licence page. They open the reusable Stripe test Payment Link in the default browser, explicitly labelled “Test checkout · no real payment”. The link uses the configured one-off price, quantity one, and promotion codes disabled.

Closes #1236. Builds on merged #1233 and #1235; rebased onto and targets main. v1.4.0 remains held; this is test mode only.

The official Tauri opener plugin is scoped to the exact checkout URL on the main window. General anchor interception is disabled and the overlay receives no browser permissions. Browser failures display a retryable error. Existing offline activation is unchanged, and the purchase button participates in the Licence page's existing switch recovery scanning.

Validation: Stripe API readback confirmed active/test-only link, configured price and quantity, and promotion codes off. Node 24 lint, frontend tests (320), script tests (21), and app build passed. One existing account-sync timing test failed in the first full run; the repeat full suite passed. Rust 1.97.1 fmt/clippy/tests passed (865 passed, 4 ignored). Docs build passed. Windows VM proof passed: selecting Buy licence by keyboard opened Microsoft Edge at the exact approved Stripe Payment Link, showing Switchify PC licence and the Sandbox badge. No payment submitted. Independent agent reviewed 2c79d13 and found no actionable issues.

Before live release, replace the test link and matching opener scope, and remove the test-checkout wording after live fulfilment approval. No merge or release requested.

@enaboapps enaboapps added this to the v1.4.0 milestone Oct 31, 2026
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
site Ready Ready Preview Oct 31, 2026 11:35am UTC

Request Review

@enaboapps
enaboapps marked this pull request as ready for review October 31, 2026 10:57
@enaboapps
enaboapps force-pushed the fix/1234-licence-banner branch from 685785d to 767083c Compare October 31, 2026 11:02
@enaboapps
enaboapps force-pushed the feat/1236-licence-buy-link branch from 2c79d13 to d968909 Compare October 31, 2026 11:02
Base automatically changed from fix/1234-licence-banner to main October 31, 2026 11:35
@enaboapps
enaboapps force-pushed the feat/1236-licence-buy-link branch from d968909 to 1600bfc Compare October 31, 2026 11:35
@enaboapps
enaboapps merged commit 6b1908f into main Oct 31, 2026
10 checks passed
@enaboapps
enaboapps deleted the feat/1236-licence-buy-link branch October 31, 2026 12:10

This branch was successfully deployed

1 active deployment
Preview — 1600bfc9 Deployed Oct 31, 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.

Replace in-app licence price with a purchase link

1 participant