# Payment Error: Authorization error: 'GENERIC\_DECLINE'

**URL:** <https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [March 2, 2021, 9:00am UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002 "2021-03-02T09:00:29Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfonsmala](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@alfonsmala](https://developer.squareup.com/forums/u/alfonsmala)\
**Post date:** [March 2, 2021, 9:00am UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/1 "2021-03-02T09:00:29Z")

</div>

Hello

I am getting an error in my woocommerce site.

Payment Error:

- Authorization error: ‘GENERIC\_DECLINE’

I have tried different cards but same issue, this seems an issue from Square as I read in forums.

Regards  
Alfons

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [March 2, 2021, 4:44pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/2 "2021-03-02T16:44:56Z")

</div>

Hi @alfonsmala welcome to the forums!

`GENERIC_DECLINE` is what we receive from the card’s issuing bank, so we typically recommend that the customer reach out to their bank for assistance. If it’s happening for all of your payments, then feel free to share some `payment_id`s here and I can take a closer look, but typically we do not have more information on these declines.

---

<div class="post-metadata">

**Author:** ![alfonsmala](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@alfonsmala](https://developer.squareup.com/forums/u/alfonsmala)\
**Post date:** [March 2, 2021, 5:22pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/3 "2021-03-02T17:22:48Z")

</div>

Hello

Thank you so much for your response.

I don’t think it is an issue from the bank because we have tried with different cards. Where can I find the payment id?

Regards  
Alfons

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [March 2, 2021, 5:33pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/4 "2021-03-02T17:33:22Z")

</div>

The `payment_id` should be in the response after you call `CreatePayment`, or if you call `ListPayments` in the API you should see them as well. Otherwise, feel free to share your location/merchant id and I can try to look it up.

---

<div class="post-metadata">

**Author:** ![smwashi](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@smwashi](https://developer.squareup.com/forums/u/smwashi)\
**Post date:** [December 28, 2021, 5:59pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/6 "2021-12-28T17:59:31Z")

</div>

@sjosey I have a similar problem as I move from dev to production. Is it ok to post locationID or payment\_id here?

---

<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:** [December 28, 2021, 6:35pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/7 "2021-12-28T18:35:46Z")

</div>

👋 Yeah, feel free to post the locationID and `payment_id` so we can look into the issue. 🙂

---

<div class="post-metadata">

**Author:** ![smwashi](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@smwashi](https://developer.squareup.com/forums/u/smwashi)\
**Post date:** [December 28, 2021, 6:53pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/8 "2021-12-28T18:53:46Z")

</div>

Thanks!  
locationID: L7KNJ9GF3KXQ5  
payment\_id: ```  
XplljXNSnsOod5SQG07Pkg450CUZY

```auto

```

---

<div class="post-metadata">

**Author:** ![smwashi](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@smwashi](https://developer.squareup.com/forums/u/smwashi)\
**Post date:** [December 28, 2021, 7:00pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/9 "2021-12-28T19:00:00Z")

</div>

Here is one from a different card as well:  
locationID: L7KNJ9GF3KXQ5  
payment\_id: PbKEiU7cneLLES7Dfk7E3RjDO6YZY

@Bryan-Square  
These are actually two different cards that I am using to test my first payments in production. I typically receive a notice if my bank declines a card for any reason.

Is there something I have to do in order to allow production processing?

---

<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:** [December 28, 2021, 7:13pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/10 "2021-12-28T19:13:22Z")

</div>

Looking at the declines there isn’t anything out of the ordinary. Have you had your customer contact the bank to see why they blocked the payment? Banks don’t always share the exact reason as to why a card is declined, so you may want to have your customer contact their bank directly for more information. 🙂

---

<div class="post-metadata">

**Author:** ![swifter.test](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/swifter.test/32/1451_2.png) [@swifter.test](https://developer.squareup.com/forums/u/swifter.test)\
**Post date:** [September 15, 2022, 8:41pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/11 "2022-09-15T20:41:19Z")

</div>

We have the same error and not sure whats the issue. My bank is charging the card but square says its an error.  
here is location id L9DTV3KWY3GX2  
payment id: jpUixr6JbZ41RbgeZ6SFH3RoQNPZY

---

<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:** [September 15, 2022, 9:57pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/12 "2022-09-15T21:57:33Z")

</div>

I took a look at the payment you provided and it’s a declined payment. What do you mean when you say the bank charged the card? Are the funds pending? 🙂

---

<div class="post-metadata">

**Author:** ![swifter.test](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/swifter.test/32/1451_2.png) [@swifter.test](https://developer.squareup.com/forums/u/swifter.test)\
**Post date:** [September 16, 2022, 9:34am UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/13 "2022-09-16T09:34:06Z")

</div>

Initially when i got the error, i read that his may be due to bank permissions, I initial payment was blocked by bank. Then I call my bank and asked to go through payments for this website. Now bank is deducting my amount but I am still getting the error. Logical we can’t confirm if customer has paid or not. Logs says transaction was declined. Total nightmare.

---

<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:** [September 16, 2022, 3:54pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/14 "2022-09-16T15:54:54Z")

</div>

After you contacted the bank did you try the payment again with the card? I see that this payment `HBZxErkMp6gabffBBmFa7CHro7BZY ` went through successfully. 🙂

---

<div class="post-metadata">

**Author:** ![shahenazaryan](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@shahenazaryan](https://developer.squareup.com/forums/u/shahenazaryan)\
**Post date:** [May 22, 2023, 10:22pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/15 "2023-05-22T22:22:08Z")

</div>

> [@Bryan-Square](#):
>

@Bryan-Square I have the same issue “{  
“code”: “GENERIC\_DECLINE”,  
“detail”: “Authorization error: ‘GENERIC\_DECLINE’”,  
“category”: “PAYMENT\_METHOD\_ERROR”  
}”  
My bank says that on their side everything went just fine, and there is no authorization or other issue on their side. Can you check please. my payment\_id is “XLSlucTAzBz9NjjWl5KOW8WymwXZY”

---

<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:** [May 23, 2023, 3:55pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/16 "2023-05-23T15:55:08Z")

</div>

If you enable [Risk Manager](https://squareup.com/us/en/payments/risk-manager) and add the card to the allow list are you able to charge the card? 🙂

---

<div class="post-metadata">

**Author:** ![Eagle](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@Eagle](https://developer.squareup.com/forums/u/Eagle)\
**Post date:** [August 18, 2023, 1:16am UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/17 "2023-08-18T01:16:24Z")

</div>

This problem has been bothering me for a long time. Can you help me take a look?

1. id: “BmbE6jNm2mERBRrTn6k2OAzbraYZY”
2. location\_id: “L9X1MG8GN3QD5”
3. order\_id: “iQeWq9l29brBsOPzCCuecN3CujFZY”

---

<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:** [August 18, 2023, 4:14pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/18 "2023-08-18T16:14:47Z")

</div>

That’s a very old payment and I see quite a few successful payments after. Do you have a recent example? Also what did the bank say when the customer reached out to them? 🙂

---

<div class="post-metadata">

**Author:** ![jitendradexbytes](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jitendradexbytes](https://developer.squareup.com/forums/u/jitendradexbytes)\
**Post date:** [October 3, 2023, 11:36am UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/19 "2023-10-03T11:36:13Z")

</div>

facing this issues when charge a card

“errors”: [  
{  
“code”: “GENERIC\_DECLINE”,  
“detail”: “Authorization error: ‘GENERIC\_DECLINE’”,  
“category”: “PAYMENT\_METHOD\_ERROR”  
}  
],

---

<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:** [October 3, 2023, 4:31pm UTC](https://developer.squareup.com/forums/t/payment-error-authorization-error-generic-decline/2002/20 "2023-10-03T16:31:25Z")

</div>

With any `GENERIC_DECLINE` declines you’ll want to instruct the customer to contact their bank for more information. 🙂
