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

Running Function on check out.

Started by jbkapadia, March 07, 2008, 05:20:01 am

Previous topic - Next topic

jbkapadia

HI!
  I have added new payment method. Now in this its server can be accessed by Web service i don't need to go any page. Now there is two methods for payment one is com.konakart.app.PaymentDetails.COD  which simply accept order without any verification and other is com.konakart.app.PaymentDetails.BROWSER_PAYMENT_GATEWAY which redirect to some URL. Now i don't required any of this. I want to execute one java program clicking on Checkout button. This program will return true for successful transaction and false for unsuccessful transaction. So can you please guide me for this.

heidi

You should be using:
    setPaymentType(PaymentDetails.SERVER_PAYMENT_GATEWAY); 

Check this out:
http://www.konakart.com/customizationfaq.php#How_do_I_create_a_new_payment_module_

Heidi