我通过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>