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

insertDigitalDownload

Started by yayizzx, November 06, 2007, 06:36:36 am

Previous topic - Next topic

yayizzx

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

julie

Hello,

I don't understand what your are trying to achieve. Have you read this http://www.konakart.com/configurationfaq.php#How_can_i_configure_dig_down ?

The code that sets up the digital downloads once the order has been paid,  is in the OrderIntegrationMgr for which you have the source code under examples/com/konakart/bl.

Julie

yayizzx

Hello,julie
i thougth i got it
thanks