Can I Delete a SureCart Customer? - SureCart
/ Knowledge Base /Online Store/Can I Delete a SureCart Customer?

Can I Delete a SureCart Customer?

You might be wondering how to delete a SureCart customer.

Probably when you tried to delete a customer, you received this error: Failed to delete customer. Cannot delete record because dependent checkouts exist

You cannot delete a customer who made a purchase and has a checkout because we want to preserve the integrity of your data and avoid any inconsistencies.

For example, if you delete a customer who has a checkout, you will end up with a checkout record in SureCart with no associated customer. This can cause problems with your reports, analytics, and refunds.

But If you manually added a customer from the Customers tab in SureCart, you can delete them. However, you can only do so if they have not made any purchases yet.

If you don’t want to keep customers on your website anymore, you can delete them. Remember, even if you remove them from the website, their information is still saved in the SureCart database, which can be exported.

You also have the option to delete customers for whom you’ve processed test payments in test mode. You can learn more about this here.

How to Delete the User from Your Website

If you need to remove a user created, with the SureCart customer role, on your WordPress website during a customer’s purchase, here’s how you can do it:

You can go to the Users tab in WordPress, find the customer you want to delete, and delete them from there. This will remove them from your WordPress site.

  1. Go to the Users tab from your WordPress website.
  1. Hover over the user and click on delete.
  1. Confirm Deletion.

The user will be deleted from your website, but their information will stay in the SureCart database.

If you remove a user from your WordPress site and they come back later to purchase with the same email address, don’t worry. Their information will still be connected to SureCart. This means you’ll be able to see all the past orders they made. It’s like they never left!

In a nutshell: So, if a SureCart customer bought something, you can’t delete it. But if you added them and they bought nothing, you can.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

E-Commerce Store Launch Checklist Download
Scroll to Top