Forums / Addon Payment Modules / MIGS time out issue - can somebody help

MIGS time out issue - can somebody help

Results 1 to 9 of 9
01 Jul 2010, 04:21
#1
sportrecovery avatar

sportrecovery

New Zenner

Join Date:
Jan 2007
Posts:
33
Plugin Contributions:
0

MIGS time out issue - can somebody help

I use the Migs Mastercard module on my site with Bendigo bank. I've had this for 3 years now working mostly fine.
Recently (and this did happen a few times awhile ago) some transactions are completed with money sent to my account but the customer gets a timeout error when being re-directed to the site. The order is not completed but I have their money.
It doesn't happen to everybody. In fact its a small but very frustrating handful.
The migs support crew say the transaction was completed and correct code sent back to my site.
My host says its the bank or the software.
Could it be the software?
I use version 1.3.6.

Any help would be appreciated.
02 Jul 2010, 06:43
#2
sportrecovery avatar

sportrecovery

New Zenner

Join Date:
Jan 2007
Posts:
33
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

Update.


It appears at this point that somehow the browser may be losing the session cookie, and so we’re getting the time_out page which actually means the session is empty.

Has anyone else seen their zen sessions getting lost?
19 May 2011, 04:25
#3
etrader avatar

etrader

New Zenner

Join Date:
Dec 2005
Posts:
62
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

There seems to be a bug in the MIGS payment module when using the server hosted option. When a customer's credit card is declined, then re-entered with the correct details, the session is lost. Therefore, the customer's credit card is processed, but no order details show up in zen cart.
24 May 2011, 03:21
#4
sportrecovery avatar

sportrecovery

New Zenner

Join Date:
Jan 2007
Posts:
33
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

Thanks for that info, has anybody fixed this? Is it an easy fix?
03 Jan 2015, 11:57
#5
wayno avatar

wayno

New Zenner

Join Date:
Sep 2013
Posts:
11
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

sportrecovery:

Thanks for that info, has anybody fixed this? Is it an easy fix?

Hi guys,

Just wanted to bump this question up to the top again. Has anybody found a fix to this problem. I have this issue too and had it happen again today frustratingly. Any help much appreciated. Cheers
03 Jan 2015, 15:38
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: MIGS time out issue - can somebody help

Where did you download the MIGS module from?
03 Jan 2015, 23:36
#7
wayno avatar

wayno

New Zenner

Join Date:
Sep 2013
Posts:
11
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

DrByte:

Where did you download the MIGS module from?


Hi Dr Byte,

Thanks for responding. I downloaded it from here:

http://www.zen-cart.com/downloads.php?do=file&id=550

This module works really well except when someone makes an error entering their credit card details. It returns them to the cart to re-enter them but after they submit the details again, they get an error saying the cart has timed out. They (and us) get no order confirmation but their credit card is debited.

I understand setting up Zencart quite well but not great on the programming side, so don't possess the smarts of some of the guys here to fix this problem. I do think if someone has the time to correct this small issue it is worth doing. MIGS is a really useful plugin for us here in Australia as several of the major banks use it.

Thanks guys. I have a test server which I can give you the address of if need be. I would just need to put it back into sandpit mode.

Cheers

Wayne
04 Jan 2015, 02:21
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: MIGS time out issue - can somebody help

Try this ...

/includes/modules/checkout_process.php (or your override version of the same), around line 38 you'll see:
if ($_SESSION['payment_attempt'] > 3) {

Try changing the 3 to 5 or 6, and test the MIGS timeout issue again.

This setting is used to limit the number of tries someone can make for payment, since people who steal credit cards like to use random websites to do fake checkouts to see whether the stolen card is "good" or not. The counter increases with each (failed) payment attempt. And, YOU pay for each attempted transaction, with a partial service charge.
It could be that the MIGS approach to passing transaction processing back and forth from your store to MIGS and back and then to MIGS and back again might be triggering that counter multiple times during a "normal" MIGS checkout, thus causing the timeout. Simply increasing the number might help. If not, then the MIGS module may need some upgrading.
09 Mar 2015, 19:54
#9
wayno avatar

wayno

New Zenner

Join Date:
Sep 2013
Posts:
11
Plugin Contributions:
0

Re: MIGS time out issue - can somebody help

Dr Byte,

Sorry for the late reply. Haven't been on here for a while so have only just seen your reply.

Thank you so much for your efforts. This worked a treat. I have tested it with my live site with live credit cards. The error I found with MIGS was when you enter an incorrect credit card expiry date or CVV number. It seemed to be ok when an incorrect credit card number was entered as it dealt with this on the bank payment site where as the other errors returned you to the website and hence the timeout error when you attempted to enter the details again.

In any case, this has fixed the problem for me by changing this value to 6.

Again many thanks Dr Byte, your help is greatly appreciated.

Cheers
Wayne