<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')) . zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
Printable View
<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')) . zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
Right, that's the real answer to the problem! :-)
Not working for me...
I changed
toCode:<div align="center"><form target="_blank" name="login" action="' . $login_as_customer . '" method="post">
<input type="hidden" name="firstname" id="firstname" value="' . $c_firstname . '">
<input type="hidden" name="lastname" id="lastname" value="' . $c_lastname . '">
<input type="hidden" name="email_addr" id="login-email-address" value="' . $email_address . '">
<input type="hidden" name="password" id="login-password" value="' . $pass . '">
<input type="image" src="' . $place_order_button . '">
</form></div>
But still get the same problem...Code:<div align="center"><form target="_blank" name="login" action="' . $login_as_customer . '" method="post">
<input type="hidden" name="firstname" id="firstname" value="' . $c_firstname . '">
<input type="hidden" name="lastname" id="lastname" value="' . $c_lastname . '">
<input type="hidden" name="email_addr" id="login-email-address" value="' . $email_address . '">
<input type="hidden" name="password" id="login-password" value="' . $pass . '">
<input type="hidden" name="securityToken" id="securityToken" value="' . $_SESSION['securityToken'] . '">
<input type="image" src="' . $place_order_button . '">
</form></div>
Any idea?
sanji
This is wonderful. Thank you very much for your help.:yes:
Anybody know if are there any contribution i can modify existences in stock whitout have to edit de article like an erp.
Happy new year to every body.
As I said for me, this is NOT working, so if you have any suggestion...
sanji
I have done this in my new version1.2 which should be availble from the downloads soon. I have it available for download off of the demo site located at http://www.vmitek.com/zencart/
SSL Demo Site located at http://www.virgintattoos.com/zencart/
Thanks for the suggestion, I was planning on doing that, just wanted to do some testing before I released it.
Sanji what version on ZenCart are you running? I have yet to test with the latest 1.3.8, but I made some mods that might help you if you are running 1.3.7. I hope to test and tweak for 1.3.8 soon.
My latest version 1.2 should be available for download soon, but you can download it at the demo site http://www.vmitek.com/zencart/
Please let me know if this works for you.
Hi vmmeup,
I am running the latest 1.3.8a. Obviously, the problem comes from the $_SESSION['securityToken'] information, but I couldn't pass it to the login page so far - and that's why it is not working directly, I get the Security Error message. If I just click again on "login" - the password is already filled in - then the connection proceeds...
sanji
If any has trieds this on a server with register globals = 0ff please let me know I have no control over this with my provider and cannot test but would like to code it to work if they are on or off. If it doesn't work any guidance as to how I can change the code to allow for it to work woth them off would be appreciated as well.
Thanks,
Sid
Sanji,
I think I can fix that.....I'm in the process of setting up a 1.3.8 site so I will tweak to get it to work.....
Thanks,
Sid