Fits with error message

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37605
interpreted = N
texte = All-I've got a strange one that's giving me fits.I have an admin template that displays all unfilled orders. On it is a link that leads to a template (redirectvieworder.tpl) that sets a session cookie with the cart number from an order and fills the cart with the items they ordered previously. [ordername] is the cart number from the customer's order, and is passed into the redirectvieworder.tpl template with the following link: http://www.novaderm.com/redirectvieworder.tpl?ordername=[ordername]This template then redirects to a page (vieworder.tpl) which displays their order. The code for redirectvieworder.tpl is listed below.The problem is, on certain orders the redirect fails, and WebCatalog generates the error Error: Sorry, we do not accept that type of credit card. I can't understand why this would happen, since I'm not doing anything with [accountnum] on this template, and I certainly don't have any [validcard] tags. Webcat 4.02rc2 OSX iTools 6.1????Will Starck NovaDerm skin care science http://www.novaderm.comHere's the template code:[SetCookie name=SessionID&value=[ordername]&path=/&domain=.novaderm.com][search db=orders.db&eqordernamedatarq=[ordername]][founditems][setheader cart=[ordername]]name=[name]&email=[email]&address1=[address1]&city=[city]&s tate=[state]&zip=[zip]&phone=[phone]&country=[country]&shiptoname=[shiptonam e]&shiptoaddress1=[shiptoaddress1]&shiptocity=[shiptocity]&shiptostate=[ship tostate]&shiptozip=[shiptozip]&shiptocountry=[shiptocountry]&card=[card]&exp month=[expmonth]&expyear=[expyear]&shipvia=[shipvia]&ordertotal=[ordertotal] [/setheader][/founditems][/search][math show=f]count=0[/math][orderfile ShoppingCarts/[ordername]][lineitems][math show=f]count=[lineindex][/math][/lineitems][/orderfile][hideif [count]>0][showif [GetCookie NovaUserID]=][search db=lineitems.db&eqordernamedatarq=[ordername]][founditems][addlineitem db=catalog.db&cart=[ordername]&sku=[sku]][/addlineitem][/founditems][/search][/showif][/hideif][redirect vieworder.html]------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Fits with error message (Will Starck 2001)
All-I've got a strange one that's giving me fits.I have an admin template that displays all unfilled orders. On it is a link that leads to a template (redirectvieworder.tpl) that sets a session cookie with the cart number from an order and fills the cart with the items they ordered previously. [ordername] is the cart number from the customer's order, and is passed into the redirectvieworder.tpl template with the following link: http://www.novaderm.com/redirectvieworder.tpl?ordername=[ordername]This template then redirects to a page (vieworder.tpl) which displays their order. The code for redirectvieworder.tpl is listed below.The problem is, on certain orders the redirect fails, and WebCatalog generates the error Error: Sorry, we do not accept that type of credit card. I can't understand why this would happen, since I'm not doing anything with [accountnum] on this template, and I certainly don't have any [validcard] tags. Webcat 4.02rc2 OSX iTools 6.1????Will Starck NovaDerm skin care science http://www.novaderm.comHere's the template code:[SetCookie name=SessionID&value=[ordername]&path=/&domain=.novaderm.com][search db=orders.db&eqordernamedatarq=[ordername]][founditems][setheader cart=[ordername]]name=[name]&email=[email]&address1=[address1]&city=[city]&s tate=[state]&zip=[zip]&phone=[phone]&country=[country]&shiptoname=[shiptonam e]&shiptoaddress1=[shiptoaddress1]&shiptocity=[shiptocity]&shiptostate=[ship tostate]&shiptozip=[shiptozip]&shiptocountry=[shiptocountry]&card=[card]&exp month=[expmonth]&expyear=[expyear]&shipvia=[shipvia]&ordertotal=[ordertotal] [/setheader][/founditems][/search][math show=f]count=0[/math][orderfile ShoppingCarts/[ordername]][lineitems][math show=f]count=[lineindex][/math][/lineitems][/orderfile][hideif [count]>0][showif [GetCookie NovaUserID]=][search db=lineitems.db&eqordernamedatarq=[ordername]][founditems][addlineitem db=catalog.db&cart=[ordername]&sku=[sku]][/addlineitem][/founditems][/search][/showif][/hideif][redirect vieworder.html]------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Will Starck

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:

'page impression' techniques for banner ads (1999) Shipping costs again (1998) WebCat b13 CGI -shownext- (1997) Shipcost lookup? (1997) PCS search results page (1998) The IBC root beer has arrived! (1997) Image editing in browser (2005) 5.0 feature request: New Search Syntax (2001) WebCat & WebTen (1997) Smith Micro - no competition (2000) RE: Purchased cart being overwritten (1997) [WebDNA] EMailFolder/ (2016) problem serving foreign languages text (1997) Triggers or No Triggers? (1999) locking variables? (2000) Showif for mulitple variations (1997) FW: WebDNA-Talk searchable? (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Include a big block of text (1997) serial number dishing (1997)