Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Hi @dotcompartners,
What is the exact error?
Also, please enable debug logging in Square payment gateway settings > replicate error > then copy/paste the debug error log here. The log can be found under WooCommerce > Status > Logs > search for the Square specific log from the right-hand drop down.
Thanks!
Hi – error is either “INTERNAL.SERVER.ERROR” or “INTENT_MISMATCH”. We’ve had a couple of failed payments here. Please advise.
Thank you!
Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Hi @dotcompartners,
Thank you for the error message.
Please clear any plugin cache or server cache you may have. The intent_mismatch error is something we’ve seen a few report son now and it looks to be due to failures caused by 3D Secure feature which was introduced in Square 2.1.0.
The following snippet will disable 3D Secure on your site:
add_filter( 'wc_square_is_3d_secure_enabled', '__return_false', 0, 1 );
You can add this snippet to your site with the following plugin: https://ww.wp.xz.cn/plugins/code-snippets/
Hope that helps!
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
Hey there!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.