ok, a few changes coming.
for those of you who use square as the only payment method, and want to prevent the funny message, the cool kids way is here:
this file here:
includes/modules/pages/checkout_payment/jscript_square_webPay.php
also, with that change, i do not think we will ever get here, but in:Code://line 39 was: if (document.querySelector('#pmt-square_webPay').checked) { //change it to: if ((document.querySelector('#pmt-square_webPay').checked) || (document.querySelector('#pmt-square_webPay').getAttribute('type') == 'hidden')) {
includes/modules/payment/square_webPay.php
line 266, should be changed to something like:
these changes will be incorporated into a new release.PHP Code:$messageStack->add_session('checkout_payment', 'uh... looks like you did not input a credit card number!', 'error');
thank you to those who support me.


Reply With Quote
