Hi Neil,
QuoteI have found the source of the other payment modules, and my impression is that I need to adapt one of these to create a new module.
Yes, well done, you are half-way there :)
Here's a rough outline:
Since you will be calling a SOAP service you are best to use the style of gateway under
com.konakart.actions.gateways.
Copy either Authorize.Net or USAePay as your starting points... inherit from
BaseGatewayAction.
Your SOAP call will need to go in your implementation in
com.konakart.actions.gatewaysAlso, you need to code your versions of either Authorize.Net or USAePay in
com.konakart.bl.modules.payment.
Also, you need to code your versions of either Authorize.Net or USAePay in
com.konakartadmin.modules.payment (these are so that the module can be set up and configured using the KonaKart Admin App).
You have to add your gateway to the two properties files: (or equivalents under Linux/Unix)
C:\Program Files\KonaKart\webapps\konakartadmin\WEB-INF\classes\konakartadmin.propertiesand
C:\Program Files\KonaKart\webapps\konakart\WEB-INF\classes\konakart.propertiesAdd to this section:
# -----------------------------------------------------------------------------------
# Modules available to this konakart system
#
# You have to add the name for the module in the right property, separate these
# with ";". You also have to supply the class in the appropriate location - and
# these classes must implement the appropriate KonakartModuleInterface interface....
# These are:
# KonakartPaymentInterface - payment modules
# KonakartShippingInterface - shipping modules
# KonakartOrderTotalInterface - order total modules
konakart.modules.payment = Cod;IPayment;MoneyOrder;NoChex;PayPal;Pm2Checkout;PsiGate;SecPay;Authorizenet;Usaepay
Finally you should be able to use the Admin App to install and enable your gateway.
Good luck Neil, I hope you find it easier than I may have made it sound :)
Regards,
Brian