Re: Doing VALIDCARD right?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21225
interpreted = N
texte = Ok.... kind works but follow me through this:I added the contexts to the thankyou.tpl and entered a card number I knew was fake.... pass this from the invoice.tpl to the the thankyou.tpl.The result was an error message from WebcatError: We do accept that type of card.I went back and added a good Discover Card which is not listed as one accepted in the validcard arguement (only MC and VISA would trigger T of F).That passed me to the thankyou.tpl and the [showif] contexted kicked in saying: blah blah ... something that deals with bad cards.Then I hit the back button and insert a good MasterCard and submit and get this:Error: this shopping cart has already been submitted and is pending approval End of street for me..... where do I go from here? Mooseman>Doh! A little misplaced copy/paste on that last post. The code snippet >should have been as follows (not that the T and F gave it away : ) > >[showif [payMethod]=CC] > >[showif [validcard accountNum=[accountNum]&card=VISA+MC]=F] > >... something that deals with bad cards > >[/showif] > >[showif [validcard accountNum=[accountNum]&card=VISA+MC]=T] > >... something that deals with *good* cards > >[/showif] > >[/showif] On 11/23/1998 11:53 am, The Mooseman so noted...>Right now I have this code (presumably no checking occurs): > >Payment: > > >Account: > >...submit > >Alrighty then: > >To make VALIDCARD work is this all I have to do? > >Account: > >...submit > >? Associated Messages, from the most recent to the oldest:

    
  1. Re: Doing VALIDCARD right? (PCS Technical Support 1998)
  2. Re: Doing VALIDCARD right? (The Mooseman 1998)
  3. Re: Doing VALIDCARD right? (Rob Marquardt 1998)
  4. Re: Doing VALIDCARD right? (Rob Marquardt 1998)
  5. Re: Doing VALIDCARD right? (PCS Technical Support 1998)
  6. Doing VALIDCARD right? (The Mooseman 1998)
Ok.... kind works but follow me through this:I added the contexts to the thankyou.tpl and entered a card number I knew was fake.... pass this from the invoice.tpl to the the thankyou.tpl.The result was an error message from WebcatError: We do accept that type of card.I went back and added a good Discover Card which is not listed as one accepted in the validcard arguement (only MC and VISA would trigger T of F).That passed me to the thankyou.tpl and the [showif] contexted kicked in saying: blah blah ... something that deals with bad cards.Then I hit the back button and insert a good MasterCard and submit and get this:Error: this shopping cart has already been submitted and is pending approval End of street for me..... where do I go from here? Mooseman>Doh! A little misplaced copy/paste on that last post. The code snippet >should have been as follows (not that the T and F gave it away : ) > >[showif [payMethod]=CC] > >[showif [validcard accountNum=[accountNum]&card=VISA+MC]=F] > >... something that deals with bad cards > >[/showif] > >[showif [validcard accountNum=[accountNum]&card=VISA+MC]=T] > >... something that deals with *good* cards > >[/showif] > >[/showif] On 11/23/1998 11:53 am, The Mooseman so noted...>Right now I have this code (presumably no checking occurs): > >Payment: > > >Account: > >...submit > >Alrighty then: > >To make VALIDCARD work is this all I have to do? > >Account: > >...submit > >? The Mooseman

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

SQL statements (2002) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Re(6): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Hiding my Source Code with W* (2000) removing commas from a preformatted number (2000) [WebDNA] port from mime headers? (2017) Change Subtotal (2000) Still Stumped on ShowNext...HELP! (1997) WebCatalog seems to choke on large (2meg) html files. (1998) email [title] (1997) Popup Menu Options (1998) form crasehes server (1997) RE: Subtotal help (1997) Generating Report Totals (1997) Design Help Needed (1998) Showif for mulitple variations (1997) Every other record deleted (2005) Multiple fields on 1 input (1997) redirect within the ErrorMessages.db (2003) Country & Ship-to address & other fields ? (1997)