My bad , i found the solution in this thread. Sorry about that !
The fix for my problem was by swguy here
https://www.zen-cart.com/showthread....76#post1394376
Thank you so much again for providing this wonderful plugin.
My bad , i found the solution in this thread. Sorry about that !
The fix for my problem was by swguy here
https://www.zen-cart.com/showthread....76#post1394376
Thank you so much again for providing this wonderful plugin.
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
According to post #1739 on this topic, the following code will make PAYPAL the default payment option (Radio-button selected on page load) -:
What would I need to edit in order to make SQUARE the default (option selected radio button)?Code:<?php if (empty($_SESSION['payment'])) { $_SESSION['payment'] = 'paypalwpp'; }
Customers are not clicking the radio button before inputting card details, and this seems to result in a square payment error. If this radio button is ON by default, then we may be able to aoid such Square errors.
20 years a Zencart User
Thanks Carl and Cindy. At some point Carl, I hope to buy you more coffee... Your module literally saved my business. When profits allow, I'll be making another contribution (as should all those who have benefitted).
20 years a Zencart User
Note that the "problem" of not selecting WebPay should not happen. In a 1.5.7 or later, OPC, WebPay and PayPal that the WebPay is listed first and, with the entry of the first digit of the CC #, the Credit Card option is automatically selected.
I could not create a scenario where the Credit Card was not selected when information was entered into the WebPay form.
HOWEVER, I could duplicate the CC info being sent but not selected by entering a 4 in the CC line, selectging PayPal, and then returning to the CC line to enter a valid CC info.
IOW, it takes a pretty big mistake sequence by the customer to get CC info entered without the button being selected.
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.