Stripe documents are clear how to modify the test clock for a Stripe customer. They're here.
However, the documentations assume the user wants to create a new customer in Stripe. Hence step 2 is all about creating a new customer and associated subscription.
I'm trying to figure out how to modify the test clock of a pre-existing Stripe customer. For my testing purposes, the customer will be created via a UI on the front end. I then want to be able to fast forward the Stripe test clock of this user.
I've looked into updating the customer and subscription objects, but Stripe doesn't allow the test_clock field to be updated.
Any help would be appreciated.
This is not possible. Customers only get created in the scope of a Test Clock if test_clock
is specified during creation, and it is not currently possible to retroactively associate a Test Clock to an existing customer.