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

Action class not being invoked for payment module

Started by anstuff, May 28, 2010, 07:40:42 pm

Previous topic - Next topic

anstuff

I have configured struts-config.xml as per Authorize.net payment module for my custom payment module.
Here under is my configuration;
<action path="/CheckoutServerPaymentSubmit" type="com.konakart.actions.CheckoutServerPaymentSubmitAction" name="CreditCardForm" scope="request" validate="true" input="/CheckoutServerPayment.do">
         <forward name="usaepay" path="/USAePay.do" redirect="false"/>
         <forward name="authorizenet" path="/AuthorizeNet.do" redirect="false"/>
         <forward name="payjunction" path="/PayJunction.do" redirect="false"/>
         <forward name="yourpay" path="/YourPay.do" redirect="false"/>
         <forward name="elink" path="/Elink.do" redirect="false"/>
                        <forward name="Mypay" path="/Mypay.do" redirect="false"/>
      </action>


<action path="/Mypay" type="com.konakart.actions.gateways.MypayAction">
         <forward name="Approved" path="/CheckoutFinished.do"/>
         <forward name="TryAgain" path="/CheckoutServerPayment.do"/>
         <forward name="NotLoggedIn" path="/CheckoutDelivery.do"/>
      </action>


The code value in the class implementing PaymentInterface is "Mypay" and same is the module code in the class implementing PaymentModule.

When I run my test case, the action class MypayAction is not getting executed.  Am I missing something?