Commit ae129af2 authored by Mahesh Maney R's avatar Mahesh Maney R
Browse files

adding url to properties and changing the condition of payment success <ManeyMR>.

Showing with 3 additions and 3 deletions
+3 -3
......@@ -59,8 +59,8 @@ public class PaymentServiceImpl implements PaymentService {
logger.info("payment details...{} ", requestData);
org.springframework.http.HttpHeaders httpHeaders = new org.springframework.http.HttpHeaders();
String responseString = "";
if( (requestData != null ) && (requestData.get("Response_Code")!= null)
&& requestData.get("Response_Code").equals("E000")) {
if( (requestData != null ) && (requestData.get("Response Code")!= null)
&& requestData.get("Response Code").equals("E000")) {
responseString = PAYMENT_GATEWAY_ENDPOINT+ "?resp=success";
logger.info("Payment is successful.");
} else {
......
......@@ -18,7 +18,7 @@ sunbirdRC.keycloak.adminToken.userName =admin
sunbirdRC.keycloak.adminToken.clientID =admin-api
sunbirdRC.keycloak.adminToken.clientSecret =QF5op6Hb3Y9mY1rU0IycdjmD7j3Bvzkh
sunbirdRC.keycloak.adminToken.password =admin
paymentGatewayEndPoint =https://applicant.upsmfac.org
paymentGatewayEndPoint =https://applicant.upsmfac.org/payment-response
spring.datasource.url=jdbc:postgresql://localhost:5432/frac_tool
spring.datasource.username=postgres
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment