#shaon-testclocks-connect
1 messages · Page 1 of 1 (latest)
Hello! Yes, there shouldn't be anything blocking you from using test clocks with connect
What specifically are you trying to test? Some flows are easily testable w/o test clocks, but some flows are much easier with clocks
basically i am trying to simulare invoice.created but with billing reason = subscription_cycle
Gotcha - so you should be able to test that by creating a Subscription with a very short trial length (just a couple of seconds)
ah, this doesn't seem possible
i get an error stating that trial length needs to be greater than 2 days
Are you using checkout? or something else to create the subscription?
checkout
Yeah then this won't work - you would have to create the subscription directly through the API (not with checkout)
I think it was a product decision - it doesn't really make sense to have a trial period that could end before the Checkout session is completed, and could result in a lot of confused users
ah ok