# Square payment fails with Gift Card error even when no Gift Card is used

**URL:** <https://developer.squareup.com/forums/t/square-payment-fails-with-gift-card-error-even-when-no-gift-card-is-used/28144>\
**Category:** Questions\
**Created:** [October 8, 2026, 2:56am UTC](https://developer.squareup.com/forums/t/square-payment-fails-with-gift-card-error-even-when-no-gift-card-is-used/28144 "2026-10-08T02:56:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![baseline](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@baseline](https://developer.squareup.com/forums/u/baseline)\
**Post date:** [October 8, 2026, 2:56am UTC](https://developer.squareup.com/forums/t/square-payment-fails-with-gift-card-error-even-when-no-gift-card-is-used/28144/1 "2026-10-08T02:56:37Z")

</div>

Hi Square Developer Team,

We are using the official WooCommerce Square plugin for our WooCommerce website.

We are experiencing an unusual payment issue on some orders where the customer **did not use or apply a Square Gift Card**.

The customer’s payment is actually **successfully processed by Square** , but the WooCommerce order is subsequently changed from **Processing to Failed** because of a Gift Card-related error.

The WooCommerce order note shows:

`Square Payment Failed ([BAD_REQUEST] Invalid order associated with giftcard activity. Order does not contain giftcard.)`

We also see the following error in the logs:

`retrieveGiftCardFromNonce` → `404 NOT_FOUND`  
`There is no giftcard associated with that nonce.`

The customer did **not** select or apply a Gift Card during checkout, and the order does not contain any Gift Card. However, Gift Card activity appears to be associated with the order.

The payment itself is successful, but the subsequent Gift Card-related validation causes WooCommerce to mark the order as **Failed**.

This has only happened on a small number of orders. Previous orders using the same WooCommerce Square integration were processed successfully.

**Could you please help us determine:**

1. Why is Gift Card activity being triggered when the customer did not use a Gift Card?
2. Why is `retrieveGiftCardFromNonce` being called for a normal payment?
3. Why does Square return `Invalid order associated with giftcard activity` when the order does not contain a Gift Card?
4. Could this be related to the official WooCommerce Square plugin’s Gift Card, checkout, or session handling?
5. Since the payment is successfully processed, what is causing the order to subsequently fail?

We are using the official WooCommerce Square plugin and have not implemented a custom Gift Card payment flow.

We can provide the affected order timestamps and relevant logs if required.

Thank you.

---

<div class="post-metadata">

**Author:** ![zacstlouis](https://avatars.discourse-cdn.com/v4/letter/z/b5a626/32.png) [@zacstlouis](https://developer.squareup.com/forums/u/zacstlouis)\
**Post date:** [October 8, 2026, 3:57pm UTC](https://developer.squareup.com/forums/t/square-payment-fails-with-gift-card-error-even-when-no-gift-card-is-used/28144/3 "2026-10-08T15:57:26Z")

</div>

We unfortunately can’t help with any issues with the WooCommerce Square Plugin. Could you try reaching out to their support team.
