Reply
Highlighted
Member
Posts: 8
Registered: ‎10-17-2009

Please help: E00027 A duplicate transaction has been submitted.

The steps:

1. At first I enter a credit card but put in the wrong Security Code,

2. Submit

3. Get an error "The credit card number is invalid". This is correct.

4. Click back to get back to the credit card page.

5. Correct the Security code.

6. Submit again.

7. Get get an unimaginab error "A duplicate transaction has been submitted" when create Customer Payment Profile. 

Please see the Request  and Response below.

I have confirm there is not any Payment Profile under the Customer Profile. 

What causes the issue? How to fix it? 

 

The Request is below:

<createCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>***</name><transactionKey>*****</transactionKey></merchantAuthentication><customerProfileId>*****</customerProfileId><paymentProfile><billTo><firstName>****</firstName><lastName></lastName><company></company><address>***</address><city>Tecumseh</city><state>**</state><zip>***</zip><country>***</country><phoneNumber>****</phoneNumber><faxNumber></faxNumber></billTo><payment><creditCard><cardNumber>********</cardNumber><expirationDate>***</expirationDate><cardCode>***</cardCode></creditCard></payment></paymentProfile><validationMode>liveMode</validationMode></createCustomerPaymentProfileRequest> 

 

The Response is below:

<createCustomerPaymentProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00027</code><text>A duplicate transaction has been submitted.</text></message></messages><validationDirectResponse>3,1,11,A duplicate transaction has been submitted.,,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,0.00,CC,auth_only,none,mark kordyzon,,,********* </validationDirectResponse></createCustomerPaymentProfileResponse> 

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

Re: Please help: E00027 A duplicate transaction has been submitted.

Did it give you back a customer profile ID the first time? Be helpful to see the result of the first request as well as the second.

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Please help: E00027 A duplicate transaction has been submitted.

It a known issue.

When creating a payment profile, there is an option for validation(livemode or testmode). On livemode it will create a auth_only then void transaction for $0.01 or $0.00 to test the cc#. The standard duplicate window is 2 min and that why you are getting the error.