• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 16, 2025, 04:13:33 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - larryan

1
Quote from: trevor on May 05, 2010, 04:44:17 pm
KonaKart encrypts passwords using one way encryption which means that they cannot be decrypted. Customers that have forgotten their passwords have to be sent a new password.


trevor,
Thanks you for your answer.
If password cannot be decrypted, why we need getPassword() method?
Thanks
Larry
2
Hi all
I want to send the password back to the customer when he/she forgot it. I use KKAdminIf to get AdminCustomer like KKAdminIf.getCustomerForEmail(adminSessionId, email), then I can get password by AdminCustomer.getPassword(). But the password is an encrypted one. How can I get a decrypted password?
Please help to point out.
Thanks
Larry
3
Quote from: trevor on May 03, 2010, 07:45:36 pm
The AdminApp API call : public void setCustomerPassword(String sessionId, int custId, String newPassword) should encrypt the password.


Hi Trevor, Thank you for quick reply.
The password change was success!
There is another question linked to password. When customer forgot the password I use "kkeng.sendNewPassword1(email, EmailOptionsIf);" where I can pass in name value pairs that can be picked up in the Velocity template. But I don't know how to pick up Velocity template? If I need to create it before, how could I do it?
Please advise.

Thank you for your helps again.
Larry
4
Hi friends,
I'm new here. We use konakart API in our application. Simple question here: when I register a new customer, the password was encrypted into table, but when customer try to change password, what I did is that get customer id first, then use API method "mgr.setCustomerPassword(cust.getId(), data.get("password"));" to update the password. But the password was not encrypted into the table. Should I encrypt the password myself first? If so, where is the API method I can use?

Please advise
Thanks
Larry