Blank Login Screen for Checkout Flow

  • Posts: 1
  • Thank you received: 0
12 years 1 week 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 1 week 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
11 years 7 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: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 7 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
11 years 7 months ago #65516

PM sent.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 7 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
11 years 7 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: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 7 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
11 years 7 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: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 7 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: 11 years 7 months ago by nicolas.

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

  • Posts: 53
  • Thank you received: 2
11 years 7 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.104 seconds
Powered by Kunena Forum