Relative Content

Tag Archive for wordpresswoocommercepayment-gatewayapi-key

Storing API keys in wordpress

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