Announcement

Collapse
No announcement yet.

Form charging donors twice

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CnP.Support
    replied
    Great!

    thank you for sharing.

    I am sure you are going to keep an eye on this but please keep us posted. I am sure this is the issue but let's keep an eye on it.

    Leave a comment:


  • tom@amd3.org
    replied
    Those links you sent did not fix the issue, however this did:

    Insert this script in the header:
    <script>

    function disableButton(button) {
    button.disabled = true;
    button.value = "submitting...."
    button.form.submit();
    }

    </script>

    and this on the submit button:

    onclick="disableButton(this)"

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    All forms need to have validation against double clicks. People double click out of habit and that will result in a double post.

    I did a quick search & here a few post that might help you:


    Using JavaScript to disable form buttons and prevent double submission of an online form. Presenting a 'please wait' message while the form is submitting.


    I am sure you can find others. Developers typically add a JavaScript to block this tendency of end users.

    I hope that helps. Let us know if we can be of any further assistance.

    Leave a comment:


  • tom@amd3.org
    replied
    Not sure how to do that and if we are or not...please advise, thanks!

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    If you look at the order # you will see the following format:

    Order #: 140725 135353513 1178

    First part:
    140725 -> 2014 - July - 25
    Second part:
    13 53 53 51 3 -> Time: 1 p.m. - 53 minutes- 53 seconds - 3/10 seconds
    Third part: last 4 digits of the card

    Looking at the order numbers will help you find the exact time the transaction was posted to the API. As is clearly evident the transaction pair you listed are posted as different transactions one after another:

    Order #140725 13 53 51 88 8 1178
    Order #140725 13 53 53 51 3 1178

    this behavior is almost identical to what I have seen before when people treat websites like desktop and double click on buttons. The clicks are less than 2 seconds apart.

    Are you sure you are blocking double clicks on your forms?


    Leave a comment:


  • tom@amd3.org
    replied
    Form: https://www.amd3.org/donate-now/

    Order numbers of duplicates

    Order # 1408041919220229851
    Order # 1408041919142099851

    Order # 1407241400581971178
    Order # 1407241400116821178

    Order #1407251353518881178
    Order #1407251353535131178

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    If the order numbers are different then your form is posting to us twice and we are processing. The API has not changed since if it has it would charge all of our transactions twice as well. Please note all Click & Pledge forms, carts, event, virtual terminal use the same API that you are using so the issue is elsewhere.

    I am not sure what you mean by Transaction-1399 - would you please post the order numbers so we can locate the transactions and help you pin-point the issue.

    Also where is the form these transactions are coming from?

    Leave a comment:


  • tom@amd3.org
    started a topic Form charging donors twice

    Form charging donors twice

    Not sure what has changed, the form was working well until a few weeks ago. Now it seems it double charges many transactions (some have come through as singles, but most get charged twice).

    I looked at the C&P Data, it looks like both charges are coming through at the exact-same time.

    I have granted access, org id 00DA0000000aYkB

    Double Charges:
    Transaction-1399
    Transaction-1400

    Transaction-1381
    Transaction-1382

    Transaction-1376
    Transaction-1375
Working...
X