Xshare Posted August 9, 2006 Share Posted August 9, 2006 Hey... my store's worked fine until just recently (yesterday), when suddenly, if you attempt to check out and pay with the creditcard module, it sends you to the login screen. When you try to log in, it doesn't work. You can't log in. it just keeps sending you to the log in screen. I took off the Oscid from the URL and then it let me log in, but I had to start the shopping cart thing over again (the stuff was in my cart, but the order did not go through). I went into checkout_payment.php and commented out the section on "if not logged in, send to log-in page". When I run it now, it says something about shopping cart is empty. It seems that when you try to pay with credit card, it automatically logs you out or something. Does anyone have any idea at where I should look? Link to comment Share on other sites More sharing options...
Xshare Posted August 9, 2006 Author Share Posted August 9, 2006 I can't edit so I wanted to let you know that sometimes it works... and sometimes it doesn't. It's weird. I have no clue what is going on! Link to comment Share on other sites More sharing options...
Xshare Posted August 9, 2006 Author Share Posted August 9, 2006 I really wish you could edit a post on this forum, I keep discovering new things. I realized that the reason that if I comment out that line in the checkout_payment, it tells you that the shopping cart is empty is because for some reason, when you pay with a credit card, you are automatically logged out. Completely. That is why it asks you to log in. And whatever page you are supposed to be forwarded to still has your session ID which is why you are stuck in an endless loop of logging in, as you keep getting logged out and it keeps trying to pay. I'm just using the standard credit-card module. I don't even know where to look. Nothing's changed! Link to comment Share on other sites More sharing options...
Xshare Posted August 9, 2006 Author Share Posted August 9, 2006 Okay, this is getting ridiculous. I really need an edit button. We figured out that this only occurs if the expiry date is BEFORE the current month. So instead of an error message about the expiry date, it logs the person out completely. That's weird, no? Link to comment Share on other sites More sharing options...
Gil_e_n Posted August 9, 2006 Share Posted August 9, 2006 If you enter an invalid number or an unknown number, do you get the same error? Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller Link to comment Share on other sites More sharing options...
Xshare Posted August 11, 2006 Author Share Posted August 11, 2006 If by invalid you mean too short, yes. We figured out that the problem was simply how it called the error. There's something wrong on my site with how the tep_href (link function) works. It's not adding parameters correctly. We can't figure out why. Link to comment Share on other sites More sharing options...
Xshare Posted August 11, 2006 Author Share Posted August 11, 2006 http://www.oscommerce.com/community/contributions,2823 Bugfix for redirects fixed the problem! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.