#GhoSTLabz-products
1 messages ยท Page 1 of 1 (latest)
Can you be a bit more specific? Are you just looking to delete all the products on an account?
yes
the problem is products have prices and I'm not sure if the request will go through
I simply want to reset my account in test mode, remove all products and prices
Do you want to completely reset your account in test mode (deleting all data)? Because if so you can do this through the dashbaord (https://dashboard.stripe.com/test/developers) -> click the "Delete all test data..." button
problem is its not test data
I was adding products and my database crashed, gave 2-3 errors
on requests while adding
I have probably like 2-3 duplicate products
Let's back up for a second here - you mentioned test mode before, but now your saying it's not test data and from your description it sounds like you only want to remove a couple of products, not reset your accuont in test mode. Can you be very specific and say specifically what you're trying to do?
I'm managing over 1300 products and I tested my script on test mode and it worked, so I decided to run it on production. While inserting products in Production mode, my SQL server crashed and I was unable to retrieve the IDs of the products inserted, I managed to continue from the same ID, but I am not sure if I have duplicates or not
the problem is I don't know how to find similar products in 1300 products
Gotcha - so ideally you want the ability to find duplicates of your live mode products and delete them, or delete ALL your live mode products and run the script again. Is that correct?
So there isn't a simple way to do this - if the products don't have any prices associated with them you can use the API to delete them yourself.
the problem is they do
Yeah you can delete those prices through the dashboard, but not the API, so that'll be really tedious for you - you can try asking support (https://support.stripe.com/contact) to see if they have any automated tools on their end that may be able to do this, but otherwise your best option may be to find the duplicates and just delete those
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
ye I managed to find the duplicates
using the CSV Export function
I hope support is able to help
also I didn't know that I must save price id in database and I have only product ids
๐
feels like a horror movie
Anyway, thank you for your time and help!
๐ Hope it's not too painful for you to fix!