Blank Login Screen for Checkout Flow

  • Posts: 1
  • Thank you received: 0
12 years 7 months ago #47332

hi!

i have a problem regarding the checkout flow.

i have setup the checkout flow to be 2 steps
Login and Payment.

During the checkout, if do Login, there is no problem on the flow.
But if i register, a blank Login page is appearing. (please see attachment)

Also, i need to place a link to the purchased course on Moodle site at the end of the checkout.

Many thanks for the help that you can give me!

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
12 years 7 months ago #47361

Hi ampsnvoltz,

I tried the same configuration than you. On my end the login step is skipped when the user is already logged in.

Do you have the last release of HikaShop ?

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

  • Posts: 53
  • Thank you received: 2
12 years 2 months ago #65315

I have this problem too, login step not skipped if logged in and I have the latest version installed.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 2 months ago #65515

Can you give a link and a test user account to your website so that we can see that ?

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

  • Posts: 53
  • Thank you received: 2
12 years 2 months ago #65516

PM sent.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 2 months ago #65720

What is your checkout workflow ?
Can you also make sure that the user synchronization plugin of HikaShop is published via the plugins manager of joomla ?

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

  • Posts: 53
  • Thank you received: 2
12 years 2 months ago #65868

Cart/Shipping is 1
Login is 2
Payment is 3
End is 4

The user synchronization plugin is published.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 2 months ago #66151

Mmm. I don't see why that would happen. Could you do a screenshot of the checkout tab of the configuration ?

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

  • Posts: 53
  • Thank you received: 2
12 years 2 months ago #66158

Here you go:



The login info also works on the backend FYI.

Thanks

Attachments:

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 2 months ago #66408

Hi,

I found the problem.

You need to change the line:
if(isset($ck_submital[$unique_id])){

to:
static $done = false;
if(!$done && isset($ck_submital[$unique_id])){

and add the line:
$done=true;

after the line:
$_SESSION = $ck_submital;

in the file components/com_hikashop/controllers/checkout.php and that will make it work properly.

Last edit: 12 years 2 months ago by nicolas.

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

  • Posts: 53
  • Thank you received: 2
12 years 2 months ago #66428

Thank you! That solved the problem.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum