Version Update causes JavaScript verifyBuyer Error
-
I recently updated the WooCommerce Square plugin in my staging environment from version 4.0 to the newest version, 4.4.0. I have my staging environment set to run against my Square Sandbox. Since this update, credit card payment processing is failing on the VerifyBuyer step of payment processing unless I select the Securely Save to My Account option on checkout, then the transaction goes through successfully. My current version, 4.0, works fine when leveraging the Square Sandbox Payments. I have tried using the basic Storefront theme and the issue persists. Other payment methods that I am leveraging (PayPal and TeraWallet) all work as expected.
Below is the output provided via the console; when debug mode is activated no error logs are provided in both the WooCommerce status log or on the checkout page. The loading spinner spins indefinitely and the error is never resolved.
Uncaught (in promise) InvalidArgumentsError: One or more of the arguments needed are missing or invalid.
at square.js?ver=4.4.1:1:355021
at Generator.next ()
at Rp (square.js?ver=4.4.1:1:353104)
at s (square.js?ver=4.4.1:1:353308)
at square.js?ver=4.4.1:1:353369
at new Promise ()
at square.js?ver=4.4.1:1:353248
at Lp.verifyBuyer (square.js?ver=4.4.1:1:355381)
at wc-square.min.js?ver=4.4.1:1:7742
The topic ‘Version Update causes JavaScript verifyBuyer Error’ is closed to new replies.