Re: [BULK] Re: [WebDNA] Authorize.net SIM, Server Integration Method
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106611
interpreted = N
texte = I've tried that method as well but I get the same error? I've also put the two methods of creating the MD5 hash side by side and they create different results?Here's an example of it returning two different hash values:[text]timestamp=[shell]/usr/bin/perl -e 'printf "%d", time;'[/shell][/text][text show=t]timestamp=[grep search==[^0-9]&replace=][timestamp][/grep][/text]
[text show=t]hash=MYID^[cart]^[timestamp]^[amount][/text]
[text show=t]hash=[encrypt method=apop][hash][/encrypt][/text]
[writefile temp]MYID^[cart]^[timestamp]^[amount][/writefile][shell]digest -v -a md5 temp > stdout[/shell][text]hash2=[GetChars start=14][INCLUDE file=stdout][/GetChars][/text][text show=t]hash2=[grep search=[^A-Za-z0-9]&replace=][hash2][/grep][/text]
MarcOn 5/6/2011 3:04 AM, Tom Duke wrote:> Aaron,>> Hi - you can create a MD5 hash with WebDNA:>> [encrypt method=apop]string_to_encrypt[/encrypt]>> I have not been able to create a SHA1 hash however even using a> [shell] command.>> - Tom>>> --------------------------------------------------------- This> message is sent to you because you are subscribed to the mailing> list . To unsubscribe, E-mail to: archives:> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:> support@webdna.us-- -------------------------------------------Marc ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Associated Messages, from the most recent to the oldest:
I've tried that method as well but I get the same error? I've also put the two methods of creating the MD5 hash side by side and they create different results?Here's an example of it returning two different hash values:
[text]timestamp=
[shell]/usr/bin/perl -e 'printf "%d", time;'[/shell][/text][text show=t]timestamp=[grep search==[^0-9]&replace=][timestamp][/grep][/text]
[text show=t]hash=MYID^
[cart]^[timestamp]^[amount][/text]
[text show=t]hash=[encrypt method=apop][hash][/encrypt][/text]
[writefile temp]MYID^
[cart]^[timestamp]^[amount][/writefile]
[shell]digest -v -a md5 temp > stdout[/shell]
[text]hash2=[GetChars start=14][INCLUDE file=stdout][/GetChars][/text][text show=t]hash2=[grep search=[^A-Za-z0-9]&replace=][hash2][/grep][/text]
MarcOn 5/6/2011 3:04 AM, Tom Duke wrote:> Aaron,>> Hi - you can create a MD5 hash with WebDNA:>> [encrypt method=apop]string_to_encrypt[/encrypt]>> I have not been able to create a SHA1 hash however even using a>
[shell] command.>> - Tom>>> --------------------------------------------------------- This> message is sent to you because you are subscribed to the mailing> list . To unsubscribe, E-mail to: archives:> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:> support@webdna.us-- -------------------------------------------Marc ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Marc Thompson
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:
Price Not Appearing (2000)
Newbie questions (2000)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Parameter Problem ATTN: Ken Grome (1998)
Exact word search - continued (1998)
WebCatalog can't find database (1997)
WebTen and WebCat (1997)
Using a database with a short url (2000)
bug in [SendMail] (1997)
[WebDNA] shopping sites and the "old commerce tags" (2012)
Mac: [ListFiles] bug alert (1997)
Pre-flight public flag (1997)
FEW QUESTIONS (1997)
[WebDNA] getting a cookie to expire (2015)
NT [delete] (1998)
[OT] Unix question (2002)
Searching for ALL / empty form field (1997)
Formating found categories (1997)
off topic fetch vs PCS photomaster (1997)
Webcat no longer supported? (2006)