Re: Orderfile context problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18762
interpreted = N
texte = Is there any way you guys can add a context in the next release that onlydisplaysorder files? Either that or correct the documentation :).The whole reason that I am doing this is so that orders that get an AVS=Nfrom PC Authorize do not get processed. Does anybody out there use a creditcard authorization tool that does not approve credit cards that get anAVS=N?Thanks,KellyPCS Technical Support wrote:> > When I use the [Orderfile] context to display the contents of order> >files I am getting something unexpected. If the file I am looking for> >exists everything displays as I expect. If, however, the file I am> >looking for does not exist in the folder, it CREATES the file.>> There were complaints in the exact opposite direction; some people wanted> the file created if it didn't exist. I suggest you use [FileInfo] to see> if the file exists before doing anything with it, or else use [ListFiles]> to walk thru the list of existing files in that folder.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Is there any way you guys can add a context in the next release that onlydisplays
order files? Either that or correct the documentation :).The whole reason that I am doing this is so that orders that get an AVS=Nfrom PC Authorize do not get processed. Does anybody out there use a creditcard authorization tool that does not approve credit cards that get anAVS=N?Thanks,KellyPCS Technical Support wrote:> > When I use the
[orderfile] context to display the contents of order> >files I am getting something unexpected. If the file I am looking for> >exists everything displays as I expect. If, however, the file I am> >looking for does not exist in the folder, it CREATES the file.>> There were complaints in the exact opposite direction; some people wanted> the file created if it didn't exist. I suggest you use
[fileinfo] to see> if the file exists before doing anything with it, or else use
[listfiles]> to walk thru the list of existing files in that folder.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Kelly Grady
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:
Normalizing Dates and Phone numbers (2000)
[WebDNA] Databases not staying open (2010)
WebCat for Unix?? (1997)
What about that Cc and Bcc bug? (2000)
delete fails (2000)
Random info is still wrong ... (2000)
[WebDNA] autonumber duplication, time stamp issue & (2010)
[protect admin] (1997)
Re:Searching for ALL / empty form field *the FINAL answer* (1997)
FlushDatabase Suggestion (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Exclamation point (1997)
HTML Editors (1997)
New Plug-in and Type 11 errors (1997)
Nested tags count question (1997)
Date/Time format problems (1997)
External Images (1998)
Moment of Thanks (1997)
using showpage and showcart commands (1996)
Absolute path (2003)