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

#   Returning to the shop after payment

##

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 6 months ago [\#202723](#202723) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#202723 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")* was created by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.39

Is there a reason that customers are not sent directly to the after_end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 6 months ago [\#202730](#202730) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#202730 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

Hi,

There is already an auto redirect back to the shop into that "sparse page":
[ take.ms/18OmZ](http://take.ms/18OmZ)
(it's the file plugins/hikashoppayment/authorize/authorize_thankyou.php)
That intermediate page is necessary as we can't send directly the content of your thank you page when authorize.net requests it (it would require doing a cURL to your thank you page to then send the content to authorize.net, but it would be a problem with the head of the page, etc). It is much better to simply send it that intermediary page which then automatically redirects to the normal return page.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 6 months ago [\#202997](#202997) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#202997 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

An auto redirect should at least be added to that intermediary page. It would also be nice if it was a valid html page. There is no html, head or body tags to it. Just this:
Code:

&lt;div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou"&gt; &lt;span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message"&gt; Thank you for your purchase.&lt;br/&gt;&lt;a href="http://mysite.com/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=25483"&gt;You can go back to the shop by clicking on this link&lt;/a&gt; &lt;/span&gt; &lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 6 months ago [\#203001](#203001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203001 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

Hi,

Please reread my message. There is already an auto redirect on that intermediary page.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 6 months ago [\#203041](#203041) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203041 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

> nicolas wrote: Please reread my message. There is already an auto redirect on that intermediary page.

I read it just fine. It doesn't seem like you understood mine. There is no auto redirect. The code that I posted is all that page has to it. You can get to that page and it will just sit there until you click on the link to return to the site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 6 months ago [\#203044](#203044) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203044 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

Mmmm. That should not be the case. Normally, all the page header should be there, including the auto redirect.
I think it could come from the hikashop notification plugin that we added in the last release.
Could you try disabling it via the Joomla plugin manager ?

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 6 months ago -  11 years 6 months ago [\#203095](#203095) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203095 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

That's better, but it is still out of whack and no auto redirect.

Code:

&lt;div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou"&gt; &lt;span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message"&gt; Thank you for your purchase.&lt;br/&gt;&lt;a href="http://mysite.com/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=25484&amp;Itemid=326"&gt;You can go back to the shop by clicking on this link&lt;/a&gt; &lt;/span&gt; &lt;/div&gt; &lt;!doctype html&gt; &lt;html xml:lang="en-gb" lang="en-gb" &gt; &lt;head&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt; &lt;base href="http://mysite.com/index.php" /&gt; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt; &lt;meta name="keywords" content="..." /&gt; &lt;meta name="rights" content="..." /&gt; &lt;meta name="description" content="...." /&gt; &lt;meta name="generator" content="Joomla! - Open Source Content Management" /&gt; &lt;title&gt;Shop&lt;/title&gt; &lt;link href="http://mysite.com/index.php/shopping/checkout/notify/notif_payment-authorize/tmpl-component?lang=en" rel="canonical" /&gt; &lt;link href="/templates/gantry/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /&gt; &lt;link rel="stylesheet" href="/media/com_hikashop/css/frontend_default.css?t=1432765682" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/bootstrap.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/master-a31b55a8185ef76ab8f839ab5a9feaf3.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/mediaqueries.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css/gantry-custom.css" type="text/css" /&gt; &lt;style type="text/css"&gt; #rt-logo {background: url(/images/header/gpsc_logo.png) 50% 0 no-repeat !important;} #rt-logo {width: 192px;height: 73px;} &lt;/style&gt; &lt;script src="/media/com_hikashop/js/hikashop.js?v=240" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/mootools-core.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/core.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/bootstrap.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/mootools-more.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/libraries/gantry/js/gantry-totop.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/libraries/gantry/js/browser-engines.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; window.hikashop.ready(function(){window.location='http://mysite.com/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=25484&amp;Itemid=326'}); &lt;/script&gt; &lt;/head&gt; &lt;body class="component-body"&gt; &lt;div class="component-content"&gt; &lt;div id="system-message-container"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;

Last edit: 11 years 6 months ago by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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)
-

11 years 6 months ago [\#203111](#203111) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203111 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

Hi,

As a temporary solution, you could publish back the plugin and replace the content of the file "plugins/hikashoppayment/authorize/\authorize_thankyou.php" by: Code:

&lt;!doctype html&gt; &lt;html xml:lang="en-gb" lang="en-gb" &gt; &lt;head&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt; &lt;base href="http://mysite.com/index.php" /&gt; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt; &lt;meta name="keywords" content="..." /&gt; &lt;meta name="rights" content="..." /&gt; &lt;meta name="description" content="...." /&gt; &lt;meta name="generator" content="Joomla! - Open Source Content Management" /&gt; &lt;title&gt;Shop&lt;/title&gt; &lt;link href="http://mysite.com/index.php/shopping/checkout/notify/notif_payment-authorize/tmpl-component?lang=en" rel="canonical" /&gt; &lt;link href="/templates/gantry/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /&gt; &lt;link rel="stylesheet" href="/media/com_hikashop/css/frontend_default.css?t=1432765682" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/bootstrap.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/master-a31b55a8185ef76ab8f839ab5a9feaf3.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css-compiled/mediaqueries.css" type="text/css" /&gt; &lt;link rel="stylesheet" href="/templates/gantry/css/gantry-custom.css" type="text/css" /&gt; &lt;style type="text/css"&gt; #rt-logo {background: url(/images/header/gpsc_logo.png) 50% 0 no-repeat !important;} #rt-logo {width: 192px;height: 73px;} &lt;/style&gt; &lt;script src="/media/com_hikashop/js/hikashop.js?v=240" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/mootools-core.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/core.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/jui/js/bootstrap.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/media/system/js/mootools-more.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/libraries/gantry/js/gantry-totop.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/libraries/gantry/js/browser-engines.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; window.hikashop.ready(function(){window.location='&lt;?php echo $this-&gt;payment_params-&gt;return_url; ?&gt;'}); &lt;/script&gt; &lt;/head&gt; &lt;body class="component-body"&gt; &lt;div class="component-content"&gt; &lt;div id="system-message-container"&gt; &lt;/div&gt; &lt;div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou"&gt; &lt;span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message"&gt; &lt;?php echo JText::_('THANK_YOU_FOR_PURCHASE'); if(!empty($this-&gt;payment_params-&gt;return_url)){ echo '&lt;br/&gt;&lt;a href="'.$this-&gt;payment_params-&gt;return_url.'"&gt;'.JText::_('GO_BACK_TO_SHOP').'&lt;/a&gt;'; }?&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;

This way all the header will be present and correct, so the Javascript should owork properly and do the redirect.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 5 months ago [\#203250](#203250) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203250 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

I tried that but still no auto redirect.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 5 months ago [\#203281](#203281) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203281 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

Hi,

Are you sure that you do not have any javascript error in your page ?
Why does not use simply a "Joomla application redirect" ? Something like Code:

&lt;?php $app = JFactory::getApplication(); $app-&gt;redirect( $this-&gt;payment_params-&gt;return_url );

Regards,

---

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

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

11 years 5 months ago [\#203346](#203346) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203346 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

I'll wait until you guys publish a fix for this, as I have spent too much of my time on this issue already. Until then my customers will just have to click on the link to return to the site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 5 months ago [\#203356](#203356) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Returning to the shop after payment](/forum/27-checkout/877152-returning-to-the-shop-after-payment#203356 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Is there a reason that customers are not sent directly to the after&#95;end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?")*

What Jerome is proposing is not possible.
It's authorize.net which is getting the HTML of the thank you page during the payment notification process and it doesn't accept 300 redirects. It has to be done as a javascript redirect.

I'm modified the code of the authorize_thankyou.php file to this: Code:

&lt;div class="hikashop_authorize_thankyou" id="hikashop_authorize_thankyou"&gt; &lt;span id="hikashop_authorize_thankyou_message" class="hikashop_authorize_thankyou_message"&gt; &lt;?php echo JText::_('THANK_YOU_FOR_PURCHASE'); if(!empty($this-&gt;payment_params-&gt;return_url)){ echo '&lt;br/&gt;&lt;a href="'.$this-&gt;payment_params-&gt;return_url.'"&gt;'.JText::_('GO_BACK_TO_SHOP').'&lt;/a&gt;'; }?&gt; &lt;/span&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;payment_params-&gt;return_url)){ ?&gt; &lt;!--[if IE]&gt; &lt;script type="text/javascript"&gt; window.location='&lt;?php echo $this-&gt;payment_params-&gt;return_url; ?&gt;'; &lt;/script&gt; &lt;![endif]--&gt; &lt;?php } ?&gt;

That should definitely work for you too, even with the payment notification plugin turned on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzE1Mi1yZXR1cm5pbmctdG8tdGhlLXNob3AtYWZ0ZXItcGF5bWVudD90bXBsPW1hcmtkb3du) 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.070 seconds

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