Title: Having Problem with Square Payment &#8211; VALUE_TOO_LONG
Last modified: September 25, 2020

---

# Having Problem with Square Payment – VALUE_TOO_LONG

 *  Resolved [rymrtsoul18](https://wordpress.org/support/users/rymrtsoul18/)
 * (@rymrtsoul18)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/having-problem-with-square-payment-value_too_long/)
 * I’m getting this error message on my website when using square as my payment 
   method. I have not encountered this issue before, and I tried to rollback the
   version of the plugin and the error still shows. I am using WordPress 5.5.1 and
   Wocommerce 4.5.2. The Woocommerce Square plugin version is 2.2.2
 * Square Payment Failed (Status code VALUE_TOO_LONG: Field must not be greater 
   than 45 length) intext:”Plugin: WooSquare – Square for WooCommerce”

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/having-problem-with-square-payment-value_too_long/#post-13461748)
 * Hi [@rymrtsoul18](https://wordpress.org/support/users/rymrtsoul18/),
 * Thank you for contacting us, Can you please check your browser’s console for 
   any possible errors on the checkout page?
 *  Thread Starter [rymrtsoul18](https://wordpress.org/support/users/rymrtsoul18/)
 * (@rymrtsoul18)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/having-problem-with-square-payment-value_too_long/#post-13461784)
 * Hello [@wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/),
 * I checked on the browser’s console and no errors on the checkout. It’s just that
   the idempotency_key is exceeding 45 characters when I checked the debug log. 
   However, I managed to make it work now by tweaking the length of the $key_input
   that it is being added to the idempotency_key.
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/having-problem-with-square-payment-value_too_long/#post-13469005)
 * Hi [@rymrtsoul18](https://wordpress.org/support/users/rymrtsoul18/),
    Thank you
   for reporting this we will be releasing an update regarding this warning.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Having Problem with Square Payment – VALUE_TOO_LONG’ is closed to new
replies.

 * ![](https://ps.w.org/woosquare/assets/icon-128x128.gif?rev=3123976)
 * [WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce](https://wordpress.org/plugins/woosquare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woosquare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woosquare/)
 * [Active Topics](https://wordpress.org/support/plugin/woosquare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woosquare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woosquare/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/having-problem-with-square-payment-value_too_long/#post-13469005)
 * Status: resolved