Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
ok, @Nick1973 and whoever else is paying attention, this is what i have found.
- we have 2 event listeners competing for the same event.
- when, the square_webpay event listener gets registered first, there is a successful transaction.
- when the OPC event listener gets registered first, the square submittal does not happen, and hence there is no token that gets submitted as part of the form.
- i have no idea why on some sites, the event listener gets registered first in OPC and other times square_webpay.
- i am working on addressing that.
as a test, leave Minify set to FALSE - always... until the problem is resolved.
try commenting out these 2 lines:
https://github.com/lat9/one_page_che...ut_one.js#L545
https://github.com/lat9/one_page_che...ut_one.js#L568
and try placing an order.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
I get "your details have changed" BUT, I have the changes to the jscript_square_webPay.php file in place. Should I be testing without those?
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
carlwhat
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
With just the changes to the OPC file, I get a good sale without the "Your settings have changed"
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
the changes to the:
jscript_square_webPay.php
are fine and should be left in.
i am seeing both sites as now working without problem.
changing the minify to TRUE will, at this point, not work.
i will hopefully work on a solution with @lat9 to resolve this compatibility issue with OPC.
Just a side note:
Well, two
First is that I send all log files I get from the test sites just in case they might make a difference. I think one or two that turn out to be irrelevant is better than not sending the one that is.
And, because of that, I will mentiion that two upgraded sites (one with and one without OPC) will not display the details of the order (below the payment method line) without retaining the old includes/modules/payment/square_support and its files.
OTOH, several other sites work fine without that folder and files.
More info available on request. I have to break sites to get the log file for the support folder. Don't want to do that during business hours.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
just so we are clear
- unless i ask for log files, please do not send them.
- i NEVER said to delete or remove includes/modules/payment/square_support
- i am sure other sites work without those files being there due to a config setting. but, IMO those files need to remain there.
- for the next release i will include and package those files in the zip.
- the next release will have a little better error messaging. and the logs will not have what i now deem to be superfluous data. i'm a fan of logs having only the relevant data. as more feedback comes in, logs can be better streamlined as apache or nginx have the more complete and detailed logs.
- i'm really not sure what to make of your last point. you need to break a site in order to get to any log files? i do not want to insult the host
, but needing to break a site to get to any log files is a problem. i look at log files all the time with the site still being up. i'm going to go with i do not understand what you are saying.
- i am happy we got this problem resolved.
Bookmarks