Hi,
Yes it's possible to add payment gateway modules to KonaKart. We provide a framework that allows you to slot them in as you please.
Soon we will have some more guidance on how to do this in the form of an example tutorial.
For now, perhaps the best way to make progress is to follow the example source code that is provided in the download packages. Although all gateways will have differences they all tend to follow a similar pattern so a good way to create one is to copy the one that looks closest to the one you wish to create.
Essentially, there are 3 java files to create:
Taking the WorldPay payment module as an example:
com/konakart/actions/ipn/WorldPayAction.java // the callback functions
com/konakart/bl/modules/payment/worldpay/Worldpay.java // the calling functions
com/konakartadmin/modules/payment/worldpay // the Admin App integration
You have to a configuration value to enable the particular gateway module then set its own configuration variables - typically through the Admin App once you have written that particular java file.
eg: in konakartadmin.properties:
# -------------------------------------------------------------------
# Set the class names of the various modules you would like to make
# available. The administrator can still choose to enable or disable
# these.
# Note that if you remove a module from the definitions below that has
# already been set up in the database the users may still have access
# to the modules in the konakart application. Hence, it is advisable
# to remove the modules before they are removed from these definitions.
# Make these space or semi-colon-separated class names - they have
# implied prefixes of:
# com.konakartadmin.modules.payment.{lower case module name}.
# com.konakartadmin.modules.shipping..{lower case module name}.
# com.konakartadmin.modules.orderTotal..{lower case module name}.
konakart.modules.payment=AuthorizeNet PayPal WorldPay CC Cod IPayment MoneyOrder NoChex PM2CheckOut PSIGate
Good luck with your gateways,
John