引荐来源网址中继响应或接收链接网址无效


the referrer relay response or receipt link url is invalid

在 authorize.net SIM方法上成功交易后,它不会重定向到我的网站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>

在帐户设置中我设置默认收据网址:http://www.uthstuph.com/payment-success/

默认中继响应 URL:http://www.uthstuph.com/payment-success/

我已经尝试了http和https。

提前谢谢。

从 Authorize.net 支持页面:

如果您尝试提交x_receipt_link_url并且 同时x_relay_url,而不是选择接收方式。

删除其中一个,它们应该可以工作。此外,从您的 Authorize.net 帐户尝试以下操作:

要添加有效的响应/回执 URL,请执行以下操作:

  1. 在 https://account.authorize.net 登录商家界面。
  2. 单击主工具栏中的帐户。
  3. 点击下方的回复/回执网址
  4. 事务格式设置。
  5. 点击添加网址。
  6. 输入您的响应网址。
  7. 点击提交