Forums / Built-in Shipping and Payment Modules / Authorize.net Error 14

Authorize.net Error 14

Views: 2,509

Results 1 to 20 of 22
19 Jul 2010, 9:56 PM
#1
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Authorize.net Error 14

Using V: v1.3.9d
No upgrades
No addons
I am using a theme
We're using Godaddy hosting

When we go through the checkout process, we receive this issue:
(14) The referrer, relay response or receipt link URL is invalid.

I have contacted authorize.net and they said its an issue with the x_r_url variable being sent through the post array.

I'm not very familiar with the zen cart code but I understand PHP very well. Is there a specific place to print out the $_POST array or any way to verify this x_r_url or set it? Where is it assigned? What PHP file/line? What page/line is the information submitted to auth net?

Can anyone please let me know how to trouble shoot this?

We're using Authnet to do all the validation offsite and its failing at that point. I was under the impression that made it an authnet issue, but I spoke to a supervisor there and he insists its an issue with the x_r_url variable even though he couldn't tell me what x_r_url variable my site was submitting.

The site is http://cartoucheandcoinshop.com

There is some reading on the Error 14 here:
http://www.developer.authorize.net/tools/responsereasoncode/

Please help ASAP.

19 Jul 2010, 10:04 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Ihateartists:

We're using Godaddy hostingSorry on your luck.
Ihateartists:

When we go through the checkout process, we receive this issue:
(14) The referrer, relay response or receipt link URL is invalid.
Assuming you're using the SIM module, since the more advanced AIM module doesn't require any settings for the "relay response URL".
The SIM setup instructions are posted here: https://www.zen-cart.com/tutorials/index.php?article=403

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2010, 10:08 PM
#3
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

I have read the instructions and already followed them. Do you have any other advice or suggestions?

19 Jul 2010, 10:25 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Turn on debug logging inside the module, and report back what it tells you it's sending vs receiving.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 2:16 PM
#5
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

Jul-20-2010 07:12:07

Sent to Authorizenet: Array
(
[x_login] => *******
[x_amount] => 186.95
[x_version] => 3.1
[x_method] => CC
[x_type] => AUTH_ONLY
[x_cust_ID] => 2
[x_email_customer] => FALSE
[x_company] =>
[x_first_name] => Lynn
[x_last_name] => XXX
[x_address] => XXX
[x_city] => XXX
[x_state] => XXX
[x_zip] => XXX
[x_country] => United States
[x_phone] => XXX
[x_fax] =>
[x_email] => [email protected]
[x_ship_to_company] =>
[x_ship_to_first_name] => Lynn
[x_ship_to_last_name] => XXX
[x_ship_to_address] => XXX
[x_ship_to_city] => XXX
[x_ship_to_state] => XXX
[x_ship_to_zip] => XXX
[x_ship_to_country] => United States
[x_Customer_IP] => XXX
[x_relay_response] => TRUE
[x_relay_URL] =>
http://cartoucheandcoinshop.com/index.php?main_page=checkout_process
[x_invoice_num] =>
[x_duplicate_window] => 120
[x_allow_partial_Auth] => FALSE
[x_description] => Website Purchase from Cartouche and Coin Shop
[x_fp_sequence] => 188
[x_fp_timestamp] => 1279635127
[x_fp_hash] => 8445832e6fedb6429229b9cf3cad12af
[x_show_form] => PAYMENT_FORM
[x_receipt_link_method] => POST
[x_receipt_link_text] => Click here to complete your order.
[x_receipt_link_url] =>
http://cartoucheandcoinshop.com/index.php?main_page=checkout_process
[zenid] => 54mirleskged3mh983svqkrf72
[url] => https://secure.authorize.net/gateway/transact.dll
)

The things marked XXX were correct but I removed them because it was personal information.

20 Jul 2010, 3:01 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Okay, so there's nothing wrong with what Zen Cart is sending as the URL.
The problem is that you've not specified that URL in your Authorize.net profile settings as a valid Response/Receipt URL.
Go back to the authnet link you posted about reason codes, enter 14, and follow the instructions they give you there under SIM Integration Suggestions for adding a valid Response/Receipt URL.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 4:56 PM
#7
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

