Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

fix(types): add trial_period_days to createCheckoutSession options#663

Open
ReneFromFactorialBiomechanics wants to merge 2 commits into
invertase:nextfrom
ReneFromFactorialBiomechanics:add-trial-period-days-types
Open

fix(types): add trial_period_days to createCheckoutSession options#663
ReneFromFactorialBiomechanics wants to merge 2 commits into
invertase:nextfrom
ReneFromFactorialBiomechanics:add-trial-period-days-types

Conversation

@ReneFromFactorialBiomechanics

Copy link
Copy Markdown

Adds missing trial_period_days field to CommonSessionCreateParams in the client SDK.

This resolves a false-positive TypeScript error when using the createCheckoutSession function with a trial period, even though the backend supports it as of commit e9ee79e (January 2024).

This change improves developer experience by aligning the client-side types with the backend implementation and avoiding misleading IDE or build-time errors.

Adds missing `trial_period_days` field to `CommonSessionCreateParams` in the client SDK.

This resolves a false-positive TypeScript error when using the `createCheckoutSession` function with a trial period, even though the backend supports it as of commit e9ee79e (January 2024).

This change improves developer experience by aligning the client-side types with the backend implementation and avoiding misleading IDE or build-time errors.
@CLAassistant

CLAassistant commented May 1, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants