Skip to content

Conversation

malthejorgensen
Copy link
Contributor

@malthejorgensen malthejorgensen commented Sep 10, 2025

PR currently only works with a local checkout of the JS SDK (Speakeasy) so that trial info is included in e.g. the checkout page data.

Todo

  • Add clear demarcation of $0.0 initial purchase at the bottom of Checkout-page
  • Move scheduler to subscription/scheduler.py (maybe integrate into or place next to existing cycle logic)
  • Add trial_start-field
  • Quick desired behavior of subscription.started_at – especially when we trigger the first cycle payment (should we emit the subscription.cycle system event, subscription.started, or something different like subscription.trial_ended?

Commits

  • trials: Add backend
  • trials: Add frontend
  • trials: Add trial settings to product create/edit UIs
  • trials: Remove scroll behavior from trial days input field
  • checkout[trials]: Move trial info from price down to "monthly/yearly"

When scrolling down to save the product changes this would almost
always change the value (because scrolling in an `<input type="number">`
changes the value/number).

Better to just disable.
Copy link

vercel bot commented Sep 10, 2025

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

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
polar Ignored Ignored Preview Sep 10, 2025 7:52am
polar-sandbox Ignored Ignored Preview Sep 10, 2025 7:52am

@frankie567 frankie567 closed this Sep 18, 2025
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.

2 participants