I have created a java web application by following DirectPost_guide.pdf. When I submit the credit card and other information, in response it shows:
Error! This transaction has been approved.
response code | 3 |
response reason code | 19 |
I also receive email that “This transaction has been approved.”
My question is if the transaction has been approved then why I m getting Error and response code 3 and response reason code 19? Is it because I m testing on sandbox account?
07-18-2011 04:18 AM
The Java SDK is currently designed to return response reason code 19 if no response is received. This behavior will most likely be removed from future versions since it causes this type of confusion. In this case, it most likely indicates that your relay response page is not receiving any response at all. In order to troubleshoot this, I would recommend modifying your relay response page to dump the full response to the screen and look for anything unusual.
07-22-2011 04:42 PM