Posts: 1
Registered: ‎10-12-2011

duplicate error after a decline transaction

When a credit card is declined and the user tries to correct and resubmit the information, rejects the second submission with a duplicate transaction error.  Of course the amount and invoice number will be the same.  How can I fix this and still have a real duplicate rejected?

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: duplicate error after a decline transaction

The AIM API allows you to specify the window of time after a transaction is submitted during which the payment gateway checks for a duplicate transaction (based on credit card number, invoice number, amount, billing address information, transaction type, etc.) using the duplicate window field (x_duplicate_window). The value for this field can be between 0 and 28800 seconds (maximum of 8 hours). 

The duplicate window value sets the amount of time required between duplicate transactions. A duplicate transaction error shouldn't be triggered unless all the values listed above are the same.