during the checkout the step payment method must be clicked twice ?

  • Posts: 49
  • Thank you received: 1
7 years 7 months ago #251550

-- url of the page with the problem -- : www.zebra-design.be
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m

Dear,

during the checkout the step payment method must be clicked twice ?

the only difference I see is in the url
www.zebra-design.be/index.php/shop/meube...out/task-step/step-4
second click
www.zebra-design.be/index.php/shop/meube...out/task-step/step-5
please see attachments.

What can I do to avoid this second click please ?

TIA

Regards,
Thierry

Attachments:

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
7 years 7 months ago #251560

Hi,

Please turn on the "auto select shipping and payment methods" setting of the HikaShop configuration and you won't have that behavior.

The following user(s) said Thank You: sindb

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

  • Posts: 49
  • Thank you received: 1
7 years 7 months ago #251611

Dear,

I have turned on Auto select default shipping and payment methods but now I get an error page ?
please see attachment 1

Is there another parameter which isn't correct ?
please see attachment 2

TIA

Regards,
Thierry

Attachments:
Last edit: 7 years 7 months ago by sindb.

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

  • Posts: 49
  • Thank you received: 1
7 years 7 months ago #251668

Very strange.

Without doing something I get now with the first click
www.zebra-design.be/index.php/mijn-accou...kout/checkout/step-3
and with the second click
www.zebra-design.be/index.php/mijn-accou...out/task-step/step-4

twice the same page only the url adds /task-step/ ?

Anyone an idea please ?

TIA

Regards,
Thierry

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

  • Posts: 4546
  • Thank you received: 613
  • MODERATOR
7 years 7 months ago #251638

Hello,

Strange, can you try then to switch off the option to see if this issue remains ?
Because I don't really understand the link between this option and this error...

Second test to proceed, can you try to make some tests WITH the default joomla template like Protostar ?
Does the json error remains with Protostar template ?
Come back to us, we detailed report.

Awaiting news from you.

Regards

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

  • Posts: 49
  • Thank you received: 1
7 years 7 months ago #251703

Dear,

I have switched off the option and tried this with two different templates (also protostar - Default).
I have also tried with 3 payments methods and only one payment method but this issue remains :(
Strange that I don't have this error page anymore and it is always now with /task-step/ in the url.

if i choose the option MultiSafepay VISA then I come to this step
www.zebra-design.be/index.php/mijn-accou...out/task-step/step-3
I click to go to the following step: pay via VISA, then I get this page
www.zebra-design.be/index.php/mijn-accou...out/task-step/step-4
if I click again I get this page
testpay.multisafepay.com/pay/external-de...irectmerchantdeposit

if i choose the option MultiSafepay PayPal then I come to this step
zebra-design.be/index.php/mijn-account/checkout/checkout/task-step/step-3
I click to go to the following step: pay via PayPal, then I get this page
zebra-design.be/index.php/mijn-account/checkout/checkout/task-step/step-4
if I click again I get this page
testpay.multisafepay.com/pay/external/?type=directmerchantdeposit&reset-gateway=1

if i choose the option MultiSafepay MisterCash then I come to this step
zebra-design.be/index.php/mijn-account/checkout/checkout/task-step/step-3
I click to go to the following step to pay via MisterCash, then I get this page
zebra-design.be/index.php/mijn-account/checkout/checkout/task-step/step-4
if I click again I get this page
testpay.multisafepay.com/pay/external/?type=directmerchantdeposit&reset-gateway=1

Strange ?

Is there something else I can try to test this please ?

Regards,
Thierry

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
7 years 7 months ago #251759

Hi,

You have to have the auto select and auto submit options turned on if you don't want to have to click twice on the finish link as I said

If you have a problem when these options are on, please provide more details of what happens when that's the problem occurs.

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

  • Posts: 49
  • Thank you received: 1
7 years 7 months ago #251827

Dear,

both options are on (see attachment) but it stays the same, now I have after second click this error page again ?
(see attachment)

I don't understand ?

TIA

Regards,
Thierry

Attachments:

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
7 years 6 months ago #251887

Hi,

Could you try again with the debug mode and the error reporting settings of the Joomla configuration activated ?
It should provide more information with that error message which should help us understand what's going on as that's not an error message coming from HikaShop.

The following user(s) said Thank You: sindb

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #251950

I set the debug mode on but I don't see any debug messages.

Regards,
Thierry

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

  • Posts: 26024
  • Thank you received: 4005
  • MODERATOR
7 years 6 months ago #251956

Hi,

So can you please try the second part of the Nicolas request ?

Could you try again with the debug mode and the error reporting settings of the Joomla configuration activated ?

Thanks to the display of the error reporting you should be able to see the PHP errors directly in the page.
If you still cannot see the error message in the page ; you will have to take a look directly in the PHP error log in your server.

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.

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252173

this is what I get om my site:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemHikashopgeolocation has a deprecated constructor in /home/users/zebrgftp/zebra-design.be/plugins/system/hikashopgeolocation/hikashopgeolocation.php on line 11

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemkSecure has a deprecated constructor in /home/users/zebrgftp/zebra-design.be/plugins/system/ksecure/ksecure.php on line 12

Thanks for your help.

Regards,
Thierry

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

  • Posts: 4546
  • Thank you received: 613
  • MODERATOR
7 years 6 months ago #252245

Hello,

First point : Your Joomla error reporting may not be set in order to display this kind of type error.
So, go in System dropdown, and select Global Configuration, then in Server tab, see this screenshot :



Second point : This function is depracted only for your website, from our side that was already corrected, conclusion ?
For a reason or another when you updated your HikaShop version, the plugin file wasn't updated, this file is locked to written, specific configuration from you or from your localhost, I can't say...
In order to correct it, you must updated your Geolocation plugin in order to correct this.

Hope this will help you.

Regards

Attachments:
Last edit: 7 years 6 months ago by Philip.
The following user(s) said Thank You: sindb

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252255

Dear,

1/ how can I update my Geolocation plugin ?

2/ so I can conclude that these error reporting hasn't anything to do with my problem
so why must I click twice on the payment method to come to the next step ?

I have taken a printscreen of my 7 steps, please see the attachments.

I choose PayPal as payment method (see click4_onshipmentmethod.png)
I get the next page (see click5_onpaymentmethodPayPal.png)

FYI: shipping and payment auto submit is set to 'yes' I tried also with this set on No but this issue remains
twice a page where I must choose the payment method ?

TIA

Regards,
Thierry

Last edit: 7 years 6 months ago by sindb.

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252273

The key issue is, if a payment is selected that is not the defaul one, the checkout does not advance (returns to the payment selection page).

Thanks for helping me out with this.

Regards,
Thierry

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
7 years 6 months ago #252264

Hi,

1. You would first have to fix the directory and files permissions in your plugins folder via FTP and then do an install of HikaShop again on top of your current HikaShop and that would update the plugin.

2. But yes, these error messages are not related to your question. So it doesn't matter.

3. As I said, to solve that issue with the payment having to be submitted twice, you need to turn on the auto select option.
So please make sure that it is the case.
Regarding the error message you had with the json parsing, that's not an error from HikaShop. I asked you to turn on the debug and error reporting so that you could see a better error message ON that error page. Don't you see a difference ? Do you still have the same error message ?
What if you disable the system plugins one by one via the Joomla plugins manager and try to checkout each time ? Maybe that will allow you to pinpoint one plugin which is causing the problem if it comes from a plugin. Or maybe it is related to the template ? What if you try with the default template of Joomla ?

The following user(s) said Thank You: sindb

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252334

Dear Nicolas,

1. I installed Hikashop again via FTP and I turn on the debug and error reporting, now I have only one error line
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemHikashopgeolocation has a deprecated constructor in /home/users/zebrgftp/zebra-design.be/plugins/system/hikashopgeolocation/hikashopgeolocation.php on line 11

No idea why this isn't gone ?

2. I have disabled Hikashop Geolocation Plugin because according to me I don't need this.

3. I have turn on the auto select option (see attachment)
I have only one error line (see above)

What if you disable the system plugins one by one via the Joomla plugins manager and try to checkout each time
I tried to do this but couldn't test ? which plugins can I disable ? (see attachment for the plugins who are enabled)

Or maybe it is related to the template ? What if you try with the default template of Joomla ?
I tried another template but no difference, this issue remains

Thanks for your help.

Regards,
Thierry

Attachments:
Last edit: 7 years 6 months ago by sindb.

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252357

Dear,

I have set all the Hikashop plugins to disabled exept these 4 to be able to test:

  1. HikaShop collect on delivery payment plugin
  2. HikaShop Paypal payment plugin
  3. HikaShop manual shipping plugin
  4. HikaShop user synchronization plugin
if I choose the option which isn't selected for Payment Method then I have to click twice to get one step further.

Does this rings a bell with someone please ?
I have no idea what I can do more to test ?

FYI: if I have multiple shipment methods then I can choose the option which isn't selected without any problems.

TIA

Regards,
Thierry

Last edit: 7 years 6 months ago by sindb.

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

  • Posts: 1119
  • Thank you received: 114
7 years 6 months ago #252364

Hi,

Looking in your picture attached you have NOT enabled "auto submit shipping and payment methods selection to YES"

So as Nicolas said you need to have enabled them both. Set it to YES and it should work...

Hope that helps.

Thanks

Last edit: 7 years 6 months ago by kyratn.

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

  • Posts: 49
  • Thank you received: 1
7 years 6 months ago #252373

Dear Kyratn,

with this setting on YES and I am on the step of chosing Shipment method
and I choose a Shipment method then automatically I come to this page
www.zebra-design.be/index.php/mijn-accou...hop_shipping_methods
see attachment: Payment method choose the payment method which is not selected.png

then I choose the payment method which is not selected and also automatically I come to this page
2/ www.zebra-design.be/index.php/mijn-accou...shop_payment_methods
see attachment: Payment method chosen Collect on delivery.png

if I click then on Next (the previous chosen Payment method is now the selected one) then I come to the page
www.zebra-design.be/index.php/mijn-accou...out/task-step/step-4
which is the page where I should be without clicking on Next

TIA

Regards,
Thierry

Attachments:
Last edit: 7 years 6 months ago by sindb.

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

Time to create page: 0.119 seconds
Powered by Kunena Forum