Authorize.Net Java Integration - Your script timed out while we were trying to post transaction results to it.
I have been facing the following error while integrating Authorize.Net with java project using Direct Post Method .
Your script timed out while we were trying to post transaction results to it.
Transaction ID: 0
Transaction Result: This transaction has been approved.
I searched for solutions but did not get resolved this issue easily. I traced network packets and found some issues with response text.
And the problem was in my relay_response jsp page of encoding. I made following changes in my page :
1 updated following at the top of the page
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 and added charset="UTF-8" in meta tag
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Your script timed out while we were trying to post transaction results to it.
Transaction ID: 0
Transaction Result: This transaction has been approved.
I searched for solutions but did not get resolved this issue easily. I traced network packets and found some issues with response text.
And the problem was in my relay_response jsp page of encoding. I made following changes in my page :
1 updated following at the top of the page
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 and added charset="UTF-8" in meta tag
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Comments