cancel
Showing results for 
Search instead for 
Did you mean: 

Preventing duplicate transactions but allowing upsells

I have a checkout that processes an order using the CIM api. This creates a customer payment profile, then gives the user the option to purchase a '1 click upsell', by adding a tranaction to this profile.

 

My problem is with duplicate orders as some users are refreshing the page and triggering multiple orders. I have seen that there is a 'x_duplicate_window' parameter which I can set to ignore orders in a certain timeframe, but I think this will also ignore the upsell. 

 

Is there a way around this? to perhaps identify a product by name and prevent duplicate orders being submitted for that, but at the same time, allowing an upsell product to be purchased, straight after?

 

Thanks

chrisallen1
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Here is the list of duplicate transaction fields

http://community.developer.authorize.net/t5/Integration-and-Testing/Duplicate-Transactions-AIM/m-p/2...

 

If the amount is different, it wouldn't trigger the duplicate transaction error.

 

View solution in original post

RaynorC1emen7
Expert
1 REPLY 1

Here is the list of duplicate transaction fields

http://community.developer.authorize.net/t5/Integration-and-Testing/Duplicate-Transactions-AIM/m-p/2...

 

If the amount is different, it wouldn't trigger the duplicate transaction error.

 

RaynorC1emen7
Expert