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

#   Bpost shipping manager stuck in loop

##

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

Less More

- Posts: 17
- Thank you received: 0
-
-

10 years 2 months ago [\#247833](#247833) by [Bram](/forum/user/39943-bram "View Bram's Profile")  *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#247833 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")* was created by *[Bram](/forum/user/39943-bram "View Bram's Profile")*

-- url of the page with the problem -- : [ www.hiphey.be](http://www.hiphey.be)
-- HikaShop version -- : 3.6.2
-- Joomla version -- : 3.5

Hello guys,

Me again.

The bpost shipping manager is stuck in a loop.

I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.

Do you know a way to fix this?
Maybe a hikashop option that i have used wrongly?

Kind regards

Bram

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#247892](#247892) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#247892 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Hi,

There are some checks in the function which display the popup
[ github.com/HikaShop/hikashopshipping-bpo...bpost/bpost.php#L275](https://github.com/HikaShop/hikashopshipping-bpost/blob/master/plg_hikashopshipping_bpost/bpost.php#L275)

The first one is to only display the popup when "bpost" is selected.
Second one is to not display two popups in the same page.
The third is not check the cache to not re-display the popup if nothing changed.

Unfortunately, the function which update the cache and the function which display the popup can be called in the same "page" and they do not use the same container for the cache.

For the line 224
[ github.com/HikaShop/hikashopshipping-bpo...bpost/bpost.php#L224](https://github.com/HikaShop/hikashopshipping-bpost/blob/master/plg_hikashopshipping_bpost/bpost.php#L224)
Please replace Code:

$cartClass-&gt;save($cartObj);

By Code:

$cartClass-&gt;save($cartObj); $cart-&gt;cart_params-&gt;bpost = $cartObj-&gt;cart_params-&gt;bpost;

I guess that it should fix your issue.
Let's us know if you have any further problem with the plugin so we can validate the patch and submit it in the github repository.

Regards,
Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

10 years 2 months ago [\#247940](#247940) by [Bram](/forum/user/39943-bram "View Bram's Profile")  Replied by *[Bram](/forum/user/39943-bram "View Bram's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#247940 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Hello Jerome,

That stopped the loop but everything from there on stays in that popup window.
Is there a way to close it when you are done with the shipping manager and continue in the main window?
see screenshot
[ ![Schermafbeelding&#95;2016-08-18&#95;om&#95;19&#95;40&#95;09.png](/forum/attachment/33095) ](/forum/attachment/33095 "...m&#95;19&#95;40&#95;09.png")

Thanks for all the help.

Kind regards

Bram

- [ ![Schermafbeelding&#95;2016-08-18&#95;om&#95;19&#95;40&#95;09.png](/forum/attachment/33095) ](/forum/attachment/33095 "...m&#95;19&#95;40&#95;09.png") [ ](/forum/attachment/33095?download=1 "...m&#95;19&#95;40&#95;09.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#248032](#248032) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#248032 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Hi,

Without having a look at your website with a test account, it will be difficult to say.
There are some code in the plugin in order to handle the popup closure ; unfortunately such kind of script is hard manage.
[ github.com/HikaShop/hikashopshipping-bpo...bpost/bpost.php#L209](https://github.com/HikaShop/hikashopshipping-bpost/blob/master/plg_hikashopshipping_bpost/bpost.php#L209)
You can see in the plugin that there is a function to get the bpost return and try to close the bpost popup.
If there is a javascript error ; if there is no access to the parent ; if *something* ; it is possible that the popup do not close and you will get the checkout directly in the popup.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

10 years 2 months ago [\#248314](#248314) by [stef101](/forum/user/42774-stef101 "View stef101's Profile")  Replied by *[stef101](/forum/user/42774-stef101 "View stef101's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#248314 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Hi Jerome, Nicolas, Bram,

I am also using the Bpost Shiping manager and I have the same problem as Bram describes. I get an error message (which is normal in my case because my credentials for BPOST are not ready yet) When I click return to webshop the rest of the sequence is displayed in the popup window and that makes it difficult.

I can provide you credentials so that you can check my webshop which is [ www.webenwielshop.be](http://www.webenwielshop.be).

Where can I send the credentials ?

- [ ![bpost.jpg](/forum/attachment/33161) ](/forum/attachment/33161 "bpost.jpg") [ ](/forum/attachment/33161?download=1 "bpost.jpg")

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

10 years 2 months ago -  10 years 2 months ago [\#248318](#248318) by [Bram](/forum/user/39943-bram "View Bram's Profile")  Replied by *[Bram](/forum/user/39943-bram "View Bram's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#248318 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Jerome I have made a login for you.

Part of the message is hidden for the guests. Please log in or register to see it.

How can i make things private so only the devs can see the HikaDev password for my site?

Kind regards

Bram

Last edit: 10 years 2 months ago by [Bram](/forum/user/39943-bram "View Bram's Profile").

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

10 years 2 months ago -  10 years 2 months ago [\#248350](#248350) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Bpost shipping manager stuck in loop](/forum/28-shipping-methods/886044-bpost-shipping-manager-stuck-in-loop#248350 "-- url of the page with the problem -- :   www.hiphey.be  -- HikaShop version -- : 3.6.2 -- Joomla version -- : 3.5  Hello guys,  Me again.  The bpost shipping manager is stuck in a loop.  I can enter the shipping info in the manager but when all is done it just starts all over again. The information is send correctly to the Bpost site but the customer cant continu the checkout process as they are stuck in the Bpost shipping manager window.  Do you know a way to fix this? Maybe a hikashop option that i have used wrongly?  Kind regards  Bram")*

Hello,

To provide references, you can use your [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form, add a **Url link** to **this** thread to keep the link in your message.
Please, note that for now we just have your **website url** and **login**, but nothing for the **password**.

Awaiting news from you.

Regards.

Last edit: 10 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

[](#top)
