• Welcome to KonaKart Community Forum. Please login or sign up.
 
October 12, 2024, 05:14:32 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.

Topics - BruceLee

1
Dear Team,

I'm very interested in the new Digital Download feature in 2.2.0.7. However, it appears not working in KonaKart Demo site.

I cannot see a download link or even 'download' it after I order software "Unreal Tournament
  - Version: Download: Windows - English". Though there is an option to choose Download version before checkout.

If I install KK 2.2.0.7, do I need a real working payment gateway to test this feature? It's not practical for us since we have not signed with any payment gateway before release.

Is the download link just regular URL pointing to a file e.g. my.pdf? Is any secure download supported?

Thanks in advance!
-Bruce
2
Dear Team,

In our project, we'd like to limit numbers of product ID. We cannot afford to put tens of thousands of products with same price, similar type. Instead, we want to pass a brief description to BasketIF when user adds the product to cart.

For example, a product is Financial Article, all $5; another product is Medical Article, all $3. When user buys an article, we need to show the title of article in Basket.

In current BasketIF, the only field in table 'basket' appears to be productID, which auto refers to the id in 'product' table for some functions like getTotalPrice().

Is any way the application can pass/retrieve custom info to BasketIf, just like the 'custom' field in table 'order'?

Thanks a lot,
-Bruce
3
Configuration of KonaKart / Add a new payment gateway
October 18, 2007, 02:47:29 am
Dear Team,

We'd try to add a new payment gateway. There are 2 ways for it. One is our app makes a URL with several parameters, then the customer is directed to the payment gateway website and finish the order. URL like
http://paymentgw.com/pay?auth='authcode'&param2='value2'&;...

In this case, don't we need a new KK payment module? But the saveOrder() also requires an paymentMethod, how can we make it not using any payment module?

The second is like authorizenet, our app sends a http request to payment gw vendor and processes the response.

I tried to look at the FAQ, but still don't have compelete idea what's the required steps  to add it.
Do you have more detailed document for adding a new payment gateway?

This payment vendor is very big in Asia (similar to PayPal). I think we can contribute to KK when we are done.

Thanks in advance!
-Bruce
4
Installation of KonaKart / How to compile the examples
October 18, 2007, 02:20:38 am
Dear Team,

I noticed there is build.xml for soapexamples.

Do you also provide an easy way to compile other examples like InsertOrder, using POJO API?

Thanks in advance!
-Bruce
5
Programming of KonaKart / User ID as Email
October 09, 2007, 02:34:54 pm
Hi Team,

In KK, the unique ID for an user is the email. However, on our website, it's an Username and the email could be used for several users (e.g. all members in a family).
Is any workaround for this using KK?

Thanks!
-Bruce
6
Hi Team,

It's good that KK supports list of Countries and states/provinces for some countries on the registration page. However,
1) How can I add provinces for a country that doesn't have state/province list now? I see the Country table in database, but cannot find state/province table.
How does the Country and State selection work in RegisterCustomerBody.jsp?
What do you think to use CountryTag lib rather that a Country table in database?
2) It's nice that, on registration page, when user selects a Country, the State/Province edit box auto changes to dropbox for that country.
How can we do that if we don't use Struts (We use WebWork2)? Is AJAX or some other techniques involved?

Thanks in advance!
-Bruce
7
Sorry I don't fully catch it from the faq and  couldn't see much posts in forum either.
The Asian (eg Japanese and Chinese) characters in database are OK. But we cannot make it to work on UI.
What we did,
1) Copy Messages.properties to Messages_zh.properties,
and change header.my.account to some Chinese characters
2) Add lines in struts-config.xml
         <action path="/SetLocale_zh_CN" type=" com.konakart.actions.SetLocaleA
ction" parameter="zh_CN">
            <forward name="SetLocale" path="/CatalogMainPage.do"/>
        </action>
3) On web browser I type
localhost:8780/konakart/SetLocale_zh_CN.do
4) But on main page, 'my account' displays wrong characters.
We also tried use existing de_DE and changed header.my.account to some Chinese characters. But it doesn't display correctly either.

Have we done correct steps? An step-by-step faq for this is highly appreciated.
-Bruce
8
Installation of KonaKart / Errors when I start KonaKart
September 21, 2007, 03:10:59 pm
Dear Team,

I don't feel comfortable with many errors on Command Window that displays Tomcat start-up messages. One of them is,
com.konakart.app.KKException: There are no languages in the database
        at com.konakart.bl.LanguageMgr.setDefaultLanguage(LanguageMgr.java:270)
        at com.konakart.bl.LanguageMgr.getDefaultLanguage(LanguageMgr.java:103)
        at com.konakart.app.KKEng.getDefaultLanguage(KKEng.java:313)
        at com.konakart.app.KKEng.getDefaultLanguage(KKEng.java:63)
        at com.konakart.al.KKAppEng.<init>(KKAppEng.java:291)
        at com.konakart.al.ConfigCacheUpdater.getClientEng(ConfigCacheUpdater.ja
va:77)
        at com.konakart.al.ConfigCacheUpdater.updateConfigs(ConfigCacheUpdater.j
ava:191)
        at com.konakart.al.ConfigCacheUpdater.run(ConfigCacheUpdater.java:147)
21-Sep 09:04:39 INFO  (KKAppEng.java:<init>:268) Engine used by application is c
om.konakart.app.KKEng
com.konakart.app.KKException: There are no languages in the database


Besides, I got following error on IE when I clicked shortcut "Start and Launch KonaKart". After a while, the KonaKart Admin page still shows though.

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find bean: "konakartKey" in any scope
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
   org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
   org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
   org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.ServletException: Cannot find bean: "konakartKey" in any scope
   org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
   org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
   org.apache.jsp.WEB_002dINF.jsp.MainLayout_jsp._jspService(MainLayout_jsp.java:305)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
   org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
   org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
   org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.jsp.JspException: Cannot find bean: "konakartKey" in any scope
   org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:935)
   org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:230)
   org.apache.jsp.WEB_002dINF.jsp.MainLayout_jsp._jspService(MainLayout_jsp.java:77)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
   org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
   org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
   org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Thanks!
-Bruce
9
Dear Sir/Madam,

When I tried to install KonaKart, I got following error on wizard page "Initialise the KonaKart Database". Any ideas?

My PC OS: Windows Vista Home Premium, English version (But set non-Unicode default to other language)
MySQL 5.0.41-community-nt
Create table in mysql:
  CREATE DATABASE `dbcart`
       CHARACTER SET 'utf8'
       COLLATE 'utf8_general_ci';

-----------------------------------------------
INSERT INTO categories_description VALUES ( '8', '2', 'Tastaturen');
INSERT INTO categories_description VALUES ( '9', '2', 'Mäuse');
Message:   Data truncation: Data too long for column 'categories_name' at row 1
SQLState:  01004
ErrorCode: 0

Thanks in advance!
-Bruce