• Welcome to KonaKart Community Forum. Please login or sign up.
 

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 - michaelwechner

31
 ... of course the  SOAP API should be protected, such that only the Content Management System or whatever third-party application is able to use this SOAP API. Is this possible somehow, e.g. IP based?

As an alternative solution one could generate a hash together with the new password which Konakart sends and then use again

void changePassword(
    String sessionId,
    String currentPassword,
    String newPassword)

Thanks

Michael
32
Hi

It seems to me there are two possibilities to change a password:

Either 1)

void changePassword(
    String sessionId,
    String currentPassword,
    String newPassword)

or 2)

sendNewPassword(
    String emailAddr,
    String subject,
    String countryCode)

The problem with 1) is that one has to know the current plain text password, hence cannot be used for "password forgot"
and 2) has the problem that KonaKart is creating/sending a new password directly to the user, whereas we would
like to send only a link with a hashed URL (contained within the email) to the user, which then the user has to click on
and can create his/her new password by her/himself, but this would requires an API method like

void changePassword(
    String sessionId,
    String newPassword)

or is there any other possibility?

Thanks

Michael

33
Thank you :-)
34
great, thanks very much :-)

Cheers

Michael
35
this seems to work anyhow. Maybe it makes sense to update the javadoc accordingly.

Cheers

Michael
36
Thanks very much for poniting this out, whereas IIUC this will make the shopping items persistent (independent of the session), but which in our case is not wanted.

Thanks

Michael
38
Programming of KonaKart / logout and shopping cart
July 26, 2010, 11:20:49 am
Hi

I have noticed that if one is doing a logout

http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#logout(java.lang.String)

then it seems that also the shopping cart is deleted, although I am still refering it with a negative customer ID
which I remember within the http session.

Is this on purpose and maybe am I doing something wrong?

Thanks

Michael
39
thinking some more about it I currently see two possibilities:

- Either keep the negative customer ID as a reference to the shopping cart
- Or copy/paste the shopping (items and quantities) from the negative customer Id to the new session ID

Cheers

Michael
40
Hi

Before a user is registered or signed-in I use

getTempCustomerId()

in order to attach a shooping cart, e.g.

Session ID: be9a3bceb5837622d4d6cc44a079ae3c (based on a temporary user created within forceRegisterCustomer)
Customer ID: -107

but at some point the customer will register or sign-in:

String konakartSessionID = kkEngine.login(username, password);

but here it is not clear to me how to transfer the filled shopping cart to the signed-in user, because
first the above method does not seem to have any connection to the previous session, but rather creates a new session (btw. in my case the login() method returns an empty string) and second I have used the negative customer ID to add items to the shopping cart.

Any pointers are much appreciated.

Thanks

Michael
41
Hi

We are currently integrating KonaKart with Yanel CMS and other third party web-apps, whereas these
webapps should all share some common user management. Is it possible to connect LDAP or something similar
with KonaKart instead to replicate the user data within KonaKart?

Also this is kind of related to a single sign on.

Any pointers/hints are much appreciated.

Thanks

Michael
42
Miscellaneous / Session Timeout (using SOAP)
July 23, 2010, 09:56:16 am
Hi

It came to my mind that if "my" Tomcat has a longer session-timeout than the Konakart Tomcat to which
we have access via SOAP, then issues can occur.

Is it recommened to just increase the session-timeout of the KonaKart Tomcat or are there any better approaches?

Thanks

Michael
43
Hi

How can I get the expiry date of the special price via the Konakart API?

There is a method

http://www.konakart.com/javadoc/server/com/konakart/appif/ProductIf.html#getExpiryDate()

but this rather seems to be the expiry data of the product itself.

The reason I am asking is because we would like to write something like:

"This special offer/price is valid from 2010.07.05 till 2010.07.29"

on the product page.

Any pointers/hints are appreciated.

Thanks

Michael
44
I think I have found an example within

custom/appn/src/com/konakart/actions/CustomerRegistrationSubmitAction.java

or rather

com.konakart.app.CustomerRegistration

Will give it a try and let you in case it didn't work ;-)

Cheers

Michael