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:
Online reference (1997)
RAM variables (1997)
emailer w/F2 (1997)
PCS Frames-Default page is solution! (1997)
WebCatalog for guestbook ? (1997)
Locking up with WebCatalog... (1997)
Languages (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[WebDNA] Successful, working WebDNA7/CentOS install? (2013)
SUBMIT buttons not working.... (2000)
using WC to create a DB online (2000)
Hyperboard users wanting a quoted message (1998)
PCS Frames (1997)
Smith Micro - no competition (2000)
mail on NT (1998)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Here's how to kill a Butler Database. (1997)
Another question about credit cards (1997)
WebCatalog 3.0 (Mac) For Sale (2000)
[WebDNA] [listfiles] error, but why? How to turn off (2010)