Are other people seeing the error message:

> Payment Processor Error message: 9003: It appears that this transaction is a duplicate. Have you already submitted the form once? If so there may have been a connection problem. Check your email for a receipt from eWAY. If you do not receive a receipt within 2 hours you can try your transaction again. If you continue to have problems please contact the site administrator.

We are using the Eway Payment processor and CiviCRM.

We had a donation and a membership submitted at the same time and we had the donation go through but not the membership. The membership seemed to fail regularly so I rebuilt the form with profiles and captcha. We are still getting this error.

I can see the error message in the code. https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Payment/eWAY.php. It looks as though it is checking for a unique invoice id. Is there a way to manage the way invoice id's are created that we are not managing correctly? Is it a race condition?

CiviCRM 4.7.17.

The http server logs (cleaned up) from this IP address are:

    [06/Apr/2017:16:02:32	+1000]	POST /civicrm/contribute/transact HTTP/1.1	200	16030	https://www.colongwilderness.org.au/civicrm/contribute/transact?reset=1&id=1
    [06/Apr/2017:16:05:07	+1000]	POST /civicrm/contribute/transact HTTP/1.1	200	15965	https://www.colongwilderness.org.au/civicrm/contribute/transact
    [06/Apr/2017:16:05:36	+1000]	POST /civicrm/contribute/transact HTTP/1.1	200	15947	https://www.colongwilderness.org.au/civicrm/contribute/transact
    [06/Apr/2017:16:06:05	+1000]	POST /civicrm/contribute/transact HTTP/1.1	302		https://www.colongwilderness.org.au/civicrm/contribute/transact
    [06/Apr/2017:16:06:34	+1000]	POST /civicrm/contribute/transact HTTP/1.1	302		https://www.colongwilderness.org.au/civicrm/contribute/transact?_qf_Confirm_display=true&qfKey=d30c3a51b960fea81a73d70d656af1a9_8907

It is referring back to itself which I can't explain.

A working test (form 4 not form 1)

    [07/Apr/2017:05:10:25	+1000]	POST /civicrm/contribute/transact HTTP/1.1	302		https://www.colongwilderness.org.au/civicrm/contribute/transact?reset=1&id=4
    [07/Apr/2017:05:10:59	+1000]	POST /civicrm/contribute/transact HTTP/1.1	302		https://www.colongwilderness.org.au/civicrm/contribute/transact?_qf_Confirm_display=true&qfKey=37ea51cf5a1e3f5197f136c5801cba2f_4643

The log does show that the contribution was being made on an old form that I had replaced. 

This form only uses the inline options for donations and memberships. Thew new form uses price sets.

Old form configuration

[![enter image description here][1]][1]

With a membership section

[![enter image description here][2]][2]


  [1]: https://i.sstatic.net/IR4KI.png
  [2]: https://i.sstatic.net/RnE7C.png