Perhaps there's a log file in the /logs folder that would help us understand what's happening?
Perhaps there's a log file in the /logs folder that would help us understand what's happening?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
according to the very thorough documentation this module requires php 7.4 although it has been tested and worked with php 7.3. see:
https://www.zen-cart.com/downloads.php?do=file&id=2345
php 5.6 is not supported nor will it work.
best.
I'd like to reduce the empty vertical space below the credit card info entry box and above the next payment method on the checkout_payment page. Using browser web developer tools, I see there is a hidden button with id="card-button" with text "Use Credit Card" that takes up 21.5 px vertically. When I use the Square payment method, I never see this button. Under what conditions does this button become visible and can the vertical space taken up by the button be eliminated when hidden? Can anyone suggest an approach to reduce this empty space?
Thank you!
zc157c, php8.0.2, Square WebPay 1.0.2
Are you using the standard three-page checkout or something like OPC?
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.
I'm using the standard 3-page checkout and standard non-responsive template. Updated to 1.0.4 with no change to appearance.
Dave
Care to give us a look? Use yoursiteDOTcom if you are not ready for the world to see it.
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.
I think that this button is redundant in Zen Cart, it's the equivalent of ZC's Confirm/Pay Now/Confirm Order button at the end of step 3. Due to the way the surrounding divs overlap you would only save 17px if you 'removed' it.
In browser dev tools try adding display:none; to the element and you'll see that that hides it fully. I guess you would need to change the 'visibility: hidden;' to 'display:none;' in includes\modules\pages\checkout_payment\jscript_square_webPay.php (try searching it for 'card-button').
For me, it would be more trouble than it's worth given I would be editing a plugins core file.
Last edited by simon1066; 1 Jun 2023 at 07:06 PM.
Simon
Yeah, I thought of both those approaches but was hesitant because I don't know if that button ever gets displayed to the customer and under what conditions it would be displayed. Think I'll wait until dbltoe responds. But thank you!