@anphira Thanks. I will 🙂
Hi,
We have implemented external site api to send some data to woo-commerce site by using rest api keys. To access woocommerce apis we need to send data with consumer secret and consumer key to the woo-commerce. For this we are sending consumer secret and key to our system automatically.
In this case, we had to used three methods to get consumer key and secret in different woo-commerce versions.
1) By using get_user_meta($user_id, ‘woocommerce_api_consumer_key’, true)
2) After that we fetched that keys from the database by using wp_woocommerce_api_keys table
3) Now, that consumer keys are stored in database as a hash value after generating the keys.
This is a big problem for us because if we update woo-commerce version, we need to update our plugin as well to send consumer secret and key automatically.
How we can predict next version update will not effect to our methods. Is there any solution for this issue ?
-
This reply was modified 9 years, 6 months ago by rukshika.