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

Problem adding new payment module.

Started by jbkapadia, March 06, 2008, 07:57:29 am

Previous topic - Next topic

jbkapadia

Hi
  I want to add new payment module named cyber source. I have created all the necessary file and jars and deployed it in konakart. Everything works fine now problem is i have to store one Transation id so i have put this like in konakart admin...

configs = new KKConfiguration(
        /* title */"Transaction Key",
        /* key */"MODULE_PAYMENT_CYBERSOURCE_TRANSACTIONKEY",
        /* value */"",
        /* description */"Valid transation Key to Process request"
                + " This key can be get from cybersource account",
        /* groupId */groupId,
        /* sortO */i++,
        /* useFun */"",
        /* setFun */"",
        /* dateAdd */now);

Everything goes well tell i put blank in value but when i put value something like this

"888Jk8gxihQgwrAwVknfJO0axPJSGLaRWKkApNoZNrmEg+K54BCi/vAVshhEUPdaYKCsdghCGn5ZR7wQ4Q/9V8mQJlrzNN76JIt9v0tkZz3Wp6bGe1LF8d4QC6SrgGP8RQ4py5XO0xgTqpkIrsIXPWUVZQStMszW0BGVHoNVJEoXbfrRUnCmrIyiSe8Jqd8k7RrE8lIYtpFYqQCk2hk2uYSD4rngEKL+8BWyGERQ91pgoKx2CEIafllHvBDhD/1XyZAmWvM03voki32/S2RnPdanpsZ7UsXx3hALpKuAY/xFDinLlc7TGBOqmQiuwhc9ZRVlBK0yzNbQEZUeg1UkSg=="

can you please help to soleve this problem.

heidi

The configuration_value column is only varchar(255).  Is that your problem?

Have you checked the configuration table in the db?

Anything in your tomcat log?

Heidi

jbkapadia

configs = new KKConfiguration(
        /* title */"Transaction Key",
        /* key */"MODULE_PAYMENT_CYBERSOURCE_TRANSACTIONKEY",
        /* value */"",
        /* description */"Valid transation Key to Process request"
                + " This key can be get from cybersource account",
        /* groupId */groupId,
        /* sortO */i++,
        /* useFun */"",
        /* setFun */"",
        /* dateAdd */now);

Yes it might be the case my transaction key is more than 256 key. so can you tell me in which table or file i should edit to solve the problem.

heidi

I already told you the column name and the table name in my previous post.

Either alter the table to accommodate your longer than 255-char key value or, if you don't want to change the database, have two config variables that you can concatenate.

Heidi

jbkapadia


heidi

That's good news  :).

It would be great if you could contribute your cyber source payment gateway to the KonaKart Community when you've finished it...   please post it to the Contributions board on this forum.

Thanks,

Heidi

jbkapadia


It will my pleasure to contribute for product like konakart. I will once it will gets completed and tested properly.

jeffzzang

This may be a shot in the dark, but would you mind posting your CyberSource payment module?