Guest Posted July 2, 2009 Posted July 2, 2009 Please help! I hired someone to build an e-commerce site for me. I just launched it less than 2 weeks ago. Everything worked great (Customer - add to cart, checkout, enter credit card info, confirm order; Me - receive order invoice, see exactly what was purchased, log into usaepay payment gateway to confirm payment was successful, email confirmation receipt to customer, ship package) until I purchased an SSL Certificate from my hosting company. My hosting company installed it for me, & the person I hired was supposed to do the rest. To make a long story short, the person I hired is out-of-town until next week & I am experiencing major problems. When a customer creates an account, adds product(s) to their cart, enters their credit card info, & click's 'Continue', they are sent back to the login page. It is a continuous cycle. They frustratingly keep logging-in to their account, clicking on their cart, & checking out again, understandably believing it was unsuccessful. Unbeknownst to them, their credit card is charged each time. The worst part is, that I don't know what exactly they ordered or if anything was ordered in the first place. In admin - when I click on 'Customers' & then 'Orders', orders do not show up, nor does it subtract anything from my inventory quantities. I am forced to frequently log-in to my payment gateway, I see multiple charges from the same customer for the same amount. I quickly void all but one transaction, I have no idea what they ordered, I have to contact them & ask exactly what they ordered (extremely unprofessional & embarrassing). I am absolutely desperate right now. I only have the average persons' knowledge of computers, & nothing more. Any help would be sincerely appreciated. Thanks in advance
♥ecartz Posted July 2, 2009 Posted July 2, 2009 In the short run, I would try going to the admin and try turning on Force Cookie Usage (set to True). That might fix the immediate problem. If that doesn't help, could you post the following from the file includes/configure.php : define('HTTP_SERVER', 'http://localhost'); define('HTTPS_SERVER', 'http://localhost'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); define('HTTP_COOKIE_PATH', '/stock/'); define('HTTPS_COOKIE_PATH', '/stock/'); define('DIR_WS_HTTP_CATALOG', '/stock/'); define('DIR_WS_HTTPS_CATALOG', '/stock/'); Always back up before making changes.
Guest Posted July 2, 2009 Posted July 2, 2009 In the short run, I would try going to the admin and try turning on Force Cookie Usage (set to True). That might fix the immediate problem. If that doesn't help, could you post the following from the file includes/configure.php : define('HTTP_SERVER', 'http://localhost'); define('HTTPS_SERVER', 'http://localhost'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); define('HTTP_COOKIE_PATH', '/stock/'); define('HTTPS_COOKIE_PATH', '/stock/'); define('DIR_WS_HTTP_CATALOG', '/stock/'); define('DIR_WS_HTTPS_CATALOG', '/stock/'); I turned on the 'Force Cookie Usage', but now it won't let you login. When you click login, it takes you to -catalog/cookie_usage.php & says your browser has cookies disabled. Cookies are in fact enabled. Here is the following info: <?php define('HTTP_SERVER', 'http://www.xxxxxxxxxxxxxxxxxxx.com'); define('HTTPS_SERVER', 'https://secure.xxxxxxxxxxxxxxxxxxx.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx); define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/');
playcraft Posted July 2, 2009 Posted July 2, 2009 I turned on the 'Force Cookie Usage', but now it won't let you login. When you click login, it takes you to -catalog/cookie_usage.php & says your browser has cookies disabled. Cookies are in fact enabled. Here is the following info: <?php define('HTTP_SERVER', 'http://www.xxxxxxxxxxxxxxxxxxx.com'); define('HTTPS_SERVER', 'https://secure.xxxxxxxxxxxxxxxxxxx.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx); define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Try changing define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx.com'); to equal define('HTTPS_SERVER', 'https://secure.xxxxxxxxxxxxxxxxxxx.com');
Guest Posted July 2, 2009 Posted July 2, 2009 Try changing define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxxxxxxxxxxxxx.com'); to equal define('HTTPS_SERVER', 'https://secure.xxxxxxxxxxxxxxxxxxx.com'); I changed it but it didn't help.
germ Posted July 2, 2009 Posted July 2, 2009 A You can't set "Force Cookie Use" to true when you use shared SSL so be sure that is FALSE B Try this for the SSL cookie domain. define('HTTPS_COOKIE_DOMAIN', '.secure.xxxxxxxxxxxxxxxxxxx.com'); Shared SSL and osC can be a real P.I.T.A. sometimes. :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted July 2, 2009 Posted July 2, 2009 A You can't set "Force Cookie Use" to true when you use shared SSL so be sure that is FALSE B Try this for the SSL cookie domain. define('HTTPS_COOKIE_DOMAIN', '.secure.xxxxxxxxxxxxxxxxxxx.com'); Shared SSL and osC can be a real P.I.T.A. sometimes. :blush: Germ, thanks! It fixed everything! You have no idea how much I appreciate your help. Have a great July 4th.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.