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:
Q: writefile and uploads. (1998)
Looking for WebCat host (1998)
Fun with dates (1997)
Sense/Disallow HTML tags during $Append (1997)
PCS Frames (1997)
WebCat2 - Getting to the browser's username/password data (1997)
[UPPERCASE] (1997)
2nd WebCatalog2 Feature Request (1996)
Emailer setup (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Banners (1997)
Showif, Hideif reverse logic ? (1997)
WebCatalog for Postcards ? (1997)
ShowNext example for GeneralStore (1997)
SiteGaurd file Cache vs webcatalog cache (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
When do we get to request new features? (1999)
[Sum] function? (1997)
Did you hear about this? (1997)
Just Testing (1997)