• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 05, 2024, 08:18:12 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 - lrkwz

16
Hello,  I have been requested to implement such a scenario:

User Bob buy product X, billing:France, shipping:France -> price 100€
User Bob buy product X, billing:France, shipping:Italy -> price 90€

How can I implement this? is the enterprise edition necessary/sufficient?

Thank you.
17
Contributions / Italian translation
March 11, 2010, 01:49:23 pm
Not complete but a good starting point
18
Same problem.
It also happens when accessing straight from google search results! (they have included the jsessionid parameter in the results).
19
Contributions / Re: Banca Sella - gestpay payment module
February 01, 2010, 04:28:56 pm
You can test it in production sites: http://www.magickindershop.com and http://shop.dodo.it
20
Contributions / Banca Sella - gestpay payment module
February 01, 2010, 04:26:15 pm
When in test mode this module send only "basic data" to the gateway, in production mode is sends:
[ul]
  • customer name (*)

    • customer email (*)

      • navigation language (*)

        • billing country (**)

        • [/ul]

          (*) To be enabled in gestpay's backoffice panel
          (**) To be added in gestpay's backoffice panel
21
Connection was OK
It was a "simple" matter of default language.
I have set the default language to Italian BEFORE having translated the order statuses.
As an other "side effect" the predefined products disappeared from the app (they where still in the catalog).

SUGGESTION: use outer join when joining with localized values from database (e.g. Orders with orders_status as in this case); a sensitive default could be "TO BE TRANSLATED" instead of null: easily undersandable and safe.

I'll post the italia translation (Messages_it.properties, KonakartAdminMessages_it.properties and various SQL inserts) asap; ask me if you need it urgently
22
Hello,
    I'm developing for a new luxory eshop deployed in ms windows with ms sql server 2005.
Orders can be placed and are correclty saved into the db but when I checkout to the payment gateway I receive an exceltion


Exception Name = com.konakart.app.KKException
Exception Message = Cannot find order for Id = 9
Exception Stack Trace =
at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail1(Unknown Source)
at com.konakart.app.KKEng.sendOrderConfirmationEmail1(Unknown Source)
at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(Unknown Source)
at com.konakart.al.OrderMgr.saveOrder(Unknown Source)


The log states:


15-gen 10:56:18 INFO  (OrderIntegrationMgr.java:saveOrder:64) The order with id = 9 has just been saved
15-gen 10:56:18 ERROR (BaseAction.java:handleException:230) A customer has received the following exception message:
Exception Name = com.konakart.app.KKException
Exception Message = Cannot find order for Id = 9
Exception Stack Trace =
   at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail1(Unknown Source)
   at com.konakart.app.KKEng.sendOrderConfirmationEmail1(Unknown Source)
   at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(Unknown Source)
   at com.konakart.al.OrderMgr.saveOrder(Unknown Source)
   at com.konakart.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:133)
   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419)
   at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378)
   at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
   at java.lang.Thread.run(Unknown Source)
15-gen 10:56:18 ERROR (BaseAction.java:handleException:231) The full exception is:
com.konakart.app.KKException: Cannot find order for Id = 9
at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail1(Unknown Source)
...



The connection url is:

torque.database.store1.adapter              = mssql
torque.dsfactory.store1.connection.driver   = net.sourceforge.jtds.jdbc.Driver
torque.dsfactory.store1.connection.url      = jdbc:jtds:sqlserver://DBSERVER:2410/dodoshop/\ISENGARDSQL2005;SelectMethod=cursor
torque.dsfactory.store1.connection.user     = dodoshop
torque.dsfactory.store1.connection.password = dodoshop

Database instance is a default ms sqlserver 2005:
* snapshopt_isolation_state = OFF
* is_read_committed_snapshot_on = 0

Any hint?

THANK YOU
23
I've noticed that email sent by the payment callback (com.konakart.actions.ipn.*) when payment is received/refused at in the store default locale.

