繁体   English   中英

带有http重定向的WorldPay付款响应

[英]WorldPay Payment Response with http redirect

响应URL是worldpay-response.php 当我做print_r($_POST); ,我得到的是从WorldPay的返回的数组。 但是,当我尝试将发布的变量保存到会话中并重定向到确认页面时,

meta http-equiv="refresh" content="0;url=http://localhost/confirmation.php"

$_SESSION变量没有它们。 您知道我该如何解决吗?

提前致谢。

我唯一能想到的是:

确保在代码的第一行中使用session_start()。

我希望这有帮助。

这可能与您正在执行的重定向类型有关。 为什么不使用PHP呢?

header("Location: " . http://localhost/confirmation.php);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM