Quote Originally Posted by VDecalS View Post
Good afternoon,
I'm getting a "whoops, your session has expired" upon submitting Order Confirmation Step 3 of 3 Confirm the Order.

I tried replacing file: https://github.com/proseLA/square_we...are_webPay.php (and added a blank line after initially receiving a white page on 2nd page)
I also tried replacing my Square "Production Application secret"

- Running
1.5.7d (upgraded from 1.5.7b)
clone a template (cloned Responsive Classic Template)
Sitemap XML v4.0
Square WebPay
PayPal Express Checkout

No debug logs are being generated after adding blank line to fix "unexpected end of file in "/public_html/VDSstore/includes/modules/pages/checkout_payment/jscript_square_webPay.php on line 191"

I appreciate help from anyone.
why you are getting to a timeout, i can not say. i went to your site, and it looks like you have square in sandbox mode. square_webPay is doing everything as expected. see this screenshot:

https://www.dropbox.com/s/dgj8qduuah...00-27.png?dl=0

the tokenResult is on the form and hidden, and its status is ok. as i entered a test credit card number, i can only assume that you are in test mode else the status would not have been ok.

i would try live credentials and see if that works.

as far as the timeout goes, have you overridden your checkout_process.php file? i would think that is where the timeout is happening, specifically here:

https://github.com/zencart/zencart/b...ss.php#L28-L39

do you have this file:

/YOUR_STORE_ROOT/includes/modules/Gray157b/checkout_process.php

if you do great. if not copy it from here:

/YOUR_STORE_ROOT/includes/modules/checkout_process.php

to the above location. you can then change your slamming_threshold to something like 15, and see if that helps.

as far as square_webpay, i see no problems.

hope that helps!

best.