Okay I got past the Error 14 screen.

Now I get this:

An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

  This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.

It's not returning me to my website or generating a receipt.

Any ideas on how to fix this? Ideally, it would return the customer to my store, show them a receipt and email them a receipt.

20 Jul 2010, 5:35 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 5:53 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Additionally, you might want to try the update I posted here: http://www.zen-cart.com/forum/showpost.php?p=909068&postcount=14

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 7:06 PM
#10
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

I'm trying it on a separate host now to try and eliminate the hosting possibility.

Now its letting me go through the checkout process, it goes to Authorize.net, I enter my information and it takes me back to my website with this error:

There has been an error processing your credit card. Please try again.

However the URL is still https://secure.authorize.net/gateway/transact.dll which is a little confusing to me. My browsers address bar is still showing Authorize.net instead of my domain name.

I know my credit card information is correct.

I've tried it both with and without the ZIP file you attached.

Any ideas?

20 Jul 2010, 8:37 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Ihateartists:

However the URL is still https://secure.authorize.net/gateway/transact.dll which is a little confusing to me. My browsers address bar is still showing Authorize.net instead of my domain name.
The zip I pointed you to addresses only that specific issue for cases where the payment is accepted.
If the payment actually fails, you'll be taken back to the payment options screen.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 8:46 PM
#12
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

DrByte:

The zip I pointed you to addresses only that specific issue for cases where the payment is accepted.
If the payment actually fails, you'll be taken back to the payment options screen.

How do I find out why the payment is failing? As I mentioned, I know the information is correct since its my personal card.

20 Jul 2010, 8:47 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

What are the authnet debug logs telling you?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 8:56 PM
#14
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

Sent to Authorizenet: Array
(
[x_login] => *******
[x_amount] => 0.01
[x_version] => 3.1
[x_method] => CC
[x_type] => AUTH_ONLY
[x_cust_ID] => 2
[x_email_customer] => FALSE
[x_company] =>
[x_first_name] => brandon
[x_last_name] => XXX
[x_address] => XXX
[x_city] => XXX
[x_state] => Florida
[x_zip] => XXX
[x_country] => United States
[x_phone] => 850-362-0001
[x_fax] =>
[x_email] => brandonpence######################
[x_ship_to_company] =>
[x_ship_to_first_name] => brandon
[x_ship_to_last_name] => XXX
[x_ship_to_address] => XXX
[x_ship_to_city] => XXX
[x_ship_to_state] => Florida
[x_ship_to_zip] => XXX
[x_ship_to_country] => United States
[x_Customer_IP] => XXX
[x_relay_response] => TRUE
[x_relay_URL] =>
http://brandonpence.com/cart/index.php?main_page=checkout_process&action=confirm
[x_invoice_num] =>
[x_duplicate_window] => 120
[x_allow_partial_Auth] => FALSE
[x_description] => Website Purchase from Owner
[x_fp_sequence] => 120
[x_fp_timestamp] => 1279658989
[x_fp_hash] => 5f427c2a38cd64329036956ea93232b6
[x_show_form] => PAYMENT_FORM
[x_receipt_link_method] => POST
[x_receipt_link_text] => Click here to complete your order.
[x_receipt_link_url] =>
http://brandonpence.com/cart/index.php?main_page=checkout_process
[zenid] => b662f3c39048d46c2e607a8fdcf9dbc1
[url] => https://secure.authorize.net/gateway/transact.dll
)

20 Jul 2010, 9:15 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

So, the logs are showing only that the payment request was submitted TO authorize.net, and not that it ever returned.

I will remind you again: the AIM module (the "A" in "AIM" stands for "Advanced") doesn't have any of these problems because it doesn't have to rely on redirecting to another site and then back again.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 9:18 PM
#16
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

I understand that but if I can make the SIM one work then that will do.

Which line says it isn't receiving a response, and how do you recommend fixing this problem?

Surely with it built into Zen Cart it must function, yeah?

20 Jul 2010, 9:23 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Ihateartists:

I understand that but if I can make the SIM one work then that will do.I see using SIM as a last resort, not a first choice.
Ihateartists:

Which line says it isn't receiving a response, and how do you recommend fixing this problem?The section that comes AFTER the stuff you quoted. That is, the part that's NOT in the logs you're quoting.
Ihateartists:

Surely with it built into Zen Cart it must function, yeah?
Yes, it works fine for me in all the sites I've used it on.
Granted, SIM is not my preferred choice, but it does work fine.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 9:27 PM
#18
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

I'm confused. You know its not getting a response from something I didn't show you? Can you please explain?

It looks like I got a 2nd email seconds later that says this, however I never got it to "accept" the transaction on my zen cart site:

Response Code: 1.
Response Text: This transaction has been approved.

Results Received back from Authorizenet: Array
(
[x_response_code] => 1
[x_response_reason_code] => 1
[x_response_reason_text] => This transaction has been approved.
[x_avs_code] => Y
[x_auth_code] => 500782
[x_trans_id] => 3093375457
[x_method] => CC
[x_card_type] => Visa
[x_account_number] => XXX
[x_first_name] => brandon
[x_last_name] => XXX
[x_company] =>
[x_address] => XXX
[x_city] => XXX
[x_state] => Florida
[x_zip] => 32578
[x_country] => United States
[x_phone] => XXX
[x_fax] =>
[x_email] => XXX
[x_invoice_num] =>
[x_description] => Website Purchase from Owner
[x_type] => auth_only
[x_cust_id] => 2
[x_ship_to_first_name] => brandon
[x_ship_to_last_name] => XXX
[x_ship_to_company] =>
[x_ship_to_address] => XXX
[x_ship_to_city] => XXX
[x_ship_to_state] => Florida
[x_ship_to_zip] => XXX
[x_ship_to_country] => United States
[x_amount] => 0.01
[x_tax] => 0.00
[x_duty] => 0.00
[x_freight] => 0.00
[x_tax_exempt] => FALSE
[x_po_num] =>
[x_MD5_Hash] => A3FBB387A5C33C73ADBC5E63F6DFA20D
[x_cvv2_resp_code] =>
[x_cavv_response] =>
[x_test_request] => false
[zenid] => b662f3c39048d46c2e607a8fdcf9dbc1
[HashValidationValue] => E9D45CFAAB5F8D46852F4393F799B97A
[HashMatchStatus] => FAIL
[url] => https://secure.authorize.net/gateway/transact.dll
)

Does this part:
[HashValidationValue] => E9D45CFAAB5F8D46852F4393F799B97A
[HashMatchStatus] => FAIL

Hold any significance that I should be worried about?

I really appreciate your help in this matter. While it isn't resolved yet, thank you for helping me with this.

20 Jul 2010, 9:31 PM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Authorize.net Error 14

Ihateartists:

I'm confused. You know its not getting a response from something I didn't show you? Can you please explain?It's the 2nd email that you didn't share previously.

I usually log-to-file instead of log-to-email since all the related pieces are kept together in one file instead of several separate emails that have to be pieced together later.

Ihateartists:

Does this part:
[HashValidationValue] => E9D45CFAAB5F8D46852F4393F799B97A
[HashMatchStatus] => FAIL

Hold any significance that I should be worried about?Absolutely.
If the MD5 Hash you entered into your Authnet profile doesn't match the MD5 Hash you entered in your Zen Cart Authnet module settings, then the transaction will NOT be stored.
That's specifically covered in step 7 of the FAQ article I posted earlier which you said you already followed exactly: https://www.zen-cart.com/tutorials/index.php?article=403

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 9:34 PM
#20
ihateartists avatar

ihateartists

New Zenner

Join Date:
Jul 2010
Posts:
22
Plugin Contributions:
0

Re: Authorize.net Error 14

Is that the only thing the below section could mean? That the hash in Zencart is not matching the hash in Authorize.net?

Would that cause the error I'm experiencing?

[HashValidationValue] => E9D45CFAAB5F8D46852F4393F799B97A
[HashMatchStatus] => FAIL