I am connecting to an external CRM API where I am trying to create an account using the same username and password (that a customer creates when signing up on the checkout page) for both accounts. It is possible to get the user password before it is hashed with Wordpress?
I am accessing all the other user order info that I need from WooCommerce and passing through the API to the CRM:
$order = new WC_Order($order_id);
$order->billing_first_name;
$order->billing_last_name;
...
I only need the password un-hashed momentarily. I've looked over the WC_Order documentation here: http://ift.tt/1aZnSMM and didn't see a good answer.
Aucun commentaire:
Enregistrer un commentaire