Title: Status code CARD_TOKEN_USED
Last modified: February 13, 2021

---

# Status code CARD_TOKEN_USED

 *  Resolved [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/)
 * Square Payment Failed (Status code CARD_TOKEN_USED: Card nonce already used with
   a different idempotency key; please request new nonce.)
 * This is the error a customer of mine just got when she tried to pay with Apple
   Pay at checkout. I spoke with Square and they said that it seems like my API 
   is not creating a new card nonce after each submit. Please help. What is wrong
   here?
 * Also, a separate problem. Doesn’t Square checkout usually give the option for
   a customer to save their card info if they want? Because there is no option right
   now and every single order it says card info has been saved.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstatus-code-card_token_used%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Support [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * (@drwpcom)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14057514)
 * Hi [@themassapothecary](https://wordpress.org/support/users/themassapothecary/).
   Usually, this error is caused by a conflict on your site. I recommend that you
   do a conflict test to see which plugin is causing the error `Status code CARD_TOKEN_USED:
   Card nonce already used with a different idempotency key; please request new 
   nonce` and also forces the payment card to be saved for every order. Those two
   issues are likely related.
 * We have a document here to guide you through conflict testing – [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/).
 * I hope that points you in the right direction. It would be great if you would
   report back how it goes.
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14057660)
 * [@drwpcom](https://wordpress.org/support/users/drwpcom/) ok so how do I test 
   for nonce error with test Google Pay orders or test Apple Pay orders?
 * Also, this guide is a very general guide and has nothing to do with this plugin
   specifically. I get the idea but whats best way to test on Square Woo plugin?
 * Should I do test orders paying in sandbox mode with test credit cards? If so,
   how do I do test orders paying with Apple pay or Google pay? Especially if I 
   don’t have any Apple devices?
 *  [Mike W](https://wordpress.org/support/users/nixiack8/)
 * (@nixiack8)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14060350)
 * Hi [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * Sorry to hear the issue is still happening still. `Card Nonce` errors are almost
   always caused by theme issues, where the theme interferes with the data being
   passed to Square. This is seen where themes override the Cart/Checkout pages,
   usually with the Checkout Form area. Plugins can also do this, but most commonly
   it’s improperly coded themes.
 * > so how do I test for nonce error with test Google Pay orders or test Apple 
   > Pay orders?
 * It is the same with troubleshooting other payment plugins that have Google Pay/
   Apple Pay built into them (Stripe, for example). As a first step in troubleshooting,
   I’d recommend changing to the default Twenty Seventeen or Storefront theme and
   then trying again. If that doesn’t help, you’ll want to check for plugins that
   are interfering with the values sent to Square. To do that disable all plugins,
   except for WooCommerce and the WooCommerce Square.
 * > this guide is a very general guide and has nothing to do with this plugin specifically.
   > I get the idea but whats best way to test on Square Woo plugin?
 * It is a general guide because it is essentially a ‘general’ issue – something
   is blocking the information from getting to Square, so the best thing to do is
   disable/switch items off until the system starts working. Once it does, re-enable
   each item one (or a few) at a time, and test in-between. The last thing that 
   was activated when the issue re-occurs is the culprit.
 * > Should I do test orders paying in sandbox mode with test credit cards? If so,
   > how do I do test orders paying with Apple pay or Google pay?
 * That would be best, and Sandbox instructions for Square is at [this link](https://docs.woocommerce.com/document/woocommerce-square/#section-6).
   The plugin itself allows for Google/Apple Pay buttons so just having it + WooCommerce
   active (and your shipping plugin if it is one that requires to be on like USPS/
   UPS/etc) should suffice for testing.
 * To test orders with Google and/or Apple Pay, be sure to be on a platform that
   works for both – Google works with Chrome in general, and any Android device 
   with the Google Pay app installed. Apple Pay has a list of [compatible devices](https://support.apple.com/en-gb/HT208531)
   that works with it, to test you would need to get one to ensure. Common troubleshooting
   steps for Apple Pay itself is found at [this link](https://docs.woocommerce.com/document/woocommerce-square/#section-14).
 * I hope that helps! Do let us know how it goes 🙂
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14060430)
 * [@nixiack8](https://wordpress.org/support/users/nixiack8/) i found out the cause
   of credit cards not seeing the checkbox to save info was Woo Funnels. I don’t
   know if that’s the cause of Apple & Google Pay not working too. But bigger issue
   is I want to keep Woo Funnels. Do you guys have any experience with compatibility
   with Square For Woo & Woo Funnels?
 *  [Mike W](https://wordpress.org/support/users/nixiack8/)
 * (@nixiack8)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14060611)
 * Hi [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * It is good that the issue was narrowed down – Woo Funnels eh? Woo Funnels does
   do amazing things with converting key information from checkout pages into excellent
   data options, but it is highly customizable so I can see where it might interrupt
   information going to a particular gateway (in this case Square).
 * We have not had much of a history with Woo Funnels conflicting with Square in
   particular, I would definitely reach out to the developers of Woo Funnels at 
   [this link](https://buildwoofunnels.com/support/) and let them know Square is
   not functioning as a payment gateway with just Woo Funnels, Square and WooCommerce
   activated.
 * That allows them to know everything else was ruled out, and they can take a look
   to ensure the information they need to gather for their items is not conflicting
   with the information Square requires.
 * If you like, let us know what they say!
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14077052)
 * [@nixiack8](https://wordpress.org/support/users/nixiack8/) ok so I spoke with
   Woo Funnels developers. The problem with –
 * Status code CARD_TOKEN_USED: Card nonce already used with a different idempotency
   key; please request new nonce.
 * And Apple Pay & Google Pay not working has nothing to do with woo funnels.
 * As far as every card being saved, all they do is automatically have save card
   to account checked off and checkbox hidden so that order upsells work.
 * What now?
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14081690)
 * [@nixiack8](https://wordpress.org/support/users/nixiack8/) [@drwpcom](https://wordpress.org/support/users/drwpcom/)
 * I also just did a test with Google Pay checkout after turning on error logs in
   Square settings. So, I have the error log with a failed payment through Google
   Pay as well. Is there a way for me to send to you not on open forum?
 *  Plugin Support [Aashik P – a11n](https://wordpress.org/support/users/aashik/)
 * (@aashik)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14087886)
 * > So, I have the error log with a failed payment through Google Pay as well. 
   > Is there a way for me to send to you not on open forum?
 * What do you think about sharing the logs _after REDACTING_ any sensitive data?
 * You can use a service like [https://pastebin.com/](https://pastebin.com/) to 
   then automatically trash the logs after a week or two.
 * _[Please make sure that you redact any private details, including address, name,
   email address, transaction details, API Keys, Passwords, etc]_
 *  Plugin Support [Aashik P – a11n](https://wordpress.org/support/users/aashik/)
 * (@aashik)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14120285)
 * Howdy!
 * We haven’t heard back from you in a while, so I’m going to go ahead and mark 
   this thread as resolved. If you have any other questions please start a new thread.
 * Cheers!
 *  [zacharydorf](https://wordpress.org/support/users/zacharydorf/)
 * (@zacharydorf)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14398769)
 * Hey [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * Did you ever fix this issue. I am also having the issue where apple and google
   pay don’t work via square, receiving the same CARD_TOKEN_USED: Card nonce already
   used with a different idempotency key; please request new nonce.
 * And I also use WooFunnels.
 * I think we have the same issue and I would love to hear how you (if you) got 
   it resolved.
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14398780)
 * [@zacharydorf](https://wordpress.org/support/users/zacharydorf/) the problem 
   still hasn’t been fixed. Woofunnels is on top of it and waiting for the Square
   for Woocommerce plugin to make certain code edits so they can make it available.
   As of right now, the only way to have it work with Woofunnels is to turn off 
   any upsells and automatically capturing the customers card info and saving it.
 *  [zacharydorf](https://wordpress.org/support/users/zacharydorf/)
 * (@zacharydorf)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14399055)
 * [@themassapothecary](https://wordpress.org/support/users/themassapothecary/) 
   Thanks Man, That is such BS. How do you turn off the automatically capturing 
   customers card info in WooFunnels?
 * Sorry I know your probably not technical support lol.
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14399077)
 * [@zacharydorf](https://wordpress.org/support/users/zacharydorf/) you have to 
   email woofunnels and they’ll give you a code snippet to add. But remember, if
   you disable auto saving of card info so Apple/Google Pay can work then 1 click
   upsells don’t work.
 *  [benfrankie](https://wordpress.org/support/users/benfrankie/)
 * (@benfrankie)
 * [5 years ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14521920)
 * [@themassapothecary](https://wordpress.org/support/users/themassapothecary/) 
   do you mind sharing the snippet? my license expired and don’t feel like buying
   a license again just for the snippet.. many thanks!
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [5 years ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14521976)
 * [@benfrankie](https://wordpress.org/support/users/benfrankie/) i would if I had
   it, but I make too much extra with the funnels so I just have the apple & Google
   pay options turned off. Supposedly they are trying to fix it. Well see how long
   that takes 🤔

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Status code CARD_TOKEN_USED’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

 * 15 replies
 * 6 participants
 * Last reply from: [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/status-code-card_token_used/#post-14521976)
 * Status: resolved