• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 29, 2024, 12:31:49 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 - yayizzx

1
Programming of KonaKart / Re: insertDigitalDownload
November 07, 2007, 09:32:18 am
Hello,julie
i thougth i got it
thanks
2
Programming of KonaKart / insertDigitalDownload
November 06, 2007, 06:36:36 am
Hello
my code like below
        Class engineClass = Class.forName("com.konakart.app.KKEng");
        eng = (KKEngIf) engineClass.newInstance();
        ......
        eng.insertDigitalDownload(sessionId,new Integer(prodId));
i got the kkexception:
com.konakart.app.KKException: org.apache.torque.TorqueException: java.lang.NullPointerException
        at com.konakart.app.KKEng.insertDigitalDownload(KKEng.java:1782)
what can i do? And how can i get the download link?
thanks
3
Programming of KonaKart / Re: addToBasket
October 23, 2007, 02:02:04 am
Hi julie
 
       thanks a lot.
       I just want to give finalPrice a value manually.
       Cause productId is not available here.
       any other solution ?
       thanks
4
Programming of KonaKart / addToBasket
October 22, 2007, 12:54:11 pm
Hello
I want to use the method setFinalPriceIncTax() to set a value in database like below,but it does't work ,any other solutions?
        BasketIf b = new Basket();
        b.setFinalPriceIncTax(BigDecimal.valueOf(100));
        int basketId = eng.addToBasket(sessionId,customerId,b);
thanks in advance