Knowledge Base - 2Checkout - Why do I get an HTTP Error 405 on Passback?
Like

Why do I get an HTTP Error 405 on Passback?

Answer:

An HTTP 405 error indicates a problem with your script and/or your web server. The error means that you are attempting to pass back a file that does not have the necessary permissions on the server to receive Post information from another script. If you have administrative or root access to your server, be sure that this file has been set up to be treated as a script and that the appropriate user accounts have read and execute permissions on the script. If you are in a shared hosting situation, please contact your server administrator or the support department for your host.

HTTP errors are not generated specifically by 2Checkout. They are a part of the HTTP protocol and are common amongst all web servers. It is therefore beyond the realm of 2Checkout's support to provide you with specific instructions for making these changes as every server is set up differently and 2Checkout does not provide server administration services as part of our support plan.

To test and see if your file set up is correct:

  1. Create a new text file using a text editor such as Windows Notepad.
  2. Paste the following code into this new file:
    <form method=”POST” action=”[full URL to Your Script Here]“>
    <input type=”hidden” name=”test” value=”1″>
    <input type=”submit” value=”Test Script”> </form>
  3. Replace “[full URL to Your Script Here]” with the URL of the script to which you are attempting to pass back. Remember that this should be the full URL of your script, including the http:// portion.
  4. Save the file as an HTML file, such as “test.html” or “test.htm” to your desktop and close your text editor.
  5. Open the file in your web browser and click the Test Script button that is displayed.
  6. If you receive the message again, the problem is in your script and/or on your server. Note that the exact wording of the error message may vary slightly depending on your browser and your server's configuration. If you see something about “method not allowed” or “error 405″ then the information above pertains to your situation.

Was this article helpful?

Your feedback helps us improve our site.

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255