Forums / Built-in Shipping and Payment Modules / (14) The referrer, relay response or receipt link URL is invalid.

(14) The referrer, relay response or receipt link URL is invalid.

Views: 8,238

Results 1 to 20 of 34
11 Jun 2015, 8:08 PM
#1
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

(14) The referrer, relay response or receipt link URL is invalid.

We have zencart v 1.5.4 upgraded from 1.3.9. We did the official upgrade procedure.
Only modules installed are Payment > authorize.net SIM, check/money order,
Shipping > storepickup, ups
Order total > discount coupon, group discount, gift certificates, low order fee, shipping, tax, total.

This cart has been online and was using authorize.net module for years with no issues. At some point in March the module stopped sending orders to our zencart. This may have been caused by an expired account with the company that ran our credit card transactions. Authorize.net for some reason decided it was best to set up a new account with them (not sure why they did not want to just update the existing account).

Since then we cannot get the SIM module to work. We set up via zencart instructions, and get the error: The following errors have occurred.

(14) The referrer, relay response or receipt link URL is invalid.

If we use what little information that authorize.net gives you about setting this up we instead end up with the shopper going to checkout, sends them to authorize.net site they enter in CC info and then are just looped back to the checkout page on our site. Authorize has the transaction information, but nothing is sent back to the cart.

We have relay response set to
http://ourdomainname.com/folder/index.php?main_page=checkout_process

Obviously the domain name is set to our actual domain name and the name of the directory that the cart is installed in.

Any help or suggestions on this would be greatly appreciated. We have been through all FAQs on Authorize.net site as well as the forums here and still cannot get this to work. We have contacted Authorize.net repeatedly, but they are far less than helpful, the support staff is useless and blames it on zencart.

Tried using PayPal payment module and it worked fine, but would like to get this one to work as it used to. Thank you in advance for your time and help.

11 Jun 2015, 8:21 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: (14) The referrer, relay response or receipt link URL is invalid.

WebWeaver2000:

(14) The referrer, relay response or receipt link URL is invalid.

We have relay response set to
http://ourdomainname.com/folder/index.php?main_page=checkout_process

I'm no expert, but I found this from a Google search:


First, create a new Payment Page within the Real-time Payment Manager's Payment Page wizard or navigate to an existing Payment Page. On the Receipt Page tab you will need to enter the following information:

  • On the Receipt Page Settings, choose the second option for Link using HTTP POST
  • Set the Receipt Link Text to “Click here to complete your order” (or whatever you want it to say).
  • Set the Receipt Link URL to “http://[ZENCART FOLDER]/index.php?main_page=checkout_process&action=confirm”
  • Check both the boxes for “Allow Relay Response” and “Allow HTTP Redirect to Merchant Website”
  • Set the Relay Response URL to: “http://[ZENCART FOLDER]/index.php?main_page=checkout_process&action=confirm

If correct, you a missing the "&action=confirm" from the relay response URL.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

11 Jun 2015, 8:53 PM
#3
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

We tried this and still the same looping action. It goes from Authorize.net site right back to our checkout page.

11 Jun 2015, 9:33 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: (14) The referrer, relay response or receipt link URL is invalid.

WebWeaver2000:

We tried this and still the same looping action. It goes from Authorize.net site right back to our checkout page.

Fair enough, but "The referrer, relay response or receipt link URL is invalid." really is quite specific. Granted that not all error messages can be trusted, but it is the only clue that I have, as such, I've no further suggestions.

Hopefully someone with a little more experience can come up with other ideas for you.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

11 Jun 2015, 9:45 PM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: (14) The referrer, relay response or receipt link URL is invalid.

WebWeaver2000:

It goes from Authorize.net site right back to our checkout page.

I'm probably wrong again, but isn't this is what is supposed to happen with the SIM module?

Also, have you installed any module(s) that would have altered the ZenCart 'native' checkout process? If so, it is possible that the updated/new checkout_process related files don't know how to respond to the Authorize.net checkout confirmation request.

