EBS Payment Gateway implementation in java based technology

General Tech Technology & Software 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

Need to implement a payment gateway integrated page in java based technology.

So far I have index.html which gets details of customer info and that is getting redirected to EBS Payment Gateway (as per the code snippet below).

Here goes snippet of index.html page


 onload="a2()" style="background-color:lightgray; margin-left:300px; margin-right:300px; margin-top:0px;">
    
style="background-color:white;"> action="pay.jsp" method="post" name="frm" id="theForm" onsubmit="return validateForm()" autocomplete = "off" /> <input type="hidden" name="V3URL" value="https://secure.ebs.in/pg/ma/payment/request" />

EBS - JSP Version 3

///// As a response from the payment gateway following is the code(response.js) :

<%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@ page import="java.io.*,java.util.*" %>


 
 http-equiv="Content-Type" content="text/html; charset=UTF-8">

</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; box-sizing: inherit; color: #303336;">EBS Response</span><span class="tag" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; box-sizing: inherit; color: #7d2727;">


EBS Response

width="50%" border="1" align="center"> bgcolor="#949494"> Response Parameter NameResponse Value <% Enumeration paramNames = request.getParameterNames(); while(paramNames.hasMoreElements()) { String paramName = (String)paramNames.nextElement(); out.print("" + paramName + "\n"); String paramValue = request.getParameter(paramName); out.println(" " + paramValue + "\n"); } %>

There is Formvalidation code for validating fields of entry

Security is implemented in pay.jsp using MessageDigest of java.(Get noticed the pay.jsp used in 5th line of the index.html snippet)

Now I am stuck to proceed further. What I need is this:

  1. the response data has to be updated in MySQL table

2.How to integrate all components to get the full fledged payment gateway

0 views
0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Q

Struggling to grow your email list in 2025? Tried these proven hacks yet?

Digital Marketing 0 Answers
Q

What if losing weight could be as easy as sipping delicious smoothies every day?

Health 0 Answers