Skip to Content
Menu
This question has been flagged

When processing a payment on our eCommerce site using Authorize.net, once the payment is completed, it returns to our homepage and the items remain in the cart. There is no confirmation page or notice that the order was completed. I have tried setting the Authorize.net Receipt URL to https://www.domain.com/shop/confirmation and the relay with https://www.domain.com/authorize/payment/return However I get this message when I click Pay Now:

(14) The referrer, relay response or receipt link URL is invalid.
Once I remove both of the links entirely, it processes normally again. Is there a different address to put in there? I've also put our homepage as another URL. This is a HUGE issue as customers are not sure if their orders are processed. If you go to https://www.domain.com/shop/confirmation it will show the order confirmed page for the last order placed for the account, so I know this link is working properly.

Odoo 10 Enterprise, Self-hosted, Ubuntu 16.04

Avatar
Discard
Author

Also having this issue with PayPal. Desperate for a solution as customers are complaining and it looks poorly on us.

Best Answer

Today, I spoke with Authorize.net. Based on my conversation with them, they no longer use the "Default Receipt URL" or "Default Relay Response URL" links. With those set according to Odoo's documentation, I was still getting the error "(14) The referrer, relay response or receipt link URL is invalid".

To resolve, I had to edit those links, clear the setting using a space, and click Submit. Then, the Authorize.net support tech told me to "Add URL" to input the links:

    https://yourcompany.odoo.com/payment/authorize/return

    https://yourcompany.odoo.com/shop/confirmation

As an added precaution, the tech also said that I could add all our CNAME URL variations, as well, and it doesn't hurt to add any variation of the URL (with or without "www"). It may be overkill, but it worked in our case.

    https://www.yourcompany.com/payment/authorize/return

    https://www.yourcompany.com/shop/confirmation

    https://yourcompany.com/payment/authorize/return

    https://yourcompany.com/shop/confirmation

    https://www.yourcompany.odoo.com/payment/authorize/return

    https://www.yourcompany.odoo.com/shop/confirmation

I hope this helps someone out there. Authorize.net's integration support team is more than capable to answer your questions. Give them a call!

We are still on Odoo.sh using v12.

Avatar
Discard
Best Answer

Holy 2 years later batman! Has there been an answer? I would like to be able to do this with odoo11 or above....


Avatar
Discard
Author

I am no longer maintaining the site that was producing this issue so I am not sure if the issue persists. I know before I left the issue was becoming less persistent but they were in talks to Authorize.net to make changes to their account. Hope you can find a solution for others.

From a doc I saw some where...

Could you check your Authorize.net configuration?In Account > Response/Receipt URLs, the Default Receipt URL should be <server_url>/shop/confirmation and the Default Relay Response URL (akin to Paypal IPN) should be <server_url>/payment/authorize/return.

Now it seems I have another issue, this is where I have the default urls's and I see logs that authorize is trying to post on my odoo, but get an error.

odoo11 odoo.addons.payment_authorize.models.payment: Authorize: received data with missing reference

Mark, did you ever get this resolved? What was the solution?

Related Posts Replies Views Activity
0
Mar 24
340
2
Aug 22
2866
2
Jun 22
4180
1
Mar 24
3067
0
May 20
1942