Re: Anyone using Verisign's Payflow Link for payment processing?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35858
interpreted = N
texte = > Okay, I think I understand now. I thought that [cart] was like [ipaddress] > in that you couldn't set it anything.cart passes around just like any other variable. And it displays just like any other formvariable - ([cart] is replaced with the value for 'cart' that was passed in) with the exception being that if [cart] is on a page, and *no value* is being passed in, then [cart] is replaced with a new unique string.> > > I think what I'm really asking is whether I can access the Shopping Cart > that has the same number/name as the value of [cart] (before going to > versign) and/or [user1] (on return from Verisign)?yes. You can access the data in the ordefile named after a cart # anytime you want. (assuming you have things set up to work normally). This is precisely how storebuilder and other standard webcat stores work... The orderfile is a text file with 2 mini databases inside it... the headers (single record db) and the lineitems (as many records as there are items in the cart). The orderfile gets created the first time something in the orderfile needs to get edited (edited from nothing to something, or from something to something else). Like when a user adds an item to his cart... then an orderfile named after his cart number gets created in the shoippingcarts folder and the lineitem is added. Or if he inputs his address via a form field named after the header 'address1'... The way you access the orderfile data is simply to stick the name of the header you want within square brackets on your page (like [address1]), or else a lineitem value (like [price]) within a [lineitems] loop. But they have to be within an orderfile context. You can stick an explicit [orderfile]...[/orderfile] context wherever you want, but you do not need to do that when you are already inside an implicit [orderfile] context (which you are when viewing a page that used one of the shopping commands in getting there). Like the page viewed thru the following URL would be wrapped inside an implicit orderfile context- ..somepage.tpl?command=showcart&var3=value9....and a page loaded after a form submit that had an equivelent hidden field would also fire the implicit orderfile context- http://betadoc.smithmicro.com/OrderFileFormat.htmlIf this explains things to the point that you now get it, could you please answer the next time somone asks a question that needs to get answered with this understanding? I have written this nearly-exact-same post at least 5 times already.... (I swear someone should just put it up on their private site and then we can just post the URL the next time... ;-)HTH-John> If I stop passing the > initial [cart] value from page to page, what happens to that cart? Is it > still somewhere that I can access the information inside it? If I can get to > it, how do I do that? I'm getting the suspicion that this is easier than > I'm making it! > > Thanks, > > Steve ------------------------------------------------------------- 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. Re: Anyone using Verisign's Payflow Link for payment processing? (John Butler 2000)
  2. Re: Anyone using Verisign's Payflow Link for payment processing? (John Butler 2000)
  3. Re: Anyone using Verisign's Payflow Link for payment processing? (Kenneth Grome 2000)
  4. Re: Anyone using Verisign's Payflow Link for payment processing? (Steven Jarvis 2000)
  5. Re: Anyone using Verisign's Payflow Link for payment processing? (Steven Jarvis 2000)
  6. Re: Anyone using Verisign's Payflow Link for payment processing? (WebDNA Support 2000)
  7. Re: Anyone using Verisign's Payflow Link for payment processing? (John Butler 2000)
  8. Anyone using Verisign's Payflow Link for payment processing? (Steven Jarvis 2000)
> Okay, I think I understand now. I thought that [cart] was like [ipaddress] > in that you couldn't set it anything.cart passes around just like any other variable. And it displays just like any other formvariable - ([cart] is replaced with the value for 'cart' that was passed in) with the exception being that if [cart] is on a page, and *no value* is being passed in, then [cart] is replaced with a new unique string.> > > I think what I'm really asking is whether I can access the Shopping Cart > that has the same number/name as the value of [cart] (before going to > versign) and/or [user1] (on return from Verisign)?yes. You can access the data in the ordefile named after a cart # anytime you want. (assuming you have things set up to work normally). This is precisely how storebuilder and other standard webcat stores work... The orderfile is a text file with 2 mini databases inside it... the headers (single record db) and the lineitems (as many records as there are items in the cart). The orderfile gets created the first time something in the orderfile needs to get edited (edited from nothing to something, or from something to something else). Like when a user adds an item to his cart... then an orderfile named after his cart number gets created in the shoippingcarts folder and the lineitem is added. Or if he inputs his address via a form field named after the header 'address1'... The way you access the orderfile data is simply to stick the name of the header you want within square brackets on your page (like [address1]), or else a lineitem value (like [price]) within a [lineitems] loop. But they have to be within an orderfile context. You can stick an explicit [orderfile]...[/orderfile] context wherever you want, but you do not need to do that when you are already inside an implicit [orderfile] context (which you are when viewing a page that used one of the shopping commands in getting there). Like the page viewed thru the following URL would be wrapped inside an implicit orderfile context- ..somepage.tpl?command=showcart&var3=value9....and a page loaded after a form submit that had an equivelent hidden field would also fire the implicit orderfile context- http://betadoc.smithmicro.com/OrderFileFormat.htmlIf this explains things to the point that you now get it, could you please answer the next time somone asks a question that needs to get answered with this understanding? I have written this nearly-exact-same post at least 5 times already.... (I swear someone should just put it up on their private site and then we can just post the URL the next time... ;-)HTH-John> If I stop passing the > initial [cart] value from page to page, what happens to that cart? Is it > still somewhere that I can access the information inside it? If I can get to > it, how do I do that? I'm getting the suspicion that this is easier than > I'm making it! > > Thanks, > > Steve ------------------------------------------------------------- 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/ John Butler

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:

Trigger Woes (1999) Webcatalog acgi conflict? (1999) Signal Raised Error (1997) OT - how many HTML forms is too many? (2000) b18 problem on NT 4.0 (1997) Snake Bites (1997) Preferred Web Design Tool? (1999) Separate SSL Server (1997) Ignoring [OrderFile] context (2005) Help name our technology! (1997) [applescript] (1999) Hard Questions ? (1997) [WebDNA] WebDNA slow processing (2011) Authenticate (1998) Smith Micro - no competition (2000) expired beta (1997) error -108 (1997) What's wrong with this? (2005) SSL and Webstar 3 with Webcatalog (1998) shipCost (1998)