问题
Hoping someone can help me.
I'm working on the Server Inframe integration and I can get the iframe to load with the inputs for the card details, but when you click to continue i get the following error:
5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL.
My notification URL is:
https://" . $_SERVER[HTTP_HOST] . "/index.php?route=payment/sagepay_inframe/notificationURL
and in that function I have
header("Content-type: text/plain");
echo 'Status=OK' . chr(13) . chr(10) . 'RedirectURL=https://example/url' . chr(13) . chr(10);
I've tried using ngrok to make my localhost accessible but nothing seems to work. Can anyone advise if I'm doing this correctly or if I'm missing something? Really pulling my hair out with this one. Thanks.
回答1:
The callback process won't work on localhost. Your NotificationURL (that you supply in the registration post) must be accessible to the internet.....
来源:https://stackoverflow.com/questions/53523832/5006-unable-to-redirect-to-vendors-web-site-the-vendor-failed-to-provide-a-re