Redirect after Checkout is complete

  • Posts: 75
  • Thank you received: 2
10 years 11 months ago #160689

-- url of the page with the problem -- : www.inkacollective.com/testing/consilium/
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3
-- PHP version -- : 5.x

Not sure if this is a Hikashop issue or a sh404sef issue. After I complete an order the page goes to the correct thank you page, however after a second it redirects to a 404 error page. I can actually see the correct thank-you page display on screen but then it is quickly replaced with the other one. Please help, if you can.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #160712

Hello,
And does it works when you try it without your SEF module/options ?

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 2
10 years 11 months ago #160896

Yes, it still redirects to product-listing.html after I turn off sh404sef. I have narrowed the problem down to the payment methods, in the payment methods the option for "cancel URL" is the page that is redirected to. This is not correct as it should stay on the thank you page.

Last edit: 10 years 11 months ago by rodopemu.

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
10 years 11 months ago #160925

Hi,

Then it could mean that the "after_end" view file has been modified via the menu Display>Views to add that redirect in javascript.

Could you copy/paste there the link you have on your browser's address bar just before the redirection to the 404 page ?

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 2
10 years 11 months ago #161028

I cannot copy and paste it, the redirection happens too fast but I have included a screenshot of the page before the redirection. Also, the problem may be the after_end view however the back-end does not show any changes have been made to it.

*update/edit. I removed the url from the "Return URL" field in the Payment Method and that solved the problem. However, what is this field supposed to do, do I need it for anything?

Attachments:
Last edit: 10 years 11 months ago by rodopemu.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 11 months ago #161069

Hi,

Indeed you had to empty that field.
This field is needed if you want a redirection, so in your case you had to let it empty.

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum