Payment plugin issue when Address selector <>Popup

  • Posts: 5
  • Thank you received: 1
10 years 10 months ago #166061


-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.5.15
-- Browser(s) name and version -- : IE11, FF31.0, Chrome 36.0.1985.125

Hi,

During checkout strange things happen. There are 3 checkout steps. The final step (payment) being an iDeal payment-plugin from JDiDeal.

However, this third step (showing the iDeal bank selector and button to continue to the selected bank for payment) is only shown correctly if I select Popup (via System-Configuration-Checkout-Address selector).

As soon as I change this setting from Popup to Dropdown or List, the final payment step is not showing the payment plugin, but a simple text (Thank you for your purchase). The order is being generated (status=created), the customer-data is stored, e-mail notifications are being send and that's it.

I've read several items in the forum, but i cannot find the solution there. I've tried setting the Auto submit shipping and payment methods selection to NO (and other tips) as mentioned on this page: www.hikashop.com/forum/checkout/869877-p...wanted-checkout.html

Unfortunately this didn't help either. Only setting the address selector to Popup is a solution. And that's not the setting I prefer (as it should be List on this shop).

I hope someone can help. Thanks!

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
10 years 10 months ago #166145

Hi,

Can you provide a screenshot of the Checkout tab of the configuration so that we can see all your settings relative to the checkout please ?

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

  • Posts: 5
  • Thank you received: 1
10 years 10 months ago #166157

Hi Nicolas,

Here are several screenshots (Checkout tab and visuals of the frontend, to illustrate what happens when I change the address selector to List instead of Popup).

Attachments:

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
10 years 9 months ago #172265

Hi,

I saw that your thread do not have an answer ; which is strange.
The problem is coming from the checkout algorithm ; when you edit an address with the new system (list / dropdown) the javascript can ask for a page re-submission if some conditions are fulfilled (like the "shipping" in the same page).
Because of this submission and that the checkout algorithm do not see any modification, the algorithm think that it should go to the next step (and because it is already the next step, the order is process).

For the moment, I think you can use the address in list/dropdown mode if you put the address selection in a different step than the shipping selection. If the address selector does not have a reason to refresh the page it shouldn't do this re-submission.

Nicolas already ask me to think about a refactoring of the checkout algorithm in order to add some "ajax" features like I did in HikaMarket ; after the HikaMarket 1.5.0, I will help the HikaShop team to work on HikaShop 3.0 with a lot of new big features.
The new checkout system should not have this trouble anymore and I will put a note in the TODO list task in order to not forget to check your case.

Kind regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum