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:
(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)