Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

control: fix bug when scheduling from subscription #297

Merged
merged 1 commit into from
May 18, 2023

Conversation

bmizerany
Copy link
Contributor

Previously, when scheduling from a subscription, we would send 'now'
as the start of the first phase, which Stripe would interpret as "update
current period start date to 'now'", which is illegal. Instead, we now
send the current period start date as the start of the first phase we
get back after creating the schedule from the subscription.

Previously, when scheduling from a subscription, we would send 'now'
as the start of the first phase, which Stripe would interpret as "update
current period start date to 'now'", which is illegal. Instead, we now
send the current period start date as the start of the first phase we
get back after creating the schedule from the subscription.
@bmizerany bmizerany marked this pull request as ready for review May 18, 2023 22:33
@bmizerany bmizerany merged commit 699672a into main May 18, 2023
6 checks passed
@bmizerany bmizerany deleted the fixsubscripepostcheckout branch May 18, 2023 22:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant