#Jasuno
1 messages · Page 1 of 1 (latest)
Hi there! You can think of test clocks as the top-level container of simulated subscriptions. If you want to test a subscription schedule with a test clock, you'll need to create the test clock first, followed by a customer, and attach this customer to your test clock: https://stripe.com/docs/api/customers/create#create_customer-test_clock
once you have that customer in place, create the subscription schedule
In other words, it's not possible to associate an existing subscription or subscription schedule with an existing or new test clock
The thing is that the customer was created when the account was created, so i first created the text clock then the customer, attached the clock to the customer and then later in the process the scheduled subscription was created and we attached that customer to the subscription, i thought that would work, i'm not sure where i went wrong
Can you share the subscription ID?
sub_sched_1MqljNAq6ReFUKV8BQp7uniO
thanks! I think where you went wrong was the creation of the customer. a customer can only be associated with a test clock at customer creation. https://stripe.com/docs/api/customers/create#create_customer-test_clock
a test clock ID was not passed when creating the customer associated with sub_sched_1MqljNAq6ReFUKV8BQp7uniO
ok ill try again
Im getting the same problem, let me create another customer and send you the test clock id
sorry its taking so long
It seems like it may be a problem with y back end, we can close this thread for now and ill open a new one if needed