I’m developing a custom payment gateway for WooCommerce, and I’m using the init_form_fields() function to add public and private key fields in the admin settings. However, this approach stores the sensitive key data in the database, which I believe is not secure. Is there a way to handle this sensitive data without storing it in the database, considering that encryption might not be effective since the encryption key would also be stored in the code
I can’t think of any solution.
Henry Adagba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.