Title: Duplicate Transaction Checking
Last modified: August 21, 2016

---

# Duplicate Transaction Checking

 *  [Harelin](https://wordpress.org/support/users/harelin/)
 * (@harelin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/)
 * I have a situation where some customers are frequently inclined to submit two
   or more orders, one after the other, each at the same cost. However, if Braintree’s
   duplicate transaction checking feature is enabled and the customer is still within
   the window of time, these legitimate transactions will fail to process through(
   gateway rejection). It seems to detect these transactions as duplicates even 
   if the customer has initiated a new Gravity Forms submission.
 * I like to use the duplicate transaction safeguard because some of my customers
   also have a habit of clicking the back button or reloading. In those situations,
   if the duplicate transaction safeguard isn’t active, it will initiate a second
   transaction with a new transaction ID. If I could, for this reason I would extend
   duplicate transaction checking to the maximum 1hr allowed, but I can’t because
   that would prevent legitimate transactions from going through.
 * Braintree’s Duplicate Transaction Checking checks for: same credit card number,
   expiration date, order id and amount.
 * So my question: is this plugin generating a unique order ID to help Braintree
   distinguish between orders for the purpose of duplicate transaction checking?
   If it isn’t, and that could be added, I think that would completely resolve my
   problem. Each transaction has a unique order ID in Braintree, but I wonder if
   that isn’t assigned by Braintree (not the plugin). Hopefully I’ve explained this
   well enough.
 * [https://wordpress.org/plugins/gravity-forms-braintree/](https://wordpress.org/plugins/gravity-forms-braintree/)

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

 *  Plugin Contributor [lukerollans](https://wordpress.org/support/users/hellolukerollansme/)
 * (@hellolukerollansme)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141188)
 * Hey Harelin,
 * We will look in to a way to add some sort of nonce to the transaction to satisfy
   Braintrees duplicate transaction checks if the API allows for it.
 * I’ve marked this as “not a support question”, but it definitely has our attention.
 * Thanks for the feedback!
 *  Plugin Contributor [lukerollans](https://wordpress.org/support/users/hellolukerollansme/)
 * (@hellolukerollansme)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141189)
 * [https://github.com/plugify/gravity-forms-braintree/issues/18](https://github.com/plugify/gravity-forms-braintree/issues/18)
 *  Thread Starter [Harelin](https://wordpress.org/support/users/harelin/)
 * (@harelin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141190)
 * Sounds good, thanks!
 *  Thread Starter [Harelin](https://wordpress.org/support/users/harelin/)
 * (@harelin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141399)
 * Just a heads up, I’ve just realized this problem is probably unique to forms 
   that have AJAX disabled. If you have AJAX enabled and reload the page or press
   the Back button, and you have a multi-page form, it’s going to bump you back 
   to the first page of the form. If you have AJAX disabled and you reload on the
   confirmation page, it’s going to re-submit the order. Big difference.
 *  Thread Starter [Harelin](https://wordpress.org/support/users/harelin/)
 * (@harelin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141401)
 * This has become a more severe problem and I am going to have to stop using this
   plugin as a result. I had a duplicate transaction come through today for an order
   that was placed yesterday. I thought enabling AJAX on my form would resolve it(
   for the reason given in my above post), but no such luck apparently.
 * I believe it has something to do with smart phones, customers leaving the confirmation
   page open, and the mobile browser automatically refreshing when they re-access
   the tab at a later time. But that shouldn’t be happening with AJAX forms; when
   it reloads the page it should go back to the first page in the multi-page form.
 * I can’t pin it down though, I don’t think this has been the case for every customer
   to experience the issue. Bottom line is that I don’t think I can resume using
   this plugin until it has some safeguard in place to prevent duplicate transactions
   when these duplicate orders are triggered.
 *  Thread Starter [Harelin](https://wordpress.org/support/users/harelin/)
 * (@harelin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141417)
 * Relevant:
    [https://wordpress.org/support/topic/plugin-gravity-forms-eway-accidental-duplicate-payments?replies=6](https://wordpress.org/support/topic/plugin-gravity-forms-eway-accidental-duplicate-payments?replies=6)

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

The topic ‘Duplicate Transaction Checking’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-braintree_fbb741.svg)
 * [Gravity Forms Braintree Add-On](https://wordpress.org/plugins/gravity-forms-braintree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-braintree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-braintree/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-braintree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-braintree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-braintree/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Harelin](https://wordpress.org/support/users/harelin/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/duplicate-transaction-checking/#post-5141417)
 * Status: not a support question