🐛 Subscription current period dates could be null (#6931)

`current-period-start` and `current-period-end` can be null if the invoice has not yet been created in stripe. This happens after the subscription is created, before the webhook is sent.
This commit is contained in:
David Barragán Merino
2025-07-22 12:32:42 +02:00
committed by GitHub
parent ea5521485a
commit 9d288486d7

View File

@@ -205,9 +205,8 @@
[:trial-start [:maybe ::sm/timestamp]]
[:cancel-at [:maybe ::sm/timestamp]]
[:canceled-at [:maybe ::sm/timestamp]]
[:current-period-end ::sm/timestamp]
[:current-period-start ::sm/timestamp]
[:current-period-end [:maybe ::sm/timestamp]]
[:current-period-start [:maybe ::sm/timestamp]]
[:cancel-at-period-end :boolean]
[:cancellation-details