[ic] Quick and stupid question about elsif structures.

Ed LaFrance edl at newmediaems.com
Fri Sep 26 10:01:54 EDT 2003

At 03:28 PM 9/26/2003 +0800, you wrote:
>I have modfied Order.pm to connect to a socket. This talks to the
>Camtech payment gateway tcpdaemon.

Any reason why you didn't follow the example of all the other payment 
modules, which use Payment.pm and Payment/Modulename.pm? Just curious - 
seems like it would have been easier, since payment handling is designed 
this way.

>They have asked that I disable the the 'submit order button' from being
>clicked twice.
>Does anyone have any ideas?
>Frank Reitzenstein.

I would suggest that you add one more page to the checkout chain. When they 
click Sumbit Order, and all order checks pass successfully, load a new page 
which says something like "Please wait: processing credit card. Do not 
refresh this page or click the back button on your browser". And do your 
call to the payment processor at this point. Then onto the receipt page if 

- Ed L.

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list