Skip to content

[_]: fix/use startDate instead of created - #395

Merged
xabg2 merged 1 commit into
masterfrom
fix/get-start-date-instead-of-created
Jul 28, 2026
Merged

[_]: fix/use startDate instead of created#395
xabg2 merged 1 commit into
masterfrom
fix/get-start-date-instead-of-created

Conversation

@xabg2

@xabg2 xabg2 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

We're changing the parameter we use to determine when a subscription began:

  • created (previously used): the date when the subscription object was created in Stripe.
  • startDate (used now): the date when the subscription actually started.

With this change, we can properly test the new cancellation flow. For example, we can manually create a subscription in the Stripe Dashboard with a start date in the past, allowing the commitment period to be calculated correctly.

@xabg2 xabg2 self-assigned this Jul 28, 2026
@xabg2
xabg2 requested review from jzunigax2 and sg-gs as code owners July 28, 2026 13:01
@xabg2 xabg2 added the enhancement New feature or request label Jul 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

@sg-gs sg-gs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@xabg2
xabg2 merged commit 7ad0cdc into master Jul 28, 2026
10 of 11 checks passed
@xabg2
xabg2 deleted the fix/get-start-date-instead-of-created branch July 28, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-for-preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants