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 in the WebCatalog folder. When we select a pay method of AC from the invoice.tmpl ANY entry into the account number form blank results in an approved sale.What makes this most entertaining is that it seems to work even if AccountAuthorizer 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 to AccountAuthorizer? The first function in the AppleScript is looking for a data 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 the AppleScript functions never use any of the parameters except account, I'm assuming that null or void values don't matter.If I change the name and parameter for the first function in the AppleScript and run it locally, I can get true or false results. This tells me that the AppleScript actually works and will march through a data base and lookup the account numbers.What seems to be not working is that the cgi, WebCatalog or WebMerchant isn't actually using the returned value from the AppleScript.Where is the problem and how do I solve this?Rob______________Rob Dillon Digital Design Group Limited www.ddg-designs.com Producers of interactive media and other fine visual products (SM) Associated Messages, from the most recent to the oldest:

    
  1. RE: AccountAuthorizer doesn't seem to work (Marc Eagle 1997)
  2. AccountAuthorizer doesn't seem to work (rob@ddg-designs.com (Rob Dillon) 1997)
We're running a test on Web Merchant. We have the web merchant folder in the WebCatalog folder. When we select a pay method of AC from the invoice.tmpl ANY entry into the account number form blank results in an approved sale.What makes this most entertaining is that it seems to work even if AccountAuthorizer 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 to AccountAuthorizer? The first function in the AppleScript is looking for a data 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 the AppleScript functions never use any of the parameters except account, I'm assuming that null or void values don't matter.If I change the name and parameter for the first function in the AppleScript and run it locally, I can get true or false results. This tells me that the AppleScript actually works and will march through a data base and lookup the account numbers.What seems to be not working is that the cgi, WebCatalog or WebMerchant isn't actually using the returned value from the AppleScript.Where is the problem and how do I solve this?Rob______________Rob Dillon Digital Design Group Limited www.ddg-designs.com Producers 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)