# A GENERIC\_DECLINE error occurs when attempting to payment

**URL:** <https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [July 8, 2024, 2:12am UTC](https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674 "2024-07-08T02:12:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yq0846](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@yq0846](https://developer.squareup.com/forums/u/yq0846)\
**Post date:** [July 8, 2024, 2:12am UTC](https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674/1 "2024-07-08T02:12:18Z")

</div>

Hello.  
All payments result in a GENERIC\_DECLINE error.  
Even if I change the card and test with several card companies, the GENERIC\_DECLINE error occurs in all of them.  
I know the typical response is to contact the card issuing bank, but  
We do not believe that errors occurring with all payments are simply a banking issue.  
Please check it once.  
Thank you.

Location ID: LZ8RHVA3VDJAY  
Payment ID: nPaW8UbRhENuuCVYSmpqFISmzuCZY

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [July 8, 2024, 2:12am UTC](https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674/2 "2024-07-08T02:12:32Z")

</div>

👋 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:

> **[Troubleshoot the Payments API](https://developer.squareup.com/docs/payments-api/error-codes)**
>
> Learn about the error codes returned by the Payments API.

> **[Troubleshoot In-App Payments SDK Problems](https://developer.squareup.com/docs/in-app-payments-sdk/troubleshooting)**
>
> Troubleshoot problems with the Square In-App Payments SDK.

> **Additional Documentation**
>
> [Handling Errors](https://developer.squareup.com/docs/build-basics/general-considerations/handling-errors)  
> [Card Payments](https://developer.squareup.com/docs/payments-api/take-payments/card-payments)  
> [Handling Errors](https://developer.squareup.com/docs/build-basics/handling-errors)

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.

---

<div class="post-metadata">

**Author:** ![yq0846](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@yq0846](https://developer.squareup.com/forums/u/yq0846)\
**Post date:** [July 9, 2024, 5:13am UTC](https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674/4 "2024-07-09T05:13:00Z")

</div>

Afterwards, I ran a few more tests, and it doesn’t seem to be a problem with the card information. Could you please check if there is a problem with your account settings?  
Thank you.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 9, 2024, 3:54pm UTC](https://developer.squareup.com/forums/t/a-generic-decline-error-occurs-when-attempting-to-payment/17674/5 "2024-07-09T15:54:51Z")

</div>

Have you contacted the issuing bank? That would be the first course of action since the decline comes from the bank. 🙂
