Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ScottCA (Guest)
ScottCA (Guest)
When going thru the checkout process, and the user clicks the link "Checkout Without Account" it does not link to the SSL link. It stays std. Any ideas?
 
But if the user uses the link to "Login to Account" it does point to the SSL URL.
 
Thanks in advance,
~Scott
 
hyperconx
hyperconx
Scott,
 
Did you ever get a resolve to this. I am seeing the same activity in a brand new install of ViArt Free. Somewhere along the line before entering CC numbers it HAS to send it to the https: location. Maybe a patch is needed.
 
Wil
 
enquries
enquries
Hello,
 
Did you try to check off Customer SSL options
'on user profile page', 'on order profile page' and 'on payment details pages' in the system settings.
 
It seems that it works ok for me with those settings.
 
Thanks,
James
 
ScottCA (Guest)
ScottCA (Guest)
Yes. I checked off both those options, and it does not transfer to the SSL page when inputing the CC #s.
 
~Scott
 
hyperconx
hyperconx
I did a comparison of a 3.1 cart I had versus a 3.2 and it seems that something changed in the 3.2 code that keeps the "Checkout without account" link from going into SSL mode.
 
I also notice that the 3.2 has a few more options to check in the global settings so I would guess there was some considerable work done to these functions.
 
To answer your question yes all of the options were checked.
 
Wil
 
hyperconx
hyperconx
Just did a complete reinstall of the Standard evaluation version under www.testdomain.com/viart and this is the scenario right out of the box. Here goes.
 
Went straight to the admin panel and the global settings. Added the SSL information of https://testdom.securedomain.com. Checked store and neither worked.
 
In admin added the selection for "on user profile page" and saw that the "Open account and check out (Customer)" does work but with wrong path as it was missing the /viart directory.
 
Changed the secure URL to include the /viart/ and the "Open account and check out (Customer)" begins to work properly.
 
However, under no circumstances does the "Check out without creating account" send the user into SSL mode.
 
Followed the "Check out without creating account" link and entered details as if I were a customer. Got all the way past the entry of credit card information without going into secure mode defeating the purpose of SSL.
 
I would guess that if anyone is not experiencing this that it is because they upgraded from a previous version. However, right out of the box this problem is very clear.
 
I hope that the folks at ViArt can look into this soon. I have contacted support.
 
Wil
 
hyperconx
hyperconx
Solved. When you go to the global settings page in the admin panel and you save your settings the SQL row for "secure_order_profile" is being deleted.
 
if ($secure_order_profile) {
$order_info_url = $secure_url . "order_info.php";
} else {
$order_info_url = "order_info.php";
}
 
Because there isn't an entry for secure_order_profile in the va_global_settings table this condition is false and the non-secure URL is being displayed.
 
Solution:
INSERT INTO `va_global_settings` (`setting_type`, `setting_name`, `setting_value`) VALUES ('global', 'secure_order_profile', '1');
 
Only you will have to do this everytime you change someting in the admin page for global settings or until ViArt support fixes this bug.
 
hyperconx
hyperconx
Scott,
 
Here is a permanent solution which will hopefully be added by ViArt in the next bug fixes. Below the commented header in admin/admin_global_settings.php add the code I show below.
 
/*
**************************************************************************
**
***
***
*** ViArt Shop 3.2
***
*** File: admin_global_settings.php
***
*** Built: Fri Jun 15 03:51:57 2007
***
*** http://www.viart.com
***
***
***
**************************************************************************
**
*/
if (!isset($va_name) || !$va_name) {
$va_name = defined("VA_PRODUCT") ? strtolower(VA_PRODUCT) :
"shop";
}
 
What was happening before was that a conditional was failing causing 3 of the 5 checkboxes on the admin screen to not show up. So because they weren't displayed they weren't checked and they were being removed from the va_global_settings table.
 
Wil
 
hyperconx
hyperconx
Just noticed some line wrapping in my copy and paste. That segment of code should be:
 
if (!isset($va_name) || !$va_name) {
$va_name = defined("VA_PRODUCT") ? strtolower(VA_PRODUCT) : "shop";
}
 
Anjula
Anjula
Hello,
 
Actually, some php versions lacked the check of product's version and as a result some of SSL options for a shop were not displayed. After clicking the Update button these options were automatically removed and there was no way to add them via the Admin panel. That is why we have slightly corrected the logic of this check and have issued an appropriate fix.
 
Please download an updated version of the file from here:
http://www.viart.com/downloads/admin_global_settings-3.2.zip
Then extract the file admin_global_settings.php into the 'admin' folder and admin_global_settings.html into the 'templates/admin/' of your shop replacing existing ones. Don't forget to make a backup copy of existing file in case something goes wrong.
 
With regards,
ViArt Support Team