5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL. - PHP Inframe integration

为君一笑 提交于 2019-12-25 03:26:10

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!