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

#   Issue on url redirection after cancelation

##

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

Less More

- Posts: 105
- Thank you received: 8
-

1 year 1 month ago [\#368810](#368810) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  *[Issue on url redirection after cancelation](/forum/29-payment-methods/909764-issue-on-url-redirection-after-cancelation#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 &quot;go back to website&quot; on the paypal popup - the redirect url is like: &quot;/task-cancel&#95;order/&quot; - but this address doesn't exist, so I get a 404. How to fix this?")* was created by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk3NjQtaXNzdWUtb24tdXJsLXJlZGlyZWN0aW9uLWFmdGVyLWNhbmNlbGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 1 month ago [\#368824](#368824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue on url redirection after cancelation](/forum/29-payment-methods/909764-issue-on-url-redirection-after-cancelation#368824 "-- 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 &quot;go back to website&quot; on the paypal popup - the redirect url is like: &quot;/task-cancel&#95;order/&quot; - but this address doesn't exist, so I get a 404. How to fix this?")*

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](https://www.hikashop.com/support/documentation/54-hikashop-config.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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk3NjQtaXNzdWUtb24tdXJsLXJlZGlyZWN0aW9uLWFmdGVyLWNhbmNlbGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 105
- Thank you received: 8
-

1 year 1 month ago [\#368831](#368831) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  Replied by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")* on topic *[Issue on url redirection after cancelation](/forum/29-payment-methods/909764-issue-on-url-redirection-after-cancelation#368831 "-- 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 &quot;go back to website&quot; on the paypal popup - the redirect url is like: &quot;/task-cancel&#95;order/&quot; - but this address doesn't exist, so I get a 404. How to fix this?")*

The mentioned field value contains a typical URL, like [ www.domain.de](https://www.domain.de). It's the base domain.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk3NjQtaXNzdWUtb24tdXJsLXJlZGlyZWN0aW9uLWFmdGVyLWNhbmNlbGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 1 month ago [\#368833](#368833) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue on url redirection after cancelation](/forum/29-payment-methods/909764-issue-on-url-redirection-after-cancelation#368833 "-- 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 &quot;go back to website&quot; on the paypal popup - the redirect url is like: &quot;/task-cancel&#95;order/&quot; - but this address doesn't exist, so I get a 404. How to fix this?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDk3NjQtaXNzdWUtb24tdXJsLXJlZGlyZWN0aW9uLWFmdGVyLWNhbmNlbGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.062 seconds

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