wierd [cart] action!

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12687
interpreted = N
texte = Greetings:Include two files for email processing. First one interprets [cart] correctly. Second one (which processes twice if user puts a different shipping and billing email address) replaces [cart] with a DIFFERENT number, which DOESN'T exist in either the Orders or Shopping Cart folders. Here are the three cart numbers that were processed:=== Correct One: 869788356405 Wrong 1: 869788431414 Wrong 2: 869788431416 ===Here are the snippets from the .tpl file that calls the includes:=== [include incs/fulfillment.inc][showif [email]!] [include file=incs/thankyou.inc&v.email=[email]] [/showif][showif [ShipToEmail]!] [include file=incs/thankyou.inc&v.email=[ShipToemail]] [/showif] ===Here is a snippet from fulfillment.inc (the one that works):=== [SendMail to=olin@worldpoint.com&subject=test&from=goglobal@worldpoint.com]Test,Order Number: [cart] ===Here is the snippet from thankyou.inc which wierds out:=== [SendMail to=[v.email]&subject=Thank You Test!&from=test@test.com]After payment is confirmed, your order will be processed.Order Number: [cart] ===Same calls, same .tpl file, same sendmail context, yet TOTALLY different carts for all three emails? The only file that exists on the drive is the correct cart number order file. The others don't. Even more wierd is that all three have the correct cart contents within the body of the email.Specs: B19, NT4.0, IIS3.0Reporting,Olin..................................................................... W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creation Honolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 ..................................................................... Associated Messages, from the most recent to the oldest:

    
  1. Re: wierd [cart] action! (Grant Hulbert 1997)
  2. Re: wierd [cart] action! (bob 1997)
  3. Re: wierd [cart] action! (Olin 1997)
  4. wierd [cart] action! (Olin 1997)
Greetings:Include two files for email processing. First one interprets [cart] correctly. Second one (which processes twice if user puts a different shipping and billing email address) replaces [cart] with a DIFFERENT number, which DOESN'T exist in either the Orders or Shopping Cart folders. Here are the three cart numbers that were processed:=== Correct One: 869788356405 Wrong 1: 869788431414 Wrong 2: 869788431416 ===Here are the snippets from the .tpl file that calls the includes:=== [include incs/fulfillment.inc][showif [email]!] [include file=incs/thankyou.inc&v.email=[email]] [/showif][showif [ShipToEmail]!] [include file=incs/thankyou.inc&v.email=[ShipToemail]] [/showif] ===Here is a snippet from fulfillment.inc (the one that works):=== [SendMail to=olin@worldpoint.com&subject=test&from=goglobal@worldpoint.com]Test,Order Number: [cart] ===Here is the snippet from thankyou.inc which wierds out:=== [SendMail to=[v.email]&subject=Thank You Test!&from=test@test.com]After payment is confirmed, your order will be processed.Order Number: [cart] ===Same calls, same .tpl file, same sendmail context, yet TOTALLY different carts for all three emails? The only file that exists on the drive is the correct cart number order file. The others don't. Even more wierd is that all three have the correct cart contents within the body of the email.Specs: B19, NT4.0, IIS3.0Reporting,Olin..................................................................... W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creation Honolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 ..................................................................... Olin

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:

SiteEdit Pro Update Announcement (1997) emailer (1997) RE: textarea question (1998) # fields limited? (1997) [blank] (2005) emailer (1997) Developer Info (2000) search between two dates (2003) [WriteFile] problems (1997) WC2b15 File Corruption (1997) WC TableGrinder (1997) Where is the secure setting for text variables? (2003) Sitebuilder (2004) WebCat2 beta FTP site (1997) Location of Browser Info.txt file (1997) syntax question, not in online refernce (1997) Tab Charactor (1997) searchable list archive (1997) Server Slowdown (1999) What is WebDNA (1997)