Reputation: 365
I am using Stripe to carry out some test transactions on supposed customers from a CodeIgniter application. For some reason, to re-create a Stripe > Plan with the same old id and name online or to re-enter the Stripe customer into the Stripe > Customers through the API I have to clear the test data. When I clear the test data it clears the test data except the Logs.
Now what happens when I re-create a Stripe > Plan, it automatically gets the deleted customer from the Logs. As I don't need the old customer in the plan as I might have changed its credentials.
So how to delete/clear the Logs on Stripe in a test environment?
Upvotes: 16
Views: 10746
Reputation: 559
As of August 8, 2020:
Upvotes: 5
Reputation: 371
You can delete all the test data within the 'Developer' tab below: https://dashboard.stripe.com/developers
Upvotes: 1
Reputation: 2024
As of May 2, 2020, this has moved again.
Upvotes: 14
Reputation: 199
Im not sure why but for me I had to go into "Developers" on the left hand menu. On the next screen at the very bottom there is a section to remove Test Data.
Upvotes: 11
Reputation: 1674
As of Nov 21, 2019, the process is similar to Christopher Stevens answer, however things have moved around a little.
Stripe changes the UI often enough, that this answer will likely require ongoing maintenance.
Upvotes: 14
Reputation: 1278
This is an older question, but a Google search brought me here, requiring an answer after my own trial and error (correct solution may have changed over time).
Upvotes: 30
Reputation: 441
Check your Account Setting (upper right corner) > data.
The last option says: "Test Data: Delete all test data..."
Got it from Robin Thebe on wpguru.com: "How to delete Stripe test data"
Upvotes: 4
Reputation: 365
After trial and error I came to know that in the Stripe interface there is no way to get rid of the logs, maybe it is due to give security in the pro environment. However I found out that there is an option to just make another account under the same stripe-user-email. On the creation of the new account we actually get rid of the logs. And we can just simply delete the old account.
Note: Deletion of an account does not delete you from Stripe. Its just creation of an account with a different name. We can have many accounts with many names.
Upvotes: 2