Php 推荐人中继响应或接收链接url无效
在使用authorize.net SIM方法成功完成交易后,它不会重定向到我的网站URL。我收到了错误信息 推荐人中继响应或接收链接url无效 这是我提交信息的交易页面的代码。请让我知道我的错误Php 推荐人中继响应或接收链接url无效,php,authorize.net,Php,Authorize.net,在使用authorize.net SIM方法成功完成交易后,它不会重定向到我的网站URL。我收到了错误信息 推荐人中继响应或接收链接url无效 这是我提交信息的交易页面的代码。请让我知道我的错误 <!-- Create the HTML form containing necessary SIM post values --> <form method="post" id="finalform" action="<?php echo $url; ?>" >
<!-- Create the HTML form containing necessary SIM post values -->
<form method="post" id="finalform" action="<?php echo $url; ?>" >
<!-- Additional fields can be added here as outlined in the SIM integration guide
at: http://developer.authorize.net -->
<input type='hidden' name='x_login' value='<?php echo $loginID; ?>' />
<input type='hidden' name='x_amount' onkeyup="gethash(this.value);" value='<?php echo $amount; ?>' /><br/>
<input type='hidden' name='x_description' value='<?php echo $description; ?>' />
<input type='hidden' name='x_invoice_num' value='<?php echo $invoice; ?>' /><br/>
<input type='hidden' name='x_fp_sequence' value='<?php echo $sequence; ?>' />
<input type='hidden' name='x_fp_timestamp' value='<?php echo $timeStamp; ?>' />
<input type='hidden' name='x_fp_hash' id="fphash" value='<?php echo $fingerprint; ?>' />
<input type='hidden' name='x_test_request' value='<?php echo $testMode; ?>' />
<input type='hidden' name="x_first_name" value="<?php echo $_REQUEST['fne'];?>" />
<input type='hidden' name="x_last_name" value="<?php echo $_REQUEST['lne'];?>" />
<input type='hidden' name="x_company" value="<?php echo $_REQUEST['orgme'];?>" />
<input type='hidden' name="x_address" value="<?php echo $_REQUEST['adds'];?>" />
<input type='hidden' name="x_city" value="<?php echo $_REQUEST['cty'];?>" />
<input type='hidden' name="x_state" value="<?php echo $_REQUEST['ste'];?>" />
<input type='hidden' name="x_zip" value="<?php echo $_REQUEST['zip'];?>" />
<input type='hidden' name="x_cust_id" value="<?php echo $_REQUEST['cusd'];?>" />
<input type="hidden" name="x_receipt_link_method" value="LINK" >
<input type="hidden" name="x_receipt_link_url" value="http://www.uthstuph.com/payment-success/" >
<input type="hidden" name="x_relay_response" value="TRUE" >
<input type="hidden" name="x_relay_url" value="http://www.uthstuph.com/payment-success" >
<input type="hidden" name="x_phone" value="<?php echo $_REQUEST['phone'];?>"/>
<input type="hidden" name="x_email" value="<?php echo $_REQUEST['email'];?>"/>
<input type="hidden" name="x_billing_zip" value="<?php echo $_REQUEST['x_billing_zip'];?>"/>
<input type="hidden" value="<?php echo $_REQUEST['cno'];?>" autocomplete="off" maxlength="16" name="x_card_num" id="x_card_num" class="input_text"><br/>
<input type="hidden" value="<?php echo $_REQUEST['cexp'];?>" autocomplete="off" maxlength="20" name="x_exp_date" id="x_exp_date" class="input_text">
<input type="hidden" name="x_card_code" value="<?php echo $_REQUEST['ccode'];?>"/>
</form>
<script type="text/javascript">
document.getElementById("finalform").submit();
</script>
在帐户设置中,我设置
默认收据URL:
默认中继响应URL:
我尝试了http和https
提前感谢。从页面:
如果您尝试提交x_收据链接url和
x_同时中继_url,而不是选择接收方法
移除其中一个,它们应该可以工作。另外,从Authorize.net帐户尝试以下操作:
要添加有效的响应/回执URL,请执行以下操作:
登录到位于的商户界面。
从主工具栏中单击“帐户”。
单击下面的响应/接收URL
事务格式设置。
单击添加URL。
输入您的响应URL。
单击提交