Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How To Decrypt User Password


Recommended Posts

I've been using OsCommerce for over a year now... very successfully! However, sometimes PayPal transactions end without the user returning to my site to complete checkout. I get the PayPal money but then have to check the user out manually. I do this by looking at the "welcome" email they were sent showing their email address and password. However, today this error occurred but the user has apparently changed their password from what they originally entered. How can I "decrypt" their password so I can log in and finish checking them out? I already have their paypal money but without being able to check them out I can't complete the transaction.


Help, please! I've looked at the login.php and database functions scripts, but I thought there might be a method someone has already developed for this.

Link to comment
Share on other sites

I tried copying the encrypted password from the database and pasting it in the password field, but that didn't work. Possibly because, as it turns out, the password was null?


Here's what I finally did instead... I went in to the user's account and changed the email address to mine. Then I sent a password reminder to that email address. Then I changed the user's account back to their email. A bit clunky, but it works. Should be able to take the function that does the decryption for the password reminder email and just make a php page that does the same thing, accessible only to admins, of course. :-)

Link to comment
Share on other sites

use the Paypal IPN contribution... I think it fixes problems with users not clicking on "continue" after they make payment.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...