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

#   Authorize not returning to site directly

##

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

Less More

- Posts: 332
- Thank you received: 6
-
-

10 years 2 months ago -  10 years 1 month ago [\#251404](#251404) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251404 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")* was created by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5.43
-- Browser(s) name and version -- : FF, Chrome, Edge - all current

I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:

---

Thank you for your purchase. Please click below to get access to the programs.
Go to my account

You can go back to the shop by clicking on this link

---

The return link in the payment plugin is this:

[ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase)

The post URL is this:

"return_url": "https:\/\/www.divorcetoolbox.net\/thank-you-for-your-purchase",

The Authorize.net tech stated:

> Greetings Luke,
>
> Thank you for your reply. I'm happy to assist you further.
>
> You need to make sure that the URL that you're using is valid. When I try to go to https:\\/\\/www.divorcetoolbox.net\\/thank-you-for-your-purchase, it gives me an invalid message.

When I paste https:\/\/www.divorcetoolbox.net\/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to [ www.divorcetoolbox.net//thank-you-for-your-purchase](https://www.divorcetoolbox.net//thank-you-for-your-purchase) and the page is displayed. It does not work in Safari. I get an error:

> Safari can't find the server.
> Safari can't open the page "https://%5C/%5C/www.divorcetoolbox.net%5C/thank-you-for-your-purchase". because Safari can't find the server "\\".

What is the purpose of having the "\" as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?

Last edit: 10 years 1 month ago by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODY3MTctYXV0aG9yaXplLW5vdC1yZXR1cm5pbmctdG8tc2l0ZS1kaXJlY3RseT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 2 months ago [\#251432](#251432) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251432 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

Hi,

The redirect page is sent to authorize.net by HikaShop with the file plugins/hikashoppayment/authorize/authorize_thankyou.php
There, the link is done like that:
echo '&lt;br/&gt;&lt;a href="'.$this-&gt;payment_params-&gt;return_url.'"&gt;'.JText::_('GO_BACK_TO_SHOP').'&lt;/a&gt;';
I invite you to replace that line by:
echo '&lt;br/&gt;&lt;a href="[ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase)"&gt;'.JText::_('GO_BACK_TO_SHOP').'&lt;/a&gt;';

And you should still have the same error because HikaShop doesn't have these \ characters to the return url as far as I can see in the code.
So that means that these characters would be added either by your server, or by a plugin on your website, or by authorize.net

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

10 years 1 month ago -  10 years 1 month ago [\#251604](#251604) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251604 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

I have tried the following combinations with no luck:

| **Hikashop Authorize Payment Plugin - Return url** | **Authorize Default Relay Response URL** | **Transaction Result** |
|---|---|---|
| [ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase) | No entry | Get page with link to return to website |
| [ www.divorcetoolbox.net/index.php?option=...&amp;view=article&amp;id=283](https://www.divorcetoolbox.net/index.php?option=com_content&view=article&id=283)\] | No entry | Get page with link to return to website |
| No entry | [ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase) | (14) The referrer, relay response or receipt link URL is invalid |
| No entry | [ www.divorcetoolbox.net/index.php?option=...&amp;view=article&amp;id=283](https://www.divorcetoolbox.net/index.php?option=com_content&view=article&id=283)\] | (14) The referrer, relay response or receipt link URL is invalid |
| [ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase) | [ www.divorcetoolbox.net/thank-you-for-your-purchase](https://www.divorcetoolbox.net/thank-you-for-your-purchase) | (14) The referrer, relay response or receipt link URL is invalid |
| [ www.divorcetoolbox.net/index.php?option=...&amp;view=article&amp;id=283](https://www.divorcetoolbox.net/index.php?option=com_content&view=article&id=283)\] | [ www.divorcetoolbox.net/index.php?option=...&amp;view=article&amp;id=283](https://www.divorcetoolbox.net/index.php?option=com_content&view=article&id=283)\] | (14) The referrer, relay response or receipt link URL is invalid |
| https:\\/\\/www.divorcetoolbox.net\\/thank-you-for-your-purchase | Can't enter this URL - not accepted - so I leave it blank | (14) The referrer, relay response or receipt link URL is invalid |

At this point, I do not think it is possible to try anything else. Either this feature is simply not working, which may not be HikaShop issue but issue with Authorize, or Authorize is not recognizing what I am entering.

Last edit: 10 years 1 month ago by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODY3MTctYXV0aG9yaXplLW5vdC1yZXR1cm5pbmctdG8tc2l0ZS1kaXJlY3RseT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 1 month ago [\#251639](#251639) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251639 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

Hi,

What you're saying is normal. The Relay response URL should be left empty in the Authorize.net merchant account.
And it's normal that you get the page with the return URL to go to the website in the other cases as that's what it is supposed to do.

So I don't understand why you say it's not working. Having the link to go back to the website after the payment is what you're supposed to have no ? What else do you want ?
I thought that your problem was with something escaping the special characters in the return URL, no ? I don't see why you think the tests you made are linked to solving that issue ?
How about the modification I proposed ? Did it change anything ?

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

10 years 1 month ago [\#251711](#251711) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251711 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

Nicolas,

I 'now' agree with your statement. Authorize displaying the page with the link to return back to the website is the default functionality of their system. I was just trying to get it to return automatically back to the clients website without having to click the link. Oh well....we'll live with it. :woohoo:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODY3MTctYXV0aG9yaXplLW5vdC1yZXR1cm5pbmctdG8tc2l0ZS1kaXJlY3RseT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 1 month ago [\#251762](#251762) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251762 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

Hi,

Ok. So regarding that, try removing the lines:
&lt;!--[if IE]&gt;
and:
&lt;![endif]--&gt;
in the file plugins/hikashoppayment/authorize/authorize_thankyou.php
That should help having it redirect automatically.

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

10 years 1 month ago -  10 years 1 month ago [\#251809](#251809) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Authorize not returning to site directly](/forum/29-payment-methods/886717-authorize-not-returning-to-site-directly#251809 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5.43 -- Browser(s) name and version -- : FF, Chrome, Edge - all current  I've been working with Authorize.net personnel to try and get an automatic return back to the site without the viewer having to click a link at a page that displays this:  ----- Thank you for your purchase. Please click below to get access to the programs. Go to my account  You can go back to the shop by clicking on this link ----- The return link in the payment plugin is this:    www.divorcetoolbox.net/thank-you-for-your-purchase  The post URL is this:  &quot;return&#95;url&quot;: &quot;https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase&quot;,  The Authorize.net tech stated:  When I paste https:&#92;/&#92;/www.divorcetoolbox.net&#92;/thank-you-for-your-purchase into Chrome, FF or IE, it changes the link to   www.divorcetoolbox.net//thank-you-for-your-purchase  and the page is displayed. It does not work in Safari. I get an error:  What is the purpose of having the &quot;&#92;&quot; as an escape character in a simple URL? How can I get this to work if Authorize indicates it is not a valid URL when it is a valid URL in the plug-in field?")*

Nicholas,

First I commended out the following code in that file as follows:
Code:

&lt;?php if(!empty($this-&gt;payment_params-&gt;return_url)){ ?&gt; &lt;?php /* commenting out this section as per Nicolas at HikaShop to see if we can get an automatic return from Authorize.net &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; */ ?&gt; &lt;?php } ?&gt;

Then I just completely removed it with and without the 'if' statement as follows:
Code:

&lt;?php if(!empty($this-&gt;payment_params-&gt;return_url)){ ?&gt; &lt;?php } ?&gt;

No luck! I get pretty much the same type of responses in testing. If I have the "h t t p s://www.divorcetoolbox.net/thank-you-for-your-purchase" URL in the Authorize.net Default Relay Response URL and/or even the Default Receipt URL, I get this error whether or not I have the same URL in the Hikashop Authorize payment plugin 'Return url'.
Code:

The following errors have occurred. (14) The referrer, relay response or receipt link URL is invalid.

If I have NO URL in the Authorize.net settings, I get the page to click to return back to the website.

> Thank you for your purchase. Please click below to get access to the programs.
> Go to my account
>
> You can go back to the shop by clicking on this link

When I stop the checkout and check the code, the 'x_relay_url' that Authorize.net is checking is as follows:
Code:

&lt;input name="x_relay_url" value="https://www.divorcetoolbox.net/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment=authorize&amp;tmpl=component&amp;lang=en&amp;Itemid=356" type="hidden"&gt;

I would have been expecting the "h t t p s://www.divorcetoolbox.net/thank-you-for-your-purchase" to be in that field.

So on a hunch, I decided to put the following link into each of the Authorize.net URL settings (one at a time and tested) so it matched up with the "x_relay_url" settings.
Code:

https://www.divorcetoolbox.net/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment=authorize&amp;tmpl=component&amp;lang=en&amp;Itemid=356

I did not get the Error #14 display. It went to the Authorize.net site, I submitted the payment and got the 'return link page' which if I clicked the link, it returned back to the page I wanted it to return which is the setting in the HikaShop Authorize payment plugin. So that procedure didn't work either.

At this point, I couldn't think of a single other way I could have tested this process.

BUT THEN, I had a light bulb go off. I edited the thank you page to just directly do this via HTML and it works!!!!

Here is the code:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.3 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php /* bypassing and putting in automatic return via HTML javascript &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; */ ?&gt; &lt;!doctype html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;Authorize Redirect Page&lt;/title&gt; &lt;meta name="description" content="A page that will redirect the user to the DivorceToolbox.net thank you page after 1 second"&gt; &lt;meta name="author" content="DivorceToolbox.net"&gt; &lt;meta http-equiv="refresh" content="1;URL=https://www.divorcetoolbox.net/thank-you-for-your-purchase"&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff"&gt; &lt;center&gt;If you are not automatically redirected to the thank you page after 3 seconds, please &lt;a href="https://www.divorcetoolbox.net/thank-you-for-your-purchase"&gt;CLICK HERE&lt;/a&gt;&lt;/center&gt; &lt;/body&gt; &lt;/html&gt;

Whooppeeeeee! :woohoo: :woohoo: :woohoo: :woohoo: :woohoo: :woohoo:

Last edit: 10 years 1 month ago by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile").

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

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