[ic] Checkout button pressed twice, double charge

Peter peter at pajamian.dhs.org
Mon Mar 2 04:12:40 UTC 2009


On 03/01/2009 04:19 PM, tom at readyink.com wrote:
> I am working with someone who has an old catalog (it uses .txt files) with
> a custom charge module.  Sometimes he has people whose card is charged
> twice.  Is there any code in newer IC to prevent people pressing twice, or
> going back and pressing again?  Thinking about it now, I think the best
> place to put this would be in the payment module itself.

Have a look at the wait_text attribute to the button tag for starters:
http://www.interchange.rtfm.info/icdocs/tags/button.html#wait_text

...also, some payment processors have an option to reject duplicate
transactions within a certain time period.  Certainly you could also
simulate this in the payment module itself, as you point out above.

Peter




More information about the interchange-users mailing list