At 11:30 PM -0600 11/21/09, Skip Evans wrote:
Hey all,
Every site I've ever stuck a credit card into said "only click
once...". I just this requirement from a client.
a.System should recognize a duplicated click, so the message in red
"only click once" should be unnecessary.
Is this doable???
Has anyone on the list ever done this???
Yes. I have done this before.
Three things:
1. The Credit Card processing company should have "Duplicate
Suppression" turned ON. Contact them.
2. Use javascript to deactivate the Submit button after it's clicked.
3. Just in case the user has javascript disabled, then have your php
form generate a token and place that value in a session. That way,
upon a refresh (double click) you can check if the session contains
anything and if it does, then don't do anything.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php