Pardon me if this turns into a double posting, but for some reason CF-Talk 
isn't getting my emails.  So I tried the Yahoo interface once but there's text 
there with a link saying it should be done from 
http://www.houseoffusion.com/groups/CF-Talk/reply.cfm.

=====================================

Anyone using Paymentech's real-time credit card validation?  I'm having a 
problem with their service because there are circumstances where they'll send 
back two replies.  It's due in part I think to my customers clicking twice on 
the Submit button, so I've got some Javascript preventing that second click, 
but some people's Javascript doesn't work because they've either got it turned 
off or they're using some funky browser.  Large text saying "PLEASE JUST CLICK 
ONCE" is also sometimes ignored.  You'd think that Paymentech would prevent 
this problem on their end but they're apparently incapable of doing so (trying 
to get them to do the slightest thing to fix anything is impossible, my 
recommendation is not to ever use their services if you're not already, they 
are an incredibly slothful and lazy bureaucracy and don't care about individual 
customers since they've got plenty).  So my site gets two replies back from 
them sometimes -- this should really be no problem because after all I am 
recording in my DB that the first reply was received and I don't accept a 
second if the DB already has a record saying the first one was received.  BUT 
what can happen is that due to the transmission latencies varying, a second 
reply from Paymentech can come in before the first one is finished processing 
and therefore there's no record in my DB yet that the first one has been 
received.  So they both can get processed!  

I'm thinking about solving this problem by creating an Application variable for 
each reply from Paymentech, named after the unique identifier for the 
transaction.  This would be way faster than the DB can get a record stuffed 
into it.  I'd simply check with each reply from Paymentech to see whether or 
not an application variable by the name of the unique identifier already exists 
or not, and process the transaction only if it doesn't.  I'm writing to ask if 
anyone here has dealt with a dependency like this, and is my intended solution 
the best one?  

Thanks,

Karl S.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270236
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to