AccountAuthorizer doesn't seem to work
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12127
interpreted = N
texte = We're running a test on Web Merchant. We have the web merchant folder inthe WebCatalog folder. When we select a pay method of AC from theinvoice.tmpl ANY entry into the account number form blank results in anapproved sale.What makes this most entertaining is that it seems to work even ifAccountAuthorizer isn't specified in the prefs for WebMerchant.We can get the AccountAuthorizer to error so we know that it does run.The first question is: What exactly is the WebCatalog cgi passing toAccountAuthorizer? The first function in the AppleScript is looking for adata string and a list as a parameter.«event AuthAcct» {account,monthAccount,yearAccount,amount}Since this is apparently sent by the cgi, I can't edit it. And since theAppleScript functions never use any of the parameters except account, I'massuming that null or void values don't matter.If I change the name and parameter for the first function in theAppleScript and run it locally, I can get true or false results. This tellsme that the AppleScript actually works and will march through a data baseand lookup the account numbers.What seems to be not working is that the cgi, WebCatalog or WebMerchantisn't actually using the returned value from the AppleScript.Where is the problem and how do I solve this?Rob______________Rob DillonDigital Design Group Limitedwww.ddg-designs.comProducers of interactive media and other fine visual products (SM)
Associated Messages, from the most recent to the oldest:
We're running a test on Web Merchant. We have the web merchant folder inthe WebCatalog folder. When we select a pay method of AC from theinvoice.tmpl ANY entry into the account number form blank results in anapproved sale.What makes this most entertaining is that it seems to work even ifAccountAuthorizer isn't specified in the prefs for WebMerchant.We can get the AccountAuthorizer to error so we know that it does run.The first question is: What exactly is the WebCatalog cgi passing toAccountAuthorizer? The first function in the AppleScript is looking for adata string and a list as a parameter.«event AuthAcct» {account,monthAccount,yearAccount,amount}Since this is apparently sent by the cgi, I can't edit it. And since theAppleScript functions never use any of the parameters except account, I'massuming that null or void values don't matter.If I change the name and parameter for the first function in theAppleScript and run it locally, I can get true or false results. This tellsme that the AppleScript actually works and will march through a data baseand lookup the account numbers.What seems to be not working is that the cgi, WebCatalog or WebMerchantisn't actually using the returned value from the AppleScript.Where is the problem and how do I solve this?Rob______________Rob DillonDigital Design Group Limitedwww.ddg-designs.comProducers of interactive media and other fine visual products (SM)
rob@ddg-designs.com (Rob Dillon)
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:
if/then/else in founditems (2001)
Items XX to XX shown (1997)
Browser frames and URLs in the Location field (2004)
delete after x (1998)
Encyption mail was Suggestions for Topics ... (1998)
WebDNA deletes major DB data big time (2004)
HideIf ip= OR ip= (1998)
Webcatalog on MacOs (2000)
Sorting Orders (1997)
2nd WebCatalog2 Feature Request (1996)
Quitting WebMerchant ? (1997)
Showif date > other date (2004)
XX shipping days til christmas (2002)
The beginning (1997)
Add message to Order (1997)
Slightly OT: [sendmail] help (2003)
Preventing Merchant Settling ? (1997)
Drop Down Menus (2002)
writefile and emailer (2002)
Postdata expired from cache (2004)