stack/apps
Aman Ganapathy be2ad595ad
fix: checkout flow for 0 dollar subscription (#1465)
### Context
There was a small bug via dashboard checkout flow where it would fail on
trying to create a checkout flow for a free product subscription because
no client secret is generated for a 0 dollar subscription.

### Summary of Changes
The flow should be fine now. There's special carve out logic for it.
That being said, users attempting to mimic a free plan grant are
encouraged to follow the `ensureFreePlan` pattern.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Free subscription selections now bypass Stripe payment processing,
streamlining checkout for zero-cost offerings.
* Purchase return flow now properly recognizes and activates free
subscriptions without requiring payment confirmation.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/hexclave/stack-auth/pull/1465?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-21 14:33:55 -07:00
..
backend Move internal metrics queries to ClickHouse replica (#1463) 2026-05-21 14:31:58 -07:00
dashboard fix: checkout flow for 0 dollar subscription (#1465) 2026-05-21 14:33:55 -07:00
dev-launchpad chore: update package versions 2026-05-20 11:58:44 -07:00
e2e feat: link Stack Auth projects to GitHub and push config from the dashboard (#1450) 2026-05-21 13:47:46 -07:00
hosted-components chore: update package versions 2026-05-20 11:58:44 -07:00
internal-tool chore: update package versions 2026-05-20 11:58:44 -07:00
mcp chore: update package versions 2026-05-20 11:58:44 -07:00
mock-oauth-server chore: update package versions 2026-05-20 11:58:44 -07:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
skills Use Accept header for skills HTML/markdown negotiation (#1454) 2026-05-20 13:15:13 -07:00