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:
WebCat2 - [include] tags (1997)
Using [detete] (1998)
WebCatalog can't find database (1997)
emailer on Windows Beta 18 (1997)
[group] ? (1997)
RE: includes and cart numbers (1997)
Problems with [Applescript] (1997)
Problems getting parameters passed into email. (1997)
Credit Card Number checking (1997)
OT: Unix Geek Needed (2005)
Starting WebCat under linux (2000)
WC2.0 Memory Requirements (1997)
WebDNA Engine Won't Start (2003)
FW: WebDNA-Talk searchable? (1997)
Week # problem (1998)
FW: ANother SHOWIF problem (1997)
ShowIf, If, XML Syntax.... (2004)
[WebDNA] [thisurl] not clean on fastcgi 7 (2010)
Searching Groups for multiple matches (1998)
Generating unique SKU from [cart] - Still Stumped... (1997)