# Same card payment failed twice and succeeded at 3rd time

**URL:** <https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [December 3, 2023, 10:54am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477 "2023-12-03T10:54:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfred](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Alfred](https://developer.squareup.com/forums/u/Alfred)\
**Post date:** [December 3, 2023, 10:54am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/1 "2023-12-03T10:54:55Z")

</div>

Dear team,

We noticed some customer tried card on file payment with the same card 3 times, it failed at the first 2 times and succeeded at the 3rd time, may i have your help to check the cause please?

the payments are made through java SDK, and the details are as below,  
if any more info is required, let me know please.

1. around UTC 2023-12-03 02:39, payment id: zNmWOFIB1LvdOzY8jZEuJH1uopWZY, failed
2. around UTC 2023-12-03 02:40, payment id: NCgh4S9dJPYivBNzwb58Kvk5WIbZY, failed
3. around UTC 2023-12-03 02:42, payment id: RaBQUtmSBdniWwGICMN17U3Rr2XZY, success

Thanks.

---

<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:** [December 3, 2023, 10:55am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/2 "2023-12-03T10:55:09Z")

</div>

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

> **[Web Payments SDK Requirements](https://developer.squareup.com/docs/app-marketplace/requirements/web-payments-sdk)**
>
> Learn about the Square App Marketplaces requirements related to the Web Payments SDK.

> **[Charge Cards on File](https://developer.squareup.com/docs/reader-sdk/cookbook/charge-cards-on-file)**
>
> Create a seamless purchase experience for returning customers and enable recurring payments.

> **Additional Documentation**
>
> [Save Cards on File](https://developer.squareup.com/docs/reader-sdk/cookbook/save-cards-on-file)  
> [Download, Configure, and Run the Client Sample](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/generate-token)  
> [Reader SDK Quickstart](https://developer.squareup.com/docs/reader-sdk/quickstart-guide)

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [December 4, 2023, 11:15pm UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/3 "2023-12-04T23:15:35Z")

</div>

Hey @Alfred, I took a look at the two failed payments. It looks like for both of these the card issuer declined the payment, but didn’t share additional information about why. This customer would need to contact their bank for more information on what caused the decline.

---

<div class="post-metadata">

**Author:** ![Alfred](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Alfred](https://developer.squareup.com/forums/u/Alfred)\
**Post date:** [December 5, 2023, 11:01am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/4 "2023-12-05T11:01:58Z")

</div>

@josh-square

thanks for help on this topic,

just would like to confirm, did the 3 payments have the same requests from square to card issuer? (of course except for the difference on the timestamp, and the amount which came from our application)

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [December 6, 2023, 4:13am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/5 "2023-12-06T04:13:06Z")

</div>

@Alfred It does look like the 3 requests were the same, with the exception of timestamps and tip amount.

---

<div class="post-metadata">

**Author:** ![Alfred](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Alfred](https://developer.squareup.com/forums/u/Alfred)\
**Post date:** [December 6, 2023, 7:56am UTC](https://developer.squareup.com/forums/t/same-card-payment-failed-twice-and-succeeded-at-3rd-time/11477/6 "2023-12-06T07:56:09Z")

</div>

i see, thanks for confirm
