TIL about Stripe pending update feature, where you can update a subscription on condition that the payment was successful. Wish I knew about this before I coded up all this logic manually. I wonder if this is a new feature (I wish Stripe added dates to their documentation).