in reply to Re^3: What can be the reasons for bad request ??
in thread What can be the reasons for bad request ??

I would have jumped !!!! if it would have been the problem . Unfortunately it was not the problem, but thanks for notifying that. Thanks, SHAM....
  • Comment on Re^4: What can be the reasons for bad request ??

Replies are listed 'Best First'.
Re^5: What can be the reasons for bad request ??
by Anonymous Monk on Sep 11, 2007 at 09:41 UTC
    Hi I'm having the exact same problems as you. I've narrowed it down to the custom headers that are being built. This isnt part of the problem, but I see you are hitting the production url- not sure if you are aware, just wanted to point that out. https://orbitalvar1.paymentech.net is the testing url
      Hi Monk, Thanks for notifying. Its true,initially I was trying to hit the test link when I could not get any apropriate responses I shifted to production just for trial. I did not get what u mean by "I've narrowed it down to the custom headers that are being built". To get through the problem I looked at their perl SDK kit they have given on their site : http://www.paymentech.net/download/) it is pretty much complicated. When I passed my XML request to their testing script edriver.pl it was giving successful response. Surely I m missing something in my code to get the proper response. If u have any ideas regarding this implementation please advice. Thanks, SHAM...
        I am not working with any SDK as I'm writing in php and they dont have anything available. I was able to solve the problem by adding this to the custom headers (before the xml) Connection: close \r\n\r\n Good luck!
Re^5: What can be the reasons for bad request ??
by Anonymous Monk on Jul 23, 2013 at 19:54 UTC
    Check your header definition. Use Mime-version, rather than Mime_version (hyphen; not underscore).