Subversion Repositories SmartDukaan

Rev

Rev 6806 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
        <title>${domain.name}: Redirecting to Innoviti Payment Page</title>
        <script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
</head>
<body>
    <div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
        <div align="center" class="img">
                <img title="loading" alt="loading" src="/images/loading.gif">
        </div>
        <div style="display:none">
                <form  method="post" action="$action.getGatewayUrl()" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">    
           <!-- Account Id -->
           <input name="merchantId" type="hidden" value="$action.getAccountId()" />
                   
                   <input name="subMerchantId" type="hidden" value="$action.getSubAccountId()" />

                   #set($billingAddress=$action.getBillingDetails())
                   
           <!-- Transaction Details -->
           <input name="orderId" type="hidden" value="$action.getId()" />
           
                   <input name="amt" type="hidden" value="$action.getAmount()" />
                   
                   <input name="cur" type="hidden" value="INR" />

                   <input name="processingCode" type="hidden" value="$action.getProcessingCode()" />
                   
                   <input name="proSku" type="hidden" value="$action.getDescription()" />
                   
           <input name="Cname" type="hidden" value="$billingAddress.getName()" /></td>
       
                   <input name="mobile" type="hidden" value="$billingAddress.getPhone()" />
                
                   <input name="emailId" type="hidden" value="$billingAddress.getEmail()" />
                   
                        <input name="redirUrl" type="hidden" value="$action.getReturnUrl()" />
                   
                   <input name="chksum" type="hidden" value="$action.getSecureHash()" />

                   <input name="isCtx" type="hidden" value="NO" />
                   
                   <!--
                   <input name="isCtx" type="hidden" value="$action.isCtx()" />
                   
                   <input name="CtxInterest" type="hidden" value="$action.getCtxInterest()" />
                   
                   <input name="CtxProcesingFee" type="hidden" value="$action.getCtxProcessingFee()" />
                   -->
                   
               <input name="submitted" value="Submit" type="submit" />&nbsp; 
           <input value="Reset" type="reset" />
      </form>
    </div>

    #include ( "templates/commonjsfiles.vm" )
    <script type="text/javascript">
      $(function() {
              $('form[name="frmTransaction"]').submit();
      });
    </script>
  </body>
</html>