Transaction Declined: Field must not be greater than 20 length

Why are we getting this decline error when testing transactions?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation
Verify the Payment

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

The error your getting is because the statement_description_identifier your passing in calmwell (800)332-8922 is greater then 20 characters including the space. You’ll need to provide a shorter value for the request to succeed. :slightly_smiling_face:

1 Like