[Skip to main content](#vessel-content)

#   What should the Return URL be for Auth.net plugin?

##

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 1 month ago -  13 years 1 month ago [\#123267](#123267) by [intown](/forum/user/26697-intown "View intown's Profile")  *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123267 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")* was created by *[intown](/forum/user/26697-intown "View intown's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5

Not sure why this is not working or what I can not find the answer.

What should the return URL be for the Authorize.net plugin?

Thanks!

Last edit: 13 years 1 month ago by [intown](/forum/user/26697-intown "View intown's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#123270](#123270) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123270 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Hi,

Nothing.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 1 month ago [\#123271](#123271) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123271 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Thanks for the reply! That explains why I could not find anything.

you can see the shop here
[ www.charitymobi.org/index.php?option=com...yout=show&amp;Itemid=183](https://www.charitymobi.org/index.php?option=com_hikashop&view=product&layout=show&Itemid=183)

When I go through the process this is all I see after entering my CC info at
[ secure.authorize.net/gateway/transact.dll](https://secure.authorize.net/gateway/transact.dll)
Thank you for your purchase.

and I am not brought back to hikashop

What am I missing? -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#123286](#123286) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123286 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Hi,

[ www.hikashop.com/support/2013-08-08-00-1...-authorize-form.html](http://www.hikashop.com/support/2013-08-08-00-18-51/integrated-documentation/22-hikashop/payment-plugins/65-hikashop-payment-authorize-form.html)

> **Return url :** The url you want your users to be redirected to when they finish their payment on the Authorize.net interface. By default, they will be redirected to the after\_end page of the checkout process which will thank them for their order.

Logically, Authorize shouldd redirect the user to the HikaShop store. After that, HikaShop check this parameter and redirect the user to another page if required. So if you let the "return url" empty, it will use the default end page.

Which Authorize.net mode are you using ? A.I.M. ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [intown](/forum/user/26697-intown "View intown's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 1 month ago -  13 years 1 month ago [\#123291](#123291) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123291 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

I am using the SIM interface.

If I add a URL to the auth.net plugin like [ charitymobi.org/raffle-thank-you](http://charitymobi.org/raffle-thank-you) then on the auth.net thankyou page a link appears that a user can click and they are taken to our thankyou page (this is just a joomla article) and does not show them what they have purchased or their order.

I really appreciated the help. -- Steven

Last edit: 13 years 1 month ago by [intown](/forum/user/26697-intown "View intown's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 1 month ago [\#123439](#123439) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123439 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Any thoughts on why the default URL Redirection is not working for the Authorize.net SIM payment plugin?

After some testing here is what I learned.

1. I can set "Allow payment notifications from %s" to No and the customer is shown the authorize.net receipt page but the order is not updated in Hikashop and I need the order to be updated.

2. "Allow payment notifications from %s" is set back to yes and I leave "Return url" empty. The order is updated and the customer is shown an empty white page that says "Thank you for your order" with no other information

3. "Allow payment notifications from %s" is set back to yes and in "Return url" I enter a URL to a Joomla article. The order is updated and the customer is shown an empty white page that says "Thank you for your order" with with a link that directs them to my Joomla Thankyou article. This is better but not really ideal since the customer never sees a proper receipt page with the order details and shipping address and confirmation number.

Does any of this make sense? Am I missing something simple?

Thanks! -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

13 years 1 month ago [\#123501](#123501) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123501 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

1. You should leave that option turned on.

2. The Thank you for your order page should redirect you to the default "normal" thank you page of HikaShop.
There is actually a glitch in the plugin.
The line:
$return_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id='.$order_id.$this-&gt;url_itemid;
should actually be:
$this-&gt;payment_params-&gt;return_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id='.$order_id.$this-&gt;url_itemid;
in plugins/hikashoppayment/authorize/authorize.php and it will work properly.

3. In that case, if the redirection doesn't work, it means that the mootools library is not loaded on your website
Add the code: Code:

if(!HIKASHOP_J30) JHTML::_('behavior.mootools'); else JHTML::_('behavior.framework');

before Code:

$doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='".$this-&gt;payment_params-&gt;return_url."'});");

in plugins/hikashoppayment/authorize/authorize_thankyou.php and that should make it work.

Regarding the order page, you could enter the URL of the user's order listing (you can create a menu item of the type HikaShop order listing via the menu manager to get the URL).

The following user(s) said Thank You: [intown](/forum/user/26697-intown "View intown's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 1 month ago [\#123888](#123888) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123888 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Thanks for the reply and info.

I updated the authorize.php file and now the Authorize.net gateway redirects them back to. Code:

https://www.charitymobi.org/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=XXX&amp;Itemid=YYY (where XXX &amp; YYY are numbers)

On this page the customer sees a message dialog box that says:

> Message
> Thank you for your purchase.

Is it possible to show the customer their receipt page? so that they can print it?

Thanks! -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago [\#123928](#123928) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#123928 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Hi,

You can edit the view "checkout / after_end" via the menu Display &gt; Views to redirect the customers directly to the user control panel menu in the frontend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")**
- [![trogladyte's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2197-trogladyte "View trogladyte's Profile")
- [ Offline](/forum/user/2197-trogladyte)

Less More

- Posts: 279
- Thank you received: 1
-
-

13 years 1 month ago -  13 years 1 month ago [\#124220](#124220) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  Replied by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#124220 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

I made the changes suggest and I am still not being returned to the site. It's just hung up on the Authorize.net receipt page (I'm using SIM). I have a return URL set in the AN plugin, but it's a valid one so will resolve. However the page has no continue or return button on it - no idea what to do.

URL: [ www.ckdev.info/o2m](http://www.ckdev.info/o2m)

AN is in test mode btw.

[ ![h927bef3.jpg](/forum/attachment/12358) ](/forum/attachment/12358 "h927bef3.jpg")

**UPDATE:**

I changed the "Allow payment notifications from %s" to YES and it worked (I previously had it as Yes, but it didn't - doh!). I actually want it to auto return to the site - is that a function I need to sort out in the AN backend?

- [ ![h927bef3.jpg](/forum/attachment/12358) ](/forum/attachment/12358 "h927bef3.jpg") [ ](/forum/attachment/12358?download=1 "h927bef3.jpg")

Last edit: 13 years 1 month ago by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#124398](#124398) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What should the Return URL be for Auth.net plugin?](/forum/29-payment-methods/861935-what-should-the-return-url-be-for-auth-net-plugin#124398 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.1.5  Not sure why this is not working or what I can not find the answer.  What should the return URL be for the Authorize.net plugin?  Thanks!")*

Hi,

> I changed the "Allow payment notifications from %s" to YES and it worked (I previously had it as Yes, but it didn't - doh!). I actually want it to auto return to the site - is that a function I need to sort out in the AN backend?

In SIM mode, I do not see an option in the API in order to specify a "return back" url. So I suppose that it has to be configured in the Authorize.net backend directly, that it is not something dynamic.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjE5MzUtd2hhdC1zaG91bGQtdGhlLXJldHVybi11cmwtYmUtZm9yLWF1dGgtbmV0LXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.132 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
