- Posts: 75
- Thank you received: 2
Redirect after Checkout is complete
12 years 5 months ago #160689
by rodopemu
Redirect after Checkout is complete was created by rodopemu
-- 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.
-- 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.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 5 months ago #160712
by Mohamed Thelji
Replied by Mohamed Thelji on topic Redirect after Checkout is complete
Hello,
And does it works when you try it without your SEF module/options ?
And does it works when you try it without your SEF module/options ?
Please Log in or Create an account to join the conversation.
12 years 5 months ago - 12 years 5 months ago #160896
by rodopemu
Replied by rodopemu on topic Redirect after Checkout is complete
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: 12 years 5 months ago by rodopemu.
Please Log in or Create an account to join the conversation.
12 years 5 months ago #160925
by nicolas
Replied by nicolas on topic Redirect after Checkout is complete
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 ?
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.
12 years 5 months ago - 12 years 5 months ago #161028
by rodopemu
Replied by rodopemu on topic Redirect after Checkout is complete
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?
*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?
Last edit: 12 years 5 months ago by rodopemu.
Please Log in or Create an account to join the conversation.
12 years 5 months ago #161069
by Xavier
Replied by Xavier on topic Redirect after Checkout is complete
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.
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.063 seconds