3

I've integrated sagepay and everything seems to work, but after I post my basket to the sage pay server, I get this error in the browser:

Error Code : 5006 Error Description : Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL.

My request provides a valid return url, but the response doesn't reach my action method. I checked this sending an email at first action row (this email wasn't sended). I don't understand the reason. can anyone help me?

UPDATE The same error happen with sage pay starter kit (server itegration), configured with the same return link. is it a configuration problem of my server?

DevT
  • 1,411
  • 3
  • 16
  • 32
  • I had this problem a while ago, and if I recall correctly it was because the MVC url doesn't have a file extension like .aspx and sagepay seemed to require one. You can test this by creating a hardcoded .aspx page that outputs the response. – markpsmith Dec 23 '14 at 10:39
  • Hi, I've try to set the return url to an simple html page in the root. But the result is the same. – DevT Dec 23 '14 at 12:19
  • Have you seen this? [http://stackoverflow.com/questions/3263830/sagepay-5006-error-code-fix](http://stackoverflow.com/questions/3263830/sagepay-5006-error-code-fix) – markpsmith Dec 23 '14 at 12:57
  • Yes and among those options, I think the 8th can be usefull. But I can't try it now. when I try it, I will update this post – DevT Dec 23 '14 at 13:34
  • UPDATE/SOLUTION: the problem involved the server authentication. If I remove it, works. But if I need of the authentication? – DevT Dec 23 '14 at 15:05
  • what do you mean by server authentication exactly? – markpsmith Dec 23 '14 at 15:19
  • sorry for the delay, but the link was protected with user and password (domain account) – DevT Jan 20 '15 at 11:47
  • 2
    @DevT, sagepay wont work if you have your server password protected, you need to remove the protection for POST requests from SagePay – Pablo Apr 28 '15 at 19:29

0 Answers0