Issue on url redirection after cancelation

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 21 hours ago #368810

-- HikaShop version -- : 6.1
-- Joomla version -- : 5.3.x
-- PHP version -- : 8.4.x

Hi!

When I make an order and start the payment process of paying with paypal - then cancel it and click the link "go back to website" on the paypal popup - the redirect url is like: "/task-cancel_order/" - but this address doesn't exist, so I get a 404. How to fix this?

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

  • Posts: 84497
  • Thank you received: 13739
  • MODERATOR
1 week 18 hours ago #368824

Hi

The "task-cancel_order" part of the cancel button has been the same in HikaShop for 15 years.
So the problem is likely not that this URL is wrong.
When you click on that URL, HikaShop will first cancel the order and then redirect you back to the checkout.
So, I dont see a reason for a 404 at this point.
However, if you have the "clean cart when order is" setting set to "created" in the HikaShop configuration page, then the cart will already be cleared and in this case, the checkout will redirect you to the "URL where to redirect when the cart is empty" that you configured in the HikaShop configuration:
www.hikashop.com/support/documentation/5...onfig.html#main_cart
And if that URL is wrong in some way or not accessible to the user because of access rights, or language restriction or something else, he will get a 404.
So the most likely cause here is that what is entered in the "URL where to redirect when the cart is empty" setting is wrong. That's the first thing I would recommend checking.

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 15 hours ago #368831

The mentioned field value contains a typical URL, like www.domain.de . It's the base domain.

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

  • Posts: 84497
  • Thank you received: 13739
  • MODERATOR
1 week 10 hours ago #368833

Hi,

Then, can you give more information on the issue, please ?
What is the exact URL on the page where you see the 404 error (not the URL of the button) ?
What is the exact error message you see ? Could you maybe provide a screenshot of that page ?

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

Time to create page: 0.058 seconds
Powered by Kunena Forum