Maybe this is a known issue but I didn't find it when I searched. I'm running 1.5.7c and if I make a test order and get to the payment page and do not put anything in the credit card/exp/zip and just click continue on the cart I get:
"We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN"
I am just trying to recreate what a customer will eventually do and then email me. LoL. Seems like it should have a different error for blank fields or do a check somewhere.
Has anyone modified the code to address this?
Thanks!
Thanks for the response. I am not using OPC.
More info:
Just found this. So if I have the paypal module enabled it works and flags it. However, if the square webpay module is the only payment module then it has the error.
Thanks for looking into it. I am not sure where to go from here. Maybe I can change the error message to just tell the customer to check that the fields are not blank. If you wanted to check it out my site is spyderrobotics.com
I have paypal turned off at the moment so it can recreate the error. You can make a fake account and try the checkout.
I get the same error with PayPal turned off:
"We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN"
If PayPal is turned ON and credit card is checked, but not entered, I get a friendly reminder to enter credit card number before proceeding to page 3 of checkout.
Friendly reminder is much nicer than error on store end.
Code:[16-Feb-2023 14:23:08 America/Chicago] PHP Notice: missing token result: check if card button is disabled on dev console using: document.getElementById('card-button'); else look for javascript error in console. in /includes/modules/payment/square_webPay.php on line 234
Last edited by VDecalS; 16 Feb 2023 at 09:34 PM. Reason: include error code
My store - closed 12/05/2023
1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)