<still making stabs in the dark>

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

11 Jun 2015, 11:15 PM
#6
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Is your new account with Authorize.net directly or via a reseller?

When you changed accounts, did you use your new set of credentials. That happens if/when you change providers that have opened a discounted auth.net for you. They get a commission. Thus, if you change, someone else wants the commission.

We do not have any special relay other than "Default/blank" in our auth.net account setup as stated in the zencart auth.net SIM setup instructions.

The expected response is to be returned to the step 4, order confirmation page and an order number assigned.

Do you have logging enabled? If so, posting the logfile contents might allow someone else to provide better suggestions. If not, enable logging and post the logfile contents of an attempted transaction.

Have you followed these instructions.
[
https://www.zen-cart.com/content.php?303-how-to-set-up-the-authorizenet-sim-payment-module](https://www.zen-cart.com/content.php?303-how-to-set-up-the-authorizenet-sim-payment-module)

We did have a hiccup or two when we switched from AIM to SIM before the first of the year. I will try to look up the resolution but I do not believe it had the same symptoms as you are describing.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

11 Jun 2015, 11:15 PM
#7
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Thank you for your help RodG. It should go back to our site (as a completed purchase), but it goes back to the page 'step 3 of 3 order confirmation' of our site and acts as though the order was not completed. If you try to go through again, it gives 'duplicate transaction' error (on authorize site). There is no record of the transaction in zencart, but authorize.net has it as a declined transaction in the unsettled transactions.

This worked before, I'm at a loss as to why it does not work now. Again, I really appreciate your help and time.

12 Jun 2015, 4:19 AM
#8
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Do you have it set to production or test in your actual authorize.net account?
Do you have the relay response, referee and silent post url blanked in authorize.net?

I use the AIM module but setup is similar.

Linda

12 Jun 2015, 2:37 PM
#9
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

RixStix - The new provider insisted on a new authorize.net account being set up (now I see why). Yes, we used the new credentials. We have tried leaving the relay link blank (as well as trying to enter in the links we mentioned above). We followed the instructions here:
https://www.zen-cart.com/content.php?303-how-to-set-up-the-authorizenet-sim-payment-module

When that did not work, we tried any suggestions that we found in the forums here, but we just get various errors or the page looping.

Were you referring to the error logs in cpanel, or the log folder within our store? Thank you so much for your time and help.

lruskauff - Authorize.net is set to production. Relay response and silent post url are both blank. 'referee'...do you mean 'response/receipt urls' ? I dont see 'referee' in authorize.net account. Thanks for your time and help.

12 Jun 2015, 3:29 PM
#10
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Yes, sorry typo. And I think he was referring to log in zen art / logs folder.

Try uninstalling then reinstalling authorize in Cpanel. Then start at the directions in zen art and check your debug files. Sometimes starting w a fresh slate helps you see things you didn't the first time around.

12 Jun 2015, 3:47 PM
#11
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

The zencart /logs/ SIM_debug_xxxxxxxx logs
will be needed for the coding experts to offer more detailed ideas.
There can be more than a single logfile associated with each individual transaction test.

Paste, wrapping within the ```


You mentioned upgrade from 1.3.9 to 1.5.4 but I am confused with the timeline.  Did the auth.net SIM function within your 1.5.4 install OR did you mean that it worked with 1.3.9 for years but has never worked with 1.5.4?

Allowing the experts to see the site instead of obscuring the links might identify a simple character error or improper link.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

12 Jun 2015, 5:34 PM
#12
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

We tried reinstalling and no luck. Still same issue of the site looping back with no record in cart of a transaction. Checked the files in our store and nothing there at all (like there was no transaction at all).

12 Jun 2015, 6:12 PM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: (14) The referrer, relay response or receipt link URL is invalid.

WebWeaver2000:

We tried reinstalling and no luck. Still same issue of the site looping back with no record in cart of a transaction. Checked the files in our store and nothing there at all (like there was no transaction at all).

Suggest posting the entire contents of your includes/configure.php file obscuring the database information.

The absence of such logs leads me back to the previous discussion that something is wrong with the path identification, the security settings of the folder or the presence/absence of the folder.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 Jun 2015, 6:27 PM
#14
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Rix Stix - I looked in the directory zencart/logs/ and find no files that start with SIM_debug_xxxxxxx logs. We do have our SIM module > debug mode set to 'log files', but even though we are running test orders it is not recording any new files. Last dated file is from June 9, and we have been running numerous test orders over the last few days (yet nothing there).

The module worked fine for years, and apparently stopped in March (apparently because the original provider account expired or was not renewed automatically). The new provider insisted on the new Authorize.net account (apparently because they got a commission ) and the module will not work. We then upgraded just to help rule out the problem being an outdated version of the cart. So no, it has never worked with 1.5.4, but then again we could not get it to work (as it once did) in 1.3.9.

Site is here: http://tinyurl.com/prxsnk3

Any ideas as to why we have no log files for our recent transaction tests?

Thank you again for your help in trying to figure this out.

12 Jun 2015, 6:58 PM
#15
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Let me ask this, when you step through the checkout process, does it follow this:

Assuming already logged into my account before beginning
Step 1: Select shipping method
Step 2: Select payment method
Step 3: Order confirmation screen
Step 4: Taken to Auth.net SIM CC entry screen
Step 5: Return to Zencart to the Thank you for the order screen with invoice number

Is it possible that you are seeing the Step 3 order confirmation and assuming there is a problem and not attempting to continue through the process?

SORRY. I just created an account and stepped through the process. Looks normal process to me. Screens followed those above. I abandoned after being taken to the Auth.net SIM CC input screeen.

If you have debugging enabled, you will probably see a debug log file indicating my actions.
Feel free to delete the account.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

12 Jun 2015, 7:06 PM
#16
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

No SIM_Debug because the checkout process never proceeded far enough to attempt connection to the Auth.net SIM server.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

12 Jun 2015, 8:04 PM
#17
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

WebWeaver2000:

the directory zencart/logs/

I'm assuming that you actually meant

public_html/store/logs/SIM_debug_xxxxxx

does not exist.... at least prior to my test account transaction.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

13 Jun 2015, 4:21 AM
#18
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Lol, I just did the same thing stepping through your site. except I gave a fake cc making sure it was rejected. And it was. I am out of ideas for now but want to follow this to learn.

13 Jun 2015, 4:24 AM
#19
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

Turn on email and log for debug mode ( that is option in aim )

13 Jun 2015, 1:13 PM
#20
webweaver2000 avatar

webweaver2000

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
19
Plugin Contributions:
0

Re: (14) The referrer, relay response or receipt link URL is invalid.

The steps it takes us through are:

  1. We add item to cart
  2. We are taken to step 1 of 3 (on our site) Delivery and shipping information.
  3. We are taken to step 2 of 3 (our site) Payment Information. We choose credit card, and click continue.
  4. We are taken to step 3 of 3 (our site) Order Confirmation. We click to confirm order.
  5. We are taken to authorize.net site where we enter in test cc numbers and click 'pay now'
  6. We are taken to step 2 of 3 (authorize.net site) Payment Information Where it has a message at the top of page telling us credit card was declined, and asks us to choose a payment menthod. If you choose credit card you are now redirected back to step 3 of 3 (our site) Order Confirmation. You are asked to confirm you order again.
  7. Now you are directed back to authorize.net site again, where you are asked to enter your cc #. If you do this and You are looped back to step 2 of 3 (authorize.net site) with the same message about your card delclined. if you click to continue checkout you are again sent back to step 3 of 3 (our site) and you just keep looping through over and over again.

It was giving an error of a duplicate order before, but now is just looping endlessly back and forth between authorize and our site.