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

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
  • Comment on Re^5: What can be the reasons for bad request ??

Replies are listed 'Best First'.
Re^6: What can be the reasons for bad request ??
by Sham (Novice) on Sep 12, 2007 at 06:49 UTC
    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!