-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server error 5006: Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL. #197
Comments
The Omnipay driver uses You can also use Since this functionality has not changed in the driver, I would look at the URL itself. Is it fully qualified, is it http or https (both should work, but that may have changed)? Is it upper-case or lower-case? Again should not make a difference, but straws need to be clutched at here. Is is less than 255 characters, and ASCII only? The documentation says this:
Notice it says "https://" twice, almost as though somebody has edited out a "http" to "https" with little care. Those little clues are always worth not ignoring. |
This error message comes not from the notification URL that you set up in the transaction creation, but in the rediect URL that your notification handler returns to Opayo to tell it where to send the user back to on your website. It is The handler returns three lines: the status (hopefully "OK") a status message, and the URL to send the user to. I would recommend you log what comes in on the notification from Opayo, and what you then send back out to Opayo. You may find a clue there, or you may find the notification URL is not actually being called at all, or is returning a 404 or 403 (easily done, especially if you are only allowing certain IP addresses to access that URL - have Opayo recently changed their IP addresss they send the notifications out from?). Some documentation here: https://developer.elavon.com/products/opayo-server/v1/step-4-you-confirm-the-transaction Opayo say this to help solve your error: If the above has been checked, or unable to be checked look to the server for possible restrictions that could cause the transaction to encounter errors:
They do not say where to get the list of IP addresses from though, The Sage Pay IP range was 195.170.169.0/24. |
Hi this might be due to the bug I've created a fix for. I was also getting an error about redirecting back to vendor. You might want to copy my fix and test to see if that fixes your issue? Hopefully my fixes can be merged in before Opayo's cut off date. |
Hello All.
I know this error can be a bit vague/misleading, but that's what we have.
We use Sagepay server and since yesterday, payment started failing. Still on omnipay-sagepay 4.0.1.
Absolutely mystified. Anyone else?
Out of interest, the data array we post is below...
The documentation can be confusing, so we post all of these url handles, hoping one will stick:
returnUrl,
redirectUrl,
RedirectionURL (is it case-sensitive?),
failureUrl,
notifyUrl
Anyone have any clarity on what URLs really work? Would having all of these break the transaction?
Thanks in advance for any insight.
The text was updated successfully, but these errors were encountered: