Subversion Repositories SmartDukaan

Rev

Rev 11436 | 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 EBS 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="https://secure.ebs.in/pg/ma/sale/pay/" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">      
           <!-- Account Id -->
           <input name="account_id" type="hidden" value="$action.getAccountId()" />

           <!-- Transaction Details -->
           <input name="reference_no" type="hidden" value="$action.getId()" />
           
                   <input name="amount" type="hidden" value="$action.getAmount()" />

           <input name="description" type="hidden" value="$action.getDescription()" />
                   
                   #if($action.getPaymentOption())
                   <input name="payment_option" type="hidden" value="$action.getPaymentOption()"/>
                   #end
                   
                   #set($billingAddress=$action.getBillingDetails())
           <!-- Billing Address -->

           <input name="name" type="hidden" value="$billingAddress.getName()" /></td>
       
           <input name="address" type="hidden" value="$billingAddress.getAddress()" />

           <input name="city" type="hidden" value="$billingAddress.getCity()" />
 
           <input name="state" type="hidden" value="$billingAddress.getState()" />

           <input name="postal_code" type="hidden" value="$billingAddress.getPostalCode()" />

                   <input name="country" type="hidden" value="IND"/>

           <input name="email" type="hidden" value="$billingAddress.getEmail()" />

                   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
                
           <!-- Delivery Address -->

           <input name="ship_name" type="hidden" value="$billingAddress.getName()" /></td>
       
           <input name="ship_address" type="hidden" value="$billingAddress.getAddress()" />

           <input name="ship_city" type="hidden" value="$billingAddress.getCity()" />

           <input name="ship_state" type="hidden" value="$billingAddress.getState()" />

           <input name="ship_postal_code" type="hidden" value="$billingAddress.getPostalCode()" />

                   <input name="ship_country" type="hidden" value="IND"/>
            
           <input name="ship_phone" type="hidden" value="$billingAddress.getPhone()" />

           <input name="return_url" type="hidden" value="$action.getReturnUrl()" />
                   
                   <input name="mode" value="$action.getMode()"/>
                   
                   <input name="secure_hash" type="hidden" value="$action.getSecureHash()" />
                   
           <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>