Title: Error Processing: payment_method_nonce
Last modified: March 6, 2023

---

# Error Processing: payment_method_nonce

 *  Resolved [laelwalt](https://wordpress.org/support/users/laelwalt/)
 * (@laelwalt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/)
 * Since February 2023, we are seeing a remarkable number of failed orders, but 
   there is a duplicate successful order. Sometimes with the same order number, 
   and sometimes with a different one. The orders happen in the same minute. This
   has happened 10 times in 1 month. There are 2 errors that are listed:
 * Eight times, the error is this: “Error processing payment. Reason: Cannot use
   a payment_method_nonce more than once.”
 * Two times, the error is this: “Gateway Rejected: duplicate”
 * Prior to this, there has been 1-2 failed orders in a month with a variety of 
   reasons listed. This is my first time asking for help, so I’m not sure what more
   information to provide. Please advise.

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16533694)
 * Hi [@laelwalt](https://wordpress.org/support/users/laelwalt/)
 * It sounds like you have a plugin that’s triggering a PHP exception during the
   checkout process that’s causing the customer to re-submit their payment. The 
   payment nonce has been consumed, so that’s where the `Cannot use a payment_method_nonce
   more than once` notice somes from.
 * Navigate to your WooCommerce > Status > Logs page and look for a log file called`
   fata-errors` with a timestamp. What does that log say? It should point to the
   plugin that’s triggering the exception.
 * Kind Regards,
 *  Thread Starter [laelwalt](https://wordpress.org/support/users/laelwalt/)
 * (@laelwalt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16537434)
 * Thanks for your reply! I’m on the Logs page, and I am using the file search that
   has the drop down of all the logs. I search for “fata-errors” and there are no
   matches. Thoughts?
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16537480)
 * Hi [@laelwalt](https://wordpress.org/support/users/laelwalt/)
 * > Sometimes with the same order number, and sometimes with a different one.
 * Can you elaborate on that more? How do you have a duplicate order on your site
   but with the same Order ID? Order ID’s are generated by the WordPress database
   and they are sequential. It’s usually not possible to have the database generate
   a duplicate order ID.
 * Do you have another website using the same Braintree account?
 * Kind Regards
 *  Thread Starter [laelwalt](https://wordpress.org/support/users/laelwalt/)
 * (@laelwalt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16540916)
 * > [View post on imgur.com](https://imgur.com/a/oBBXQW4)
 * This is what it looks like from the list of orders. Two orders with the same 
   number, but one fails and the other one is completed. Two separate line items
   that occur at the same time. The order note on both of these have a timestamp
   of 12:34pm. The failed order note says: “Error processing payment. Reason: Cannot
   use a payment_method_nonce more than once.” The other order is processed correctly.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16546094)
 * Hi [@laelwalt](https://wordpress.org/support/users/laelwalt/)
 * You should never have two orders with the same ID becauses those are generated
   by the WordPress posts table and are sequential. The fact that you have two orders
   with the same ID might point to a larger problem.
 * The Braintree plugin never creates orders, it is fed the order object by WooCommerce
   so the payment can be processed.
 * I am not sure why you would be getting duplicate order ID’s but I would start
   by trying to solve that issue then turn your attention to the payment error `
   Cannot use a payment_method_nonce more than once`. The Braintree error is most
   likely a symptom of the duplicate order issue.
 * Kind Regards
 *  Thread Starter [laelwalt](https://wordpress.org/support/users/laelwalt/)
 * (@laelwalt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16548457)
 * Thank you for your help. I have one more question before I close this thread.
   Should I seek additional help directly from WordPress, where the ID is generated,
   or from WooCommerce?

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

The topic ‘Error Processing: payment_method_nonce’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [laelwalt](https://wordpress.org/support/users/laelwalt/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/error-processing-payment_method_nonce/#post-16548457)
 * Status: resolved