I've ended up with this changes:

in BaseGateWayAction function sendOrderConfirmationMail() from:

  kkAppEng.getEng().sendOrderConfirmationEmail1(kkAppEng.getSessionId(), orderId, /* langIdForOrder */   -1, options);
to:
kkAppEng.getEng().sendOrderConfirmationEmail1(kkAppEng.getSessionId(), orderId, kkAppEng.getLangId(), options);


in CheckOutConfirmationAction() added:
  // Save Locale in order to reuse it in the email sent from the callback
  checkoutOrder.setCustom1("Navigation language id:" + kkAppEng.getLangId() + "," + kkAppEng.getLocale() );


before:
    return mapping.findForward("CheckoutConfirmation");

then in the gateway callback add

try {
   String navLang = localOrder.getCustom1();
   if (navLang != null && navLang.length() > 0) {
      // Custom1 should be something like: fixed_text:2,it_IT (see. src/appn/src/com/konakart/actions/CheckoutConfirmationAction.java)
      String[] t = navLang.substring(navLang.indexOf(":") + 1).split(",");
      kkAppEng.setLangId(new Integer(t[0]));
      String[] l = t[1].split("_");
      kkAppEng.setLocale(l[0], l[1]);
   }
} catch (Exception e) {
   log.error("Cannot initialize locale for order " + orderId + " " + e);
}

24
BTW: launching opc in DevMode (was HostedMode) I had a bad time looking for the cause of "Unable to find/load mapped servlet class server.KKGWTServiceImpl" error ... I switched off konakart and ... et voilà DevMode works smooth and fine!
25
and now you can safely compile/debug in Windows AND Linux  without worrying with native dynamic libraries :)

PS:  have a look at Eclipse's GWT plugin (http://code.google.com/intl/it/eclipse/docs/download.html)
26
Programming of KonaKart / GWT 2.x in onepagecheckout
January 09, 2010, 12:07:38 am
I've successfully moved gwt support from 1.5.x to 2.x.

1) Download gwt 2.x (http://code.google.com/intl/it/webtoolkit/download.html)
2) Remove lib/*
3) Copy jar files from the zip you downloaded into lib/
4) Modify build.xml replacing


<target name="run" description="Run it">
<java classname="com.google.gwt.dev.GWTShell"
      fork="true"
      maxmemory="256m"
      failonerror="true">
<arg value="-out" />
<arg value="./www/" />
<arg value="com.konakart.konakart/konakart.html" />
<classpath refid="run.path" />
</java>
</target>


with

<target name="run" description="Run it">
<java classname="com.google.gwt.dev.DevMode"
fork="true"
maxmemory="256m"
failonerror="true">
<arg value="-war" />
<arg value="./www/" />
<arg value="-startupUrl" />
<arg value="com.konakart.Konakart/Konakart.html" />
<arg value="com.konakart.Konakart" />
<classpath refid="run.path" />
</java>
</target>
27
Yes thnks I've undestood it but can I change it? Can I safely implement a security manager which let these users receive their password?
28
Hello,
I have seen that the one-page-checkout process creates:

  • a row in the customers table (customers_type = 2, app generated password)

  • a row in the orders table

  • no rows in the addresses



I would like if the user created through the one-page-checkout process can login back to the system to inspect the order history ... but the "Forgot Password" does not send any pwd to the user ... how can I change this beaviour?
Is there a reason to beave differentely for customers_type 2?

Thank you and ... happy new year!
29
It look like that the only solution is to create:

  • Tax areas

  • Tax area mapping

  • Tax rates



in this way I create as many Tax rates as the required translations.
The associations between Taxareas and Tax reate garantee that the "correct" translation is shown based on the payment country (I found no way to tie the description with the navigation language!).
30
Hello,
   I've noticed that the Tax Rates description isn't localized ... any suggestions on how I can manage the multilingual order confirmation page/mail ecc ecc?

Thanks!