Re: chicken / egg::purchase / setheader
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46551
interpreted = N
texte = [stunned silence]...oh my god. Why didn't I think of this?Okay, duh. If this all works out the way it's supposed to...well, I will light candles to you all.AWOn Monday, December 30, 2002, at 12:59 PM, Donovan Brooke wrote:> set the BK in the [paymethod] field via setheader before the > [purchase] is made.>> Donovan>> Andrew Willett wrote:>>> I would love to use the context. It would solve many many problems for>> me. Sadly, I can't, because I need to use a paymethod of BK. And the>> purchase context doesn't (so far as I am aware) allow for [purchase>> cart=[cart]&paymethod=BK].>>>> Does it?>>>> AW>>>> On Monday, December 30, 2002, at 12:36 PM, Gary Krockover wrote:>>>>> I would take out the purchase command and use the purchase context>>> instead>>> on thanks.html:>>>>>> [purchase cart=[cart]]>>>>>> The good general rule of thumb is to always use contexts in place of>>> commands when you can since people can tinker with the values in the>>> URL for>>> commands.>>>>>> On the setheader, place it above the purchase context.>>>>>> GK>>>>>>>>>> I have a thanks page which will be the recipient of the cart's >>>> formal>>>> PURCHASE command. In other words, I'm hitting it like this:>>>>>>>> foo.com/thanks.html?command=purchase&cart=cart&db=database.db>>>>>>>> I also need to run a [setheader] on the cart in question. This >>>> action>>>> also has to be built into the thanks page. My question is, where >>>> will>>>> the cart be when I get there?>>>>>>>> Either (1) it will be in the Shopping Carts folder, because code>>>> WITHIN>>>> the page is hit before the command=purchase is used; or (2) it will >>>> be>>>> in either Orders or Problems, because the command=purchase will be>>>> followed before any code inside the page is followed.>>>>>>>> Anybody know which it is?>>>>>>>> AW>>>>>>>>> ------------------------------------------------------------->>> 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://webdna.smithmicro.com/>>>>>>> ------------------------------------------------------------->> 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://webdna.smithmicro.com/>>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
[stunned silence]...oh my god. Why didn't I think of this?Okay, duh. If this all works out the way it's supposed to...well, I will light candles to you all.AWOn Monday, December 30, 2002, at 12:59 PM, Donovan Brooke wrote:> set the BK in the [paymethod] field via setheader before the > [purchase] is made.>> Donovan>> Andrew Willett wrote:>>> I would love to use the context. It would solve many many problems for>> me. Sadly, I can't, because I need to use a paymethod of BK. And the>> purchase context doesn't (so far as I am aware) allow for [purchase>> cart=[cart]&paymethod=BK].>>>> Does it?>>>> AW>>>> On Monday, December 30, 2002, at 12:36 PM, Gary Krockover wrote:>>>>> I would take out the purchase command and use the purchase context>>> instead>>> on thanks.html:>>>>>> [purchase cart=[cart]]>>>>>> The good general rule of thumb is to always use contexts in place of>>> commands when you can since people can tinker with the values in the>>> URL for>>> commands.>>>>>> On the setheader, place it above the purchase context.>>>>>> GK>>>>>>>>>> I have a thanks page which will be the recipient of the cart's >>>> formal>>>> PURCHASE command. In other words, I'm hitting it like this:>>>>>>>> foo.com/thanks.html?command=purchase&cart=cart&db=database.db>>>>>>>> I also need to run a [setheader] on the cart in question. This >>>> action>>>> also has to be built into the thanks page. My question is, where >>>> will>>>> the cart be when I get there?>>>>>>>> Either (1) it will be in the Shopping Carts folder, because code>>>> WITHIN>>>> the page is hit before the command=purchase is used; or (2) it will >>>> be>>>> in either Orders or Problems, because the command=purchase will be>>>> followed before any code inside the page is followed.>>>>>>>> Anybody know which it is?>>>>>>>> AW>>>>>>>>> ------------------------------------------------------------->>> 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://webdna.smithmicro.com/>>>>>>> ------------------------------------------------------------->> 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://webdna.smithmicro.com/>>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Andrew Willett
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:
Email within tmpl ? (1997)
sort (2000)
Separate SSL Server (1997)
all records returned. (1997)
A little syntax help (1997)
RE: Missing contexts on NT (1997)
Running _every_ page through WebCat-error.html (1997)
Will webdna execute before a [redirect]? (1999)
showcart is slow (1998)
Extra Text Fields (was Another question) (1997)
Problem with updating to 2.1.1 (1998)
Interfacing WebMerchant to www.fedex.com (1997)
[HIDEIF] inside [FOUNDITEM] (1997)
database size? (1997)
AppleScript/.db (was:FTP to WebStar) (2001)
More DateMath problems (1997)
Mac OSX 10.5 with WebSTAR... Webcatalog won't run (2003)
syntax question, not in online refernce (1997)
[writefile] (1997)
[WebDNA] Quick Grep question (2009)