We process membership registration/renewal using several civicrm webforms, and at random, clients will be charged twice (so transactions will be processed twice); receipts will be sent twice, and/or there may be a duplicate webform submission. So both errors happen - about 90% goes well, but from my examples

  • 2 registrations have 1 submission with 2 receipts
  • 2 registrations have 2 submissions with 1 receipt
  • 10 registrations have 2 submissions and 2 receipts ('doubleclick')
  • 1 registration has 2 submissions and 3 receipts

I see no pattern. I can't find log messages about this.

It seems to happen with all those forms; on each form, the membership type is selected in the civicrm tab of the webform; the membership fee in the membership subtab is unchecked; the contribution amount om the contribution subtab is unchecked. The underlying payment pages have no amounts configured. So civicrm_webform should get the amount from the membership type definition in CiviCRM (right ? looks that way).

They are all multistep forms, with the payment section at the end. I'm not caching results between steps, because that can break the payment sections javascript on reload.

We've been going through some updates, and I don't know when this started. Right now the box is shiny and uptodate.

It seems like a timing issue; or forked threads going wild, like communication with the mailserver or payment api. Can that be ?

  • Have you ruled out double clicking on the Submit button?
    – petednz - fuzion
    Aug 4, 2017 at 0:21

1 Answer 1


My first thought is (similar to what Pete's suggesting) to try: https://www.drupal.org/project/hide_submit


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.