WORequest paypalEchoRequest;
paypalEchoRequest = new WORequest("POST", paypalCgi, "HTTP/1.1", headers, null, null);
paypalEchoRequest.setContent(returnString);
ppEchoConnection.setReceiveTimeout(90 * 1000); // 90 second timeout -- this might be too long!?!
connectionSuccess = ppEchoConnection.sendRequest(paypalEchoRequest);
if (connectionSuccess) {
ppValidationResponse = ppEchoConnection.readResponse(); // read PayPal's validation
}
ppValidationResponseString = ppValidationResponse.contentString();