【发布时间】:2021-06-04 13:34:43
【问题描述】:
我通过Hosted Payment Page 设置付款处理。我正在使用完整的重定向,并确保在 redirect.init 方法 (http://WEBSITE/response.php) 中包含完整的网站@
当我进行交易时,我收到以下错误:
Your transaction has been successful but there was a problem connecting back to the merchant's web site. Please contact the merchant and advise them that you received this error message.
整页重定向代码:
<script>
$(document).ready(function () {
jsonFromRequestEndpoint = <?php echo $hppJson; ?>;
RealexHpp.setHppUrl("https://pay.sandbox.realexpayments.com/pay");
RealexHpp.redirect.init("creditSubmit", "https://WEBSITE/response_globalPay.php", jsonFromRequestEndpoint);
$('#creditSubmit').click();
});
</script>
【问题讨论】: