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

#   Finish button on checkout not redirecting

##

- **[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: 86587
- Thank you received: 14326
-
-

12 years 8 months ago [\#149263](#149263) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149263 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Then it probably means that the "force logout" option of your "hikashop group plugin" is turned off. Please check on that option via the joomla plugins manager.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 8 months ago [\#149274](#149274) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149274 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Force user logout on group update is set to Yes.

So to play around with it a bit I set it to No and saved it. Registered as a new user, paid, and was returned back to my website fine, but of course the user is logged in. Worked as expected.

I set it back to Yes. Registered as a new user, was redirected to Authorize.net payment page, submitted payment, and the Authorize.net thank you page is messed up, there is a script error (I think this is a script error).

Here's a screenshot of the error - Uncaught TypeError: Object (object global) has no method 'addEvent':

[ ![hfa2d104.jpg](/forum/attachment/16209) ](/forum/attachment/16209 "hfa2d104.jpg")

So when the Force user logout on group update is set to Yes in the Hikashop group plugin, the thank you page from Authorize.net is messed up but the user is logged out. When I set the Force user logout on group update to No, then the thank you page from Authorize.net is fine and the user is able to be redirected back to the site, but is of course is logged in.

Not sure what is causing the error and the thank you page looking weird. How can I fix this? Since it only happens when the Force user logout on group update is set to Yes, then I am assuming it's tied to the plugin somehow?

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

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

12 years 8 months ago [\#149332](#149332) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149332 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Yes. Could you turn on the debug mode and error reporting options of the Joomla configuration and try again ?
That should display an error message at the end of that page which will help us understand what's going on.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 8 months ago [\#149361](#149361) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149361 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

I turned on debug mode and the error reporting and this is what I get when I register as a new user, then I'm directed to Authorize.net payment page, I submit payment, and this what I get for Authorize.net's thank you page now:

[ ![hc0b4c53.jpg](/forum/attachment/16224) ](/forum/attachment/16224 "hc0b4c53.jpg")

I am not sure if this is what you meant by turning on debug and error reporting. But I am getting the script error on the thank you page that is displayed after submitting payment with Authorize's payment form. So this is still with Authorize and the URL of [ secure.authorize.net/gateway/transact.dll](https://secure.authorize.net/gateway/transact.dll), so it's not part of my Joomla site. I don't see any Joomla debug or error reporting for this page. Or am I doing this wrong? Is there another way to debug this error using Joomla's debug and error reporting even though it's on Authorize's page?

I only get the script error on Authorize's thank you page when Force user logout on group update is set to yes in the Hikashop group plugin.

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

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

12 years 8 months ago [\#149377](#149377) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149377 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Ok, the issue is that authorize.net is not able to handle the error display...
Let's do differently then.
Can you open your server's PHP error log file and look for the latest Fatal error message ? That should be that same error message that should be displayed on that error page.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 8 months ago [\#149442](#149442) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149442 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Looking at my error_log in my CPanel, I do not see any fatal error messages. The only thing that is in the error_log that is related to Hikashop and Authorize is this:

[24-Mar-2014 10:59:17 America/Denver] PHP Notice: Undefined property: stdClass::$order_addresses_fields in /home/public_html/media/com_hikashop/mail/order_creation_notification.text.php on line 78
[24-Mar-2014 10:59:17 America/Denver] PHP Warning: Invalid argument supplied for foreach() in /home/public_html/media/com_hikashop/mail/order_creation_notification.text.php on line 78
[24-Mar-2014 10:59:53 America/Denver] PHP Notice: Undefined variable: order in /home/public_html/plugins/hikashoppayment/authorize/authorize.php on line 417
[24-Mar-2014 10:59:53 America/Denver] PHP Notice: Trying to get property of non-object in /home/public_html/plugins/hikashoppayment/authorize/authorize.php on line 417
[24-Mar-2014 10:59:53 America/Denver] PHP Notice: Undefined index: in /home/public_html/plugins/hikashoppayment/authorize/authorize.php on line 417

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

12 years 8 months ago [\#149528](#149528) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149528 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Hi,

Can you change the code: Code:

$body = str_replace('&lt;br/&gt;',"\r\n",JText::sprintf('PAYMENT_NOTIFICATION_STATUS','Authorize.net',$vars['payment_status'])).' '.JText::sprintf('ORDER_STATUS_CHANGED',$statuses[$order-&gt;order_status])."\r\n\r\n".$order_text;

to: Code:

$body = str_replace('&lt;br/&gt;',"\r\n",JText::sprintf('PAYMENT_NOTIFICATION_STATUS','Authorize.net',$vars['payment_status'])).' '.JText::sprintf('ORDER_STATUS_CHANGED',$statuses[$order_status])."\r\n\r\n".$order_text;

in the file plugins/hikashoppayment/authorize/authorize.php and try again a payment like that ?

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 8 months ago [\#149575](#149575) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#149575 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

No that did not work. Here's what I just noticed that might help. I have two types of users that will purchase using Hikashop - one is a new user that will register and then purchase membership and be put into the Paid Member with Continuing Education group after successful payment and the other is a user who is already a registered user/member and will login and renew their membership and also be put into the Paid Member with Continuing Education group.

For the user who is already registered but needs to renew membership, they can login to renew their membership and pay with Authorize.net - This works fine and the user is successfully redirect back to my site except that the user is not logged out even though I have Force user logout on group update. Their new group upon renewal of membership is Paid Member with Continuing Education. So they should be logged out to update their acl.

For the user who needs to register then pay with Authorize.net, the user registers, is directed to Authorize, submits payment and the thank you page for Authorize is what I posted earlier where my template is messed up. However with this user, they are in fact logged out at this time and they are put into the correct acl.

So two different users - one already registered and already logged in and pays and is redirected back to my site correctly but they are not logged out and the other is a new user who registers and is not correctly redirected back to my site but is logged out.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 8 months ago [\#150003](#150003) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#150003 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

More help and suggestions for getting my checkout to work properly will be greatly appreciated. Thank you!

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

12 years 7 months ago [\#150028](#150028) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#150028 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

The code modification I proposed is to remove the warning that you get in your logs. So you should not have that warning added to the log anymore.
For the fact that the user is not logged out, the only explanation I can see is that the user either is already in the correct group, or is a super admin and in that case we don't log him out as he already has enough rights.
For the fact that you get an error on authorize.net I would have guessed at a fatal error, but in that case you should see it in the log. So I'm a bit puzzled. Could you try maybe to change the "session handler" option of the joomla configuration. Maybe that would help avoid the issue.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago [\#150149](#150149) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#150149 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Thanks for the help. The users that I test with are not already part of the group nor are they super admins. Changing the session handler doesn't help.

How about this, I use to have code in the end file of the view checkout that would log out the user. That was what started this whole thread because after updating, that code in that file didn't work any more and just redirected the user to the home page and not to the payment page. If I turn off the Force user to logout on group update, then add code somewhere to some file to log out the user maybe that would work? What code could I use and where would I put it?

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago [\#152972](#152972) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#152972 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Ok so I have since updated my Authorize.net payment plugin to use the AIM method. Now the Force user logout on group update plugin works. HOWEVER, with this option set to Yes, then the user is NOT redirected to the thank you page after purchase. I have tested this with having a Return URL in the Authorize.net payment plugin and without a URL in that field so that it uses the default thank you. The user is only directed to the home page, but they are finally logged out!

If I have the Force user logout on group update set to yes, then the user is directed back to the home page and is logged out. But they do not get a thank you page so it is kinda weird and the user will not realize their payment was processed successfully.

Please tell me how to force the redirection after purchase to the default thank you page or any URL that I put into the Return URL field in the Authorize.net payment plugin.

I response will be greatly appreciated as I would like to get this working correctly.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago [\#153314](#153314) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153314 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Help on this will be greatly appreciated. Thank you.

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

12 years 7 months ago [\#153437](#153437) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153437 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Hi,

With the authorize payment method the customer should be redirect to the thank you page of the plugin.
plugins/hikashoppayment/authorize/authorize_thankyou.php".

Thanks to try to see if this is displayed by using custom code inside.
If it's the displayed page, so you can add a php redirect in order to reach the desired page.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago -  12 years 1 month ago [\#153464](#153464) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153464 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Thank you for your reply.

Could you please be more specific. I am not sure what custom code I need add to that file to see if I can get a thank you page to display. I googled how to do a php redirect and tried to put this:

&lt;?php
/* Redirect browser */
header("Location: [ theos.in/](http://theos.in/)");
/* Make sure that code below does not get executed when we redirect. */
exit;
?&gt;

at the beginning of the file authorize_thankyou.php but that did not work.

Please let me know what custom code to add to that file to try to do a redirect to [ auto.com/index.php/registrationredirect](http://auto.com/index.php/registrationredirect)

Thank you.

Last edit: 12 years 1 month ago by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#153559](#153559) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153559 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Hello,
The solution will probably be to use that kind of custom code : Code:

&lt;?php $link = "www.MYSITE.com"; $app = JFactory::getApplication(); $app-&gt;redirect($link); ?&gt;

Note that you'll have to replace **[ www.MYSITE.com](http://www.MYSITE.com)** by your redirection link.

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago [\#153583](#153583) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153583 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

Thank you Mohamed. No that did not work. Just so that I had this right: I put that code in the file authorize_thankyou.php. On testing, I am still just redirected back to the home page.

What else to try?

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

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

Less More

- Posts: 54
- Thank you received: 3
-
-

12 years 7 months ago [\#153597](#153597) by [dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")  Replied by *[dbarnhart863](/forum/user/22676-dbarnhart863 "View dbarnhart863's Profile")* on topic *[Finish button on checkout not redirecting](/forum/27-checkout/866628-finish-button-on-checkout-not-redirecting?start=20#153597 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.5  Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.  Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word &quot;Finish&quot; on the button is not visible. I do not want the currency italicized. Please see pic.  My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.  Thanks for the help.")*

OK I have it working ok. Not sure if this is working correctly according to how it 'should' work but here is what I did:

Since I have switched to using the AIM method of authorize, I added the code to force the user to log out after checkout. I put

&lt;?php
$this-&gt;after_end();
$app = JFactory::getApplication();
$app-&gt;logout( $this-&gt;order-&gt;customer-&gt;user_cms_id );
?&gt;

in the file after_end in the view checkout.

I kept the Force user logout on group update to No under the Hikashop group plugin. I am using the default Hikashop thank you page so there is not a redirect URL in my Authorize.net plugin.

Now it works with both a user who is logged in and renewing their registration or a new user who is purchasing for the first time. After the user finishes and pays they are directed to Hikashop's thank you page and then automatically (after about a couple seconds) redirected to the home page and they are logged out.

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

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