You cannot delete an encryption key if it there are any orders with credit card information that were
encrypted with that key. It's easy to find out if any orders are encrypted with the current key:
Go to > Store Settings > Encryption Keys tab.
In the Encryption Keys tab, look at the Reference Count column. This is the number of orders that
have been encrypted with the current key.
Click on the encryption key to edit it.
In the Edit Encryption Key screen, select the Orders tab. This tab will show you the order number of
all the orders whose credit card information was encrypted with the current key. Before you can
delete an encryption key, you must either delete these orders, or archive them, which removes the
credit card information. There are several ways to do this, but you can archive and delete orders
from the > Order Processing > Orders tab.
After you have deleted all of the orders that were encrypted with the current key, go back to the
> Store Settings > Encryption Keys tab. You'll see that the Reference Count for the
encryption key is now 0.
To delete the encryption key, select it and click the Trash button.
Encryption is now turned off in your store. Credit card information on new orders will not be
Looking for Developer Docs?
We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.