Craft Commerce: Sage Pay - Redirect Required after payment? When I test with my payment gateway (Sage Pay) I get a server error stating Craft Commerce isn't providing a redirect after payment is received:

Server error 5006: Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL.


This is what is shown in my error logs:

195.170.169.29 - - [20/Jul/2016:09:05:17 +0100] "POST /index.php/actions/commerce/payments/completePayment?commerceTransactionId=9&amp;commerceTransactionHash=b965d6bb8ca17ffc475849ab878721d5 HTTP/1.1" 404 50171 "-" "SagePay-Notifier/1.0"


Does anyone know what might be causing the redirect issue?
Looks like your redirect does not contain the full url back to your site. 

The error shows:

195.170.169.29 - - [20/Jul/2016:09:05:17 +0100] "POST /index.php/actions/commerce/payments/...


But I would expect to see a url starting with http://sitename.com/ since your gateway needs the full url to redirect you back to your site.

Make sure you have a siteUrl set up in your craft settings: https://craftcms.com/support/site-url