PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

double submission and payment

  1. pshot
    Member

    had a user today submit the exact same form 6 seconds apart with 2 separate transaction id's ...both submissions charged her credit card

    is it possible that the user clicked the submit button 2 times,in frustration of waiting for the credit card to clear?

    Is this normal that 2 clicks could create this problem?

    shouldn't the form submit and payment clear after just 1 click?

    Older people tend to click things 2 times...at least Ive noticed that ...any insight ...dont need this happening to much,and would like to curb this behavior if possible.

    Thanks
    Steve

    Posted 12 years ago on Wednesday December 19, 2012 | Permalink
  2. is it possible that the user clicked the submit button 2 times,in frustration of waiting for the credit card to clear?

    Yes, this is possible.

    Is this normal that 2 clicks could create this problem?

    Yes, if the form is submitted twice, this problem can occur.

    One thing you can do is disable the submit button after the form is first submitted. Here is one discussion of how to do it with JavaScript: http://stackoverflow.com/q/5445431

    Google has more answers as well:
    https://www.google.com/search?q=disable+submit+button+after+form+is+submitted

    Posted 12 years ago on Wednesday December 19, 2012 | Permalink
  3. pshot
    Member

    So your saying the form is working as intended
    that's fantastic!

    Ahhhh, am I off-base here in thinking that the javascript you are sending me too ( thanks for the link to google by the way ) should be built into the plugin???

    Who wants forms submitted 2 times?

    the form wasnt submitted twice...it was submitted,there was an error the form told her so......... ...the user corrected the error,and then submitted the form......yes pushed the button twice...which would be normal...if they make an error

    Posted 12 years ago on Wednesday December 19, 2012 | Permalink
  4. I don't think the functionality to disable the submit button will be added to the plugin, as it can be added as you need it using JavaScript.

    The payment should not have been processed twice if the user was correcting a validation error. When a validation error occurs, the post submission actions (like payment) are not completed. The validation error needs to be corrected and then the form can be submitted. I'm not sure we will be able to recreate the situation that occurred on your site.

    Are you using the PayPal Pro or Standard add-on?

    Posted 12 years ago on Thursday December 20, 2012 | Permalink
  5. Chris,
    Had this issue yesterday too. Client submitted it over 3 times. Where do we place this javascript code to disable the submit button once they clicked it.

    Posted 12 years ago on Friday December 21, 2012 | Permalink
  6. JavaScript will be added to the head section of the web page where the form is located.

    http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 12 years ago on Friday December 21, 2012 | Permalink
  7. pshot
    Member

    yes its paypal pro

    the submission processed twice .....as did payment ( we then had to refund the dollar value )

    ill look into the javascript .....but it would seem to me that it should be built into the plugin,its your plugin...im just a user......youll do as you think is best.

    the bare minimum the javascript should be in a text file.."place this in the head of your document if you dont want to issue refunds" sending your users ( some of whom are non coders ie: me ) off to try and figure out how to fix a problem ..that probably shouldnt exist.................to me at least...doesn't make sense.

    other than this ...great plugin

    Posted 12 years ago on Sunday December 23, 2012 | Permalink
  8. Thanks you for your feedback, and sorry for the frustration. I will bring it to the attention of the development team.

    Posted 12 years ago on Sunday December 23, 2012 | Permalink

This topic has been resolved and has been closed to new replies.