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

#   Error too many redirects specifically in checkout

##

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 8 months ago [\#365431](#365431) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365431 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")* was created by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")*

-- HikaShop version -- : 5.1.3
-- Joomla version -- : latest

Hi,

The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions:
1. Pick Belgium as country in the address section
2. Complete the order and cancel in the payment gateway

I talked to Vimexx the server host and they say it's 100% website related
I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs)
I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache...
No result.

What can this possibly be?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwOTA3OS1lcnJvci10b28tbWFueS1yZWRpcmVjdHMtc3BlY2lmaWNhbGx5LWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

1 year 8 months ago [\#365442](#365442) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365442 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")*

Hi,

I tried to reproduce the issue on your website but the problem did not happen.
I did place an order with Belgium as the country of the address and then clicked on "cancel" on the payment gateway.
However, I was properly redirected back to the checkout with the "transaction failed" message at the top :
[ i.imgur.com/VSxf8Sy.png](https://i.imgur.com/VSxf8Sy.png)
So there must be something else.
Are you able to consistently reproduce the problem ?
Could you provide a more precise step by step procedure to reproduce the problem ?

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

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 8 months ago [\#365443](#365443) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  Replied by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")* on topic *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365443 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")*

I tried recording it but the amd software randomly decided to record the wrong screen just now.
so i add a screenshot.
I tested it 2 times, 1 time on phone which somehow went right, and 1 on the pc which gave the eroor.
2 things were strange which makes me know it's gonna happen: on making the guest account it takes 5 seconds for the completion... it then seems to continu as normal but the actual Belgium payment option named "bancontact" doesn't show up (which it did in the phone test) and right after (without clicking anything) it gives the error... so the checkout page takes 5 seconds to load the belgian guest account and 5 seconds to decide to error.

If you wish to login, the login from the emails from last month should still apply.

- [ ![Schermafbeelding2025-01-30104118.png](/forum/attachment/60188) ](/forum/attachment/60188 "...1-30104118.png") [ ](/forum/attachment/60188?download=1 "...1-30104118.png")
- [ ![Schermafbeelding2025-01-30104531.png](/forum/attachment/60189) ](/forum/attachment/60189 "...1-30104531.png") [ ](/forum/attachment/60189?download=1 "...1-30104531.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwOTA3OS1lcnJvci10b28tbWFueS1yZWRpcmVjdHMtc3BlY2lmaWNhbGx5LWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

1 year 8 months ago [\#365445](#365445) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365445 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")*

Hi,

Without being able to analyse the situation when reproducing the issue, it's hard to understand what is happening.

So, from what I understand you're using the plugin from [ github.com/paynl/hikashop-plugin/tree/master](https://github.com/paynl/hikashop-plugin/tree/master)
Is that correct ?
Could the content of the cart generate a different result ? What product do you have in the cart when you're able to reproduce the problem ? What address do you use ? What shipping method is selected ?

If you can provide a video recording, that might help us reproduce the problem.

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

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

Less More

- Posts: 147
- Thank you received: 8
-
-

1 year 8 months ago -  1 year 8 months ago [\#365503](#365503) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  Replied by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")* on topic *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365503 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")*

Send an email with demonstrations, hope you can understand the issue more clearly this way.

Not sure if it's related but it has to do with checkout at least, when i go to customers =&gt; carts i get:
0 Call to undefined function setenv()

Last edit: 1 year 8 months ago by [NicoW](/forum/user/58228-nicow "View NicoW's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwOTA3OS1lcnJvci10b28tbWFueS1yZWRpcmVjdHMtc3BlY2lmaWNhbGx5LWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86281
- Thank you received: 14262
-
-

1 year 8 months ago [\#365506](#365506) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error too many redirects specifically in checkout](/forum/27-checkout/909079-error-too-many-redirects-specifically-in-checkout#365506 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : latest  Hi,  The strangest thing happens, i get too many redirects in the checkout only on 1 of these 2 conditions: 1. Pick Belgium as country in the address section 2. Complete the order and cancel in the payment gateway  I talked to Vimexx the server host and they say it's 100% website related I talked to Pay.nl the peyment gateway and they say it's not on their end (which is kinda logical as i only pick Belgium and the error occurs) I updated all the plugins and joomla, deleted all cache and changed from jch page cache to joomla page cache... No result.  What can this possibly be?")*

Hi,

This might well be linked.
Searching for "setenv" in our code, the only place I can see it is in the MyParcel plugins.
It is used to change the server of the API for Belgium.
This follows the major update we did to the MyParcel plugin to update to the latest version of the SDK:
[ www.hikashop.com/forum/shipping-methods/...-updates/365244.html](https://www.hikashop.com/forum/shipping-methods/909028-myparcel-has-some-changes-since-a-couple-of-months-which-need-plugin-updates/365244.html)
The setenv call is only made for Belgium because for the Netherlands, the default API URL is already set to the Netherlands server.
So it smells like both the error in the backend and the issue on the checkout are related.
And your videos seem to go in that direction too.
Before the redirect loop happens, the payment methods area is updated, and the shipping methods area is empty, probably because it isn't able to load the area following the address being filled.
I think I didn't get the issue because I didn't use a real Belgium address, and so MyParcel skipped it, without triggering the error.

I've published a new version of the MyParcel plugins on our website with a patch for this error. Please download them and install them on your website and try again.

The following user(s) said Thank You: [NicoW](/forum/user/58228-nicow "View NicoW's Profile")

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

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

[](#top)
