Last Updated: 2024-03-02
I was working with some test data in Stripe and I deleted the test customers over on Stripe's test data dashboard. When I tried paying again locally, I got weird errors. This turned out to be because my local DB had Stripe identifiers for users (etc.) that no longer had any corresponding entities over on Stripe's test API.
In general, any reset of data involving a stateful API probably requires both: