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 linkthat leads to a template (redirectvieworder.tpl) that sets a sessioncookie with the cart number from an order and fills the cart with the itemsthey ordered previously. [ordername] is the cart number from the customer'sorder, and is passed into the redirectvieworder.tpl template with thefollowing link: http://www.novaderm.com/redirectvieworder.tpl?ordername=[ordername]This template then redirects to a page (vieworder.tpl) which displaystheir order. The code for redirectvieworder.tpl is listed below.The problem is, on certain orders the redirect fails, and WebCataloggenerates the error Error: Sorry, we do not accept that type of creditcard. I can't understand why this would happen, since I'm not doinganything with [accountnum] on this template, and I certainly don't have any[validcard] tags.Webcat 4.02rc2OSXiTools 6.1????Will StarckNovaDermskin care sciencehttp://www.novaderm.comHere's the template code:[SetCookie name=SessionID&value=[ordername]&path=/&domain=.novaderm.com][search db=orders.db&eqordernamedatarq=[ordername]][founditems][setheadercart=[ordername]]name=[name]&email=[email]&address1=[address1]&city=[city]&state=[state]&zip=[zip]&phone=[phone]&country=[country]&shiptoname=[shiptoname]&shiptoaddress1=[shiptoaddress1]&shiptocity=[shiptocity]&shiptostate=[shiptostate]&shiptozip=[shiptozip]&shiptocountry=[shiptocountry]&card=[card]&expmonth=[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:
|
- 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 linkthat leads to a template (redirectvieworder.tpl) that sets a sessioncookie with the cart number from an order and fills the cart with the itemsthey ordered previously. [ordername] is the cart number from the customer'sorder, and is passed into the redirectvieworder.tpl template with thefollowing link: http://www.novaderm.com/redirectvieworder.tpl?ordername=[ordername]This template then redirects to a page (vieworder.tpl) which displaystheir order. The code for redirectvieworder.tpl is listed below.The problem is, on certain orders the redirect fails, and WebCataloggenerates the error Error: Sorry, we do not accept that type of creditcard. I can't understand why this would happen, since I'm not doinganything with [accountnum] on this template, and I certainly don't have any[validcard] tags.Webcat 4.02rc2OSXiTools 6.1????Will StarckNovaDermskin care sciencehttp://www.novaderm.comHere's the template code:[SetCookie name=SessionID&value=[ordername]&path=/&domain=.novaderm.com][search db=orders.db&eqordernamedatarq=[ordername]][founditems][setheadercart=[ordername]]name=[name]&email=[email]&address1=[address1]&city=[city]&state=[state]&zip=[zip]&phone=[phone]&country=[country]&shiptoname=[shiptoname]&shiptoaddress1=[shiptoaddress1]&shiptocity=[shiptocity]&shiptostate=[shiptostate]&shiptozip=[shiptozip]&shiptocountry=[shiptocountry]&card=[card]&expmonth=[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)