Forums / Upgrading from 1.3.x to 1.3.9 / Login Time Out after entering credit card details?

Login Time Out after entering credit card details?

Locked

Started by harry2cool on 11 Oct 2010, 3:21 AM · Views: 4,231

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
11 Oct 2010, 3:21 AM
#1
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Login Time Out after entering credit card details?

We upgraded from 1.3.8 to 1.3.9f.
For one of our websites have got 3 complaints from different customers stating that they face a ""Login Time Out" problem after they enter their credit card details.

We tested our selves without any issues and also got other orders from this same payment gateway.

However as we got this 3rd similar complaint we have started to look into this.

Probably there could be more complaints and we could be loosing customers.

Anything we could look into ?

Thanks

Harry

11 Oct 2010, 7:17 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

What processor/method?
Linux or win server
any other pertinent info

in the admin > tools > version/server info
Look in the php section for what the value is for max_execution_time

Zen-Venom Get Bitten

11 Oct 2010, 11:09 AM
#3
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Hi Kobra,
We use a custom bank module which processes Visa and Mastercard.

We upgraded to 1.3.9f as well changed servers.

Have been using the same payment module for more than 2 years , also running the same module on other websites without this problem as of now(on the same new server).

Linux server.

What other information can I give ?

11 Oct 2010, 12:55 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

We upgraded to 1.3.9f as well changed servers.
Try removing the module from the admin and install it again.
Ajeh explained why somewhere sometime but I do not remember why this sometimes helps after a move

Zen-Venom Get Bitten

11 Oct 2010, 5:17 PM
#5
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Ok, I did re-intall it, I'll have to wait for the results.
Hope it works :) :)
Thanks

11 Oct 2010, 5:20 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

Ok, I did re-intall it, I'll have to wait for the results.
Wait??? Do a test purchase
Why have a customer have issues

Zen-Venom Get Bitten

11 Oct 2010, 5:21 PM
#7
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

As I told you before, it does not happen with everybody, I have to wait and watch.
My transactions do go through.

11 Oct 2010, 5:25 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

Did you check your php max_execution_time ?

Zen-Venom Get Bitten

11 Oct 2010, 5:28 PM
#9
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

I will get it checked , how much it should ideally be ?

11 Oct 2010, 5:30 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

Long enough that your customers do not have issues????

Zen-Venom Get Bitten

12 Oct 2010, 3:08 AM
#11
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

It's set to 60 on my Zencart and 30 in the main php.ini file on my server.

Should I change anything here ?

12 Oct 2010, 3:25 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Login Time Out after entering credit card details?

harry2cool:

Have been using the same payment module for more than 2 years , also running the same module on other websites without this problem as of now(on the same new server).
What exactly is different in all the files and settings and domain configuration between the site that's allegedly having problems vs those that aren't?

Also, what patterns exist amongst the customers who are having problems? geographic region, browser used, browser settings, cart contents, operating system, dialup vs hi-speed, time of day, using coupons or not, and the list goes on.

Further, if you use a different payment module instead, perhaps one of the built-in ones, does the problem continue? What have you done to ensure that the payment module itself isn't the problem?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Oct 2010, 4:03 AM
#13
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Hi DrByte,
To ensure the integrity of the payment gateway, this same module is installed on 2 of my other websites and it works fine.

I did manage to recreate this error.

============================================
If there is an error on the payment gateway (i.e wrong input of any credit card details) , it returns a blank page

Below is the URL which shows the blank page:

'http://www.xyz.com/index.php?main_page=checkout_payment&PaymentID=2894610210902850&auth=&amt=20.0&ref=&tranid=&trackid=4551221862221&postdate=&result=&udf1=50s%20Cotton%20Dress%20Sh&udf2=harryfashion######################&udf3=9821142770&udf4=Rue%20De%20Palace%20New%20York%20New%20York%20100011%20United%20States&udf5=1&error_message=There%20has%20been%20an%20error%20processing%20you%20credit%20card%20at%20yourbank.com,%20please%20try%20again.

The above page should show the checkout_payment page however it shows a blank page, here is where the problem is.

I guess if the above problem is rectified all the problems can solve.

Please let me know what I can test to correct the above.

12 Oct 2010, 5:11 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Login Time Out after entering credit card details?

Your module is using old-style coding that's not compatible with v1.3.9.
It's passing error messages and long parameters on the URL.
You can't pass long error messages via the URL. You should be using the messageStack to do that.
Further, in addition to error messages, any other parameters which have values longer than 43 characters are also treated as spam or attempts at hackers to exploit old vulnerabilities, and are thus met with a 406 error and a blank page.

You need to update your module to work accordingly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Oct 2010, 6:14 PM
#15
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Hi DrByte,
The long url solved the blank page problem, THANKS.

I found out about the "Time Out" issue, it happens when a customer uses Internet Explorer.

FireFox works fine.

I have given the module for testing, any other fix I can use for this ?

Thanks Again

13 Oct 2010, 2:25 AM
#16
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

I am harry2cool's developer, we have done some research for "Login Time Out" after back from credit card payment holder.
At last, we find out if the zenid remove from the query string, it will show "Login Time Out" message. I know the zenid use to track login user status. But our other two sites can work after remove zenid parameter.
We have checked codes and site configuration, there are no difference.
Can you help us?

13 Oct 2010, 2:38 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Login Time Out after entering credit card details?

The zenid isn't used only to track login user status.
It's actually the PHP session ID.
Without it, PHP can't link up the customer's session to the software, and that is why it can't track the user's login status.

Basically, you have a PHP sessions problem to fix.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Oct 2010, 2:47 AM
#18
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Hi, DrByte

yes, if we remove the zenid from url, the site should be work fine, right?
so our site session has some problem to holder customerid and cart content, right?
I will check site seesion.

Thank you very much!
Jarvis

13 Oct 2010, 2:53 AM
#19
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Login Time Out after entering credit card details?

jarvis_ht2000:

if we remove the zenid from url, the site should be work fine, right?
No, not at all read
DrByte:

Without it, PHP can't link up the customer's session to the software, and that is why it can't track the user's login status.

Zen-Venom Get Bitten

13 Oct 2010, 7:51 PM
#20
jarvis_ht2000 avatar

jarvis_ht2000

New Zenner

Join Date:
Sep 2010
Posts:
9
Plugin Contributions:
0

Re: Login Time Out after entering credit card details?

Yes, I know that.
The zenid can be removed from URL at our two sites, also the sites don't show "Login Out Time" message.
Just one site can not work at this cause. so we very confuse why have these different result, can you give me information for zenid?