#NoSpoon-test-clock-checkout

1 messages · Page 1 of 1 (latest)

lethal brook
#

Hey, you can't. What's the use case?

haughty creek
#

I want to add a test_clock to the Subscription that gets created from a successful Checkout Session

#

Basically just want to test the entire subscription lifecycle, from a user going through the Checkout Session to ending/cancelling the subscription.

lethal brook
#

You can't create a test clock from a subscription. You'd need to simulate the Checkout Session parameters when creating the clock

fallen hinge
#

Hi! I'm taking over ynnoj. Actually I just tested, and if you add a test clock on a customer, and then pass that customer ID when creating a Checkout Session, then the subscription created will automatically have a test clock.