x

Card nonce already used; please request new nonce message

Every so often, a customer does not enter their payment information correctly from their credit/debit card and gets a declined message.  They then try entering the correct information and then get "Card nonce already used; please request new nonce."  What do they have to do to process the card information again without getting the "card nonce already used" message?   

5,539 Views
Message 1 of 7
Report
1 Best Answer

Best Answer

Hello @direct007!

 

It sounds like your API is not creating a new card nonce after each submit. You should be calling paymentForm.requestCardNonce() to make sure you're getting a new card nonce after each submission. 

 

If you're still having trouble with this, please @ mention me. We will find a solution together. 🙂

View Best Answer >

5,516 Views
Message 2 of 7
Report
6 REPLIES 6

Best Answer

Hello @direct007!

 

It sounds like your API is not creating a new card nonce after each submit. You should be calling paymentForm.requestCardNonce() to make sure you're getting a new card nonce after each submission. 

 

If you're still having trouble with this, please @ mention me. We will find a solution together. 🙂

5,517 Views
Message 2 of 7
Report

any solution for that eror?

 

5,036 Views
Message 3 of 7
Report

The problem was occurring so much that we contacted the developer that had done the install of the square payment module and he disappeared (no reply to emails or phone calls).  So we ended up going with another developer's module and haven't had the issue again since we switched.

5,031 Views
Message 4 of 7
Report
Square Community Moderator

Thanks for stepping in here and sharing what worked for you, @direct007! We appreciate you sharing your experience. 

Joe
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
5,005 Views
Message 5 of 7
Report

Hi Chad,

 

I'm having this same issue. It happens quite often. It mostly happens on our cartflows checkout pages. Since this specific error doesn't happen on our normal global checkout, I'm thinking the issue has to do with the way the cartflows plugin and square for woocommerce interact with each other. Can you help me to find a solution? It's been happening so often and all the people I've chatted with haven't been able to help me.

4,397 Views
Message 6 of 7
Report

Thank you for this post. We just ran into this issue...thankfully the customer was able to checkout using credit card...but she received the nonce error 3 times.....going to try what you said and request new nonce on each new submit of apple pay.

 

For Apple Pay....since you cannot really enter information incorrect....does this apply maybe if someone tries to checkout with apple pay and it fails due maybe to card having been reported lost? Still in Apple Pay...not expired...but no good.....Then on try of additional card in Apple Pay...unless you request new nonce, are we saying that without the implementation of what you mentioned above....each subsequent attempt to checkout with apple pay would fail?

3,840 Views
Message 7 of 7
Report