Error 14: The Referrer or Relay Response URL is invalid.
| Doc ID: | A601 | |
| Version: | 3.0 | |
| Status: | Published | |
| Published date: | 03/14/2013 | |
| Updated: | 03/14/2013 |
| Categories: | Server Integration Method (SIM) , Simple Checkout , Integration |
Answer
Response Reason Code: 14
Response Reason Text: The Referrer or Relay Response URL is invalid.
Notes: Applicable only to Server Integration Method (SIM), Simple Checkout and WebLink. The Relay Response or Referrer URL does not match the merchant's configured value(s) or is absent.
The Invalid Referrer or Relay Response URL message can be the result of a few different situations that can impact SIM, Simple Checkout and WebLink users.
SIM Integration Suggestions
If you prefer to have your customer view our default hosted receipt page with a link to return to your site, you should be submitting the x_receipt_link_url field. Alternately, if you want to use Relay Response to display your own receipt page hosted on your site, you should be submitting the x_relay_url field. Error 14 occurs for SIM users when a transaction request is submitted that includes values for x_receipt_link_url or x_relay_url that are not specified in your Default Response/Receipt URL settings in the Merchant Interface.
By designating one or more Default Response/Receipt URLs in the Merchant Interface, you are telling the payment gateway to only allow customers to return to one of the specified URLs after submitting the payment form. If the value of either x_receipt_link_url or x_relay_url does not match one of these designated Default Response/Receipt URLs, Error 14 will occur.
While x_receipt_link_url and x_relay_url will work without specifying a Default Response/Receipt URL, it is strongly suggested as a security measure that you set Default Response/Receipt URLs if you are sending either of these fields. Setting one or more Default Response/Receipt URL ensures that only these URLs can be used.
To add a valid Response/Receipt URL:
- Log into the Merchant Interface at https://account.authorize.net.
- Click Account from the main toolbar.
- Click Response/Receipt URLs under Transaction Format Settings.
- Click Add URL.
- Enter your Response URL.
- Click Submit.
Error 14 may also occur if you try to submit x_receipt_link_url and x_relay_url simultaneously, instead of choosing a receipt method.
WebLink Integration Suggestions Note: WebLink is no longer actively supported and may be discontinued at any time in the near future. We strongly recommend that WebLink merchants upgrade to SIM or AIM. For details about upgrading to AIM or SIM, please read the WebLink Conversion Guide at http://authorize.net/files/conversionguide.pdf
For WebLink users, Error 14 could indicate that you are submitting transactions from a URL that is not listed as a valid Referrer URL in the Merchant Interface. (Only WebLink users need Referrer URLs—this setting does not apply to any other integration method offered by Authorize.Net.)
If you are using the hosted payment form, the Referrer URL is the last page viewed by your customer before being sent to the payment form. If you are using your own payment form, it is the last page before transaction information is submitted to Authorize.Net.
The easiest way to determine your Referrer URL is to run a test transaction through your website. When you get to the page where your customer enters their credit card number, look at the Web address that your browser displays near the top of its window.
If the browser displays https://secure.authorize.net/gateway/transact.dll, click the Back button in your browser and look at the Web address again. This URL is the one you will need to enter as a valid Referrer URL.
If the Web address of your payment form is not https://secure.authorize.net/gateway/transact.dll, please continue the test by submitting your credit card information. Once you have submitted your credit card information and received an approval or decline, look at the Web address again. If it says https://secure.authorize.net/gateway/transact.dll in the address bar, click the Back button in your browser and look at the Web address again. This will show you the URL you will need to enter as a valid Referrer URL.
If you do not see https://secure.authorize.net/gateway/transact.dll as a Web address on either the payment form or the receipt page, you are using AIM and do not need Referrer URLs. In this case, please remove all Referrer URLs from your Merchant Interface settings. To designate a Referrer URL:
- Log into the Merchant Interface at https://account.authorize.net/.
- Click Account from the main toolbar.
- Click WebLink.
- Click Referrer URLs.
- Click Add URL.
- Add the URL designating the page that should be a valid Referrer URL.
- Click Submit.
Note: More than one URL may be designated as a valid Referrer URL.
Also, we recommend adding versions of your URL, both with and without the initial "www" as many search engines will refer searches to your site without the "www" in front of your domain name.
Another possible cause of this error for WebLink merchants is that your customer's Web browser may not support the ability to pass the Referrer URL to us. In this case, the customer can use a different browser to place the order. The long-term solution for this is to upgrade your connection method to SIM or AIM, as these methods do not rely on customer browser compatibility for authentication. Note that this possible cause should be very rare as almost all modern Web browsers can return a Referrer URL.



