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:

(2000) [searchString] (1997) Follow-up to listfiles bug report ... (2003) Fwd: Problems with Webcatalog Plug-in (1997) mass mailing (1998) database paths/names, and a typo (1997) Configuring E-mail (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Permissions (2000) Replace Statement (1997) Bug Report, maybe (1997) interesting (2003) Download (1999) Replace/Commit not Replacing/Commiting (2000) Search for dates greater than [date] (1997) [Sum] function? (1997) PCS Frames-Default page is solution! (1997) WebCat2: Items xx to xx shown, etc. (1997) Country & Ship-to address & other fields ? (1997) For those of you not on the WebCatalog Beta... (1997)