better if it is on... but do as you need to...
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?
A little help with colors.
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
A little help with colors.
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.
Any thoughts on adding a Square hosted payment page option? The new PCI changes are heavy....
~Melanie
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
Zen Cart 1.5.8
PHP 7.4
MySQL 8.0.34
OPC 2.4.5
Square WebPay 1.0.4
This store recently sold. It was working fine, switched the Square account to the new owner and it works fine. However, previous orders in the orders screen cannot be viewed with the following error.
[05-Oct-2023 17:23:22 America/New_York] Request URI: /xx/index.php?cmd=orders&page=1&oID=10030690&action=edit, IP address: 000.000.000.000
--> PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /home/xxx/public_html/includes/modules/payment/square_webPay.php:913
Stack trace:
#0 /home/xxx/public_html/includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(10030690)
#1 /home/xxx/public_html/xx/orders.php(741): square_webPay->admin_notification(10030690)
#2 /home/xxx/public_html/xx/index.php(11): require('/home/xxx/...')
#3 {main}
thrown in /home/xxx/public_html/includes/modules/payment/square_webPay.php on line 913.
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk