Main menu vanishes after mollie checkout

  • Posts: 259
  • Thank you received: 10
4 years 2 months ago #324068

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.3.22

So i have this bit of an odd problem. Designed a website that that has 2 seperate parts based, on a single joomla installation. 1 site part is targetted towards the nailsalon part, the other towards the hairsalon part. Each "Part" comes with its own main menu. Each menu module is assigned only on pages specifically linked to that website part.

Now here's the problem. The hairsalon part has the shop integrated, and the menu works perfectly and is visible all the way through checkout and payment confirmation on the mollie site. The problem however is after mollie redirects back to the shop side, and displays the message "Thank you for your order, you can now access your order here", the hairsalon main menu is no longer visible.

Now there's an "easy" fix by assigning the "problematic" menu module to "all pages", which instantly shows the hairsalon menu on the payment confirmed screen. The problem with that is, that this also causes that menu to appear on the nailsalon website part where it shouldn't.

Any idea on how to fix that?

also a minor question. During development multiple test orders were made (order number is now up to 20. Is there any way to reset the ordernumber and invoice numbers etc back to zero? (via database manipulation?)

ps: The url mentioned above during ticket creation is the development site which is an exact duplicate of the live site

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 2 months ago #324084

Hi,

As you're using a mollie payment plugin which we didn't develop ourselves, it will be hard to say exactly what to do as we don't know how the plugin works.
The best would be to check with the developer of the plugin first.
However, here is what I can say:
- For payment plugins we develop, the customer usually comes back to the default thank you page with the same menu item than the menu item used on the checkout.
- For payment plugins we develop, there is normally a "return URL" setting in the payment method where you can specify another URL you want to use for the thank you page, and it will override the default one.
- From what you're saying it looks like you didn't enter a return URL in the plugin, and the menu item used on the default thank you URL is not the one from the checkout. This would indicate that when the payment plugin passes the return URL to the payment gateway, it doesn't add in the URL the current menu item id in the Itemid parameter.

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

  • Posts: 259
  • Thank you received: 10
4 years 2 months ago #324138

Nice catch, the return url was indeed the problem. Currently set it to the account menu until i knock up a thank you page.

Any suggestions on this front?

also a minor question. During development multiple test orders were made (order number is now up to 20. Is there any way to reset the ordernumber and invoice numbers etc back to zero? (via database manipulation?)


I'd like to reset both the order/invoice numbers back to zero as the site is live. Otherwise accounting may not be very happy ;)

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 2 months ago #324142

Hi,

Delete the orders in the hikashop_order table and reset the auto_increment to 0 on this table via your PHPMyAdmin and that will be ok.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum