I'm working a site using FoxyShop to allow users to view previous orders, but I'm having issues with the updated password passing from FoxyCart to Wordpress after checkout.
My FoxyCart settings: SSO is on, password type phpass portable mode, hash 8, store version 1.1.
FoxyShop settings: Enable SSO, Wordpress account optional, Create/update user after checkout.
- When a new user places an order their email and password information is properly passed to Wordpress and a new user is created. Awesome
- If that user adds something to their cart and logs into Wordpress on the site, then goes to checkout, they remain logged in and can checkout. Awesome
- If the user isn't logged in, adds something to the cart and goes to checkout then the password they created in Foxycart (the original order) does not work in Foxycart. Huh??
- If they create a new password with the Foxycart system, then they can checkout and the new password works in Foxycart. But the new password does not get passed to Wordpress with the order (the original password works there).
I've found the Foxyshop data feed add/update user:
That user_update function appears to use the same code for setting the password regardless if it is a new user or an existing user - apart from how it gets the user ID (add new VS get existing). I can't figure out what could be happening here so any help would be great. Maybe @sparkweb
has some thoughts?