[WebDNA] SkipJack Authorize interface help

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103529
interpreted = N
texte = Hey all, I've been working on an interface for SkipJack authorization in a WebDNA storebuilder site. I finally got the developer account set up and working and am making a connection with their server and getting a response back. I've been able to parse the response into a tabbed text file and write it to the drive. I don't know if the listwords section is working as I have yet to get any live data in the response, save the -39 error, which SJ support can be caused by a number of things. Here's the problem. The only way I can get the form data to process is to click the submit button on an actual web form. Is there a way to get WebDNA to send the submit button equivalent? They said that because the direct submit is working, it's all good on their end. Does putting the form data in a text variable ([content]) add something or subtract something during processing. The file I've written to the drive looks exactly like the original code. I'm not having any luck talking the customer into using Authorize.net. They are pretty set on SkipJack. Thanks for any insights. Working on a Mac G5/eCommerce 6.0. Here's the code: [!]clear out old values[/!] [text multi=T] sjname=&streetaddress=&city=&state=&zipcode=&shiptophone=&email=&ordernu mber=&orderstring=&accountnumber=&month=&year=[/text]
[text]content= Skipjack - [cart]
                                                                     
HTML Serial #
Developer Serial #
Customer Name
Street Address
City
State
Zip Code
Ship to Phone #
Email
Order #
Order String
Amount
Credit Card
Expiry Month
Expiry Year
 
 

 [/text]  [writefile file=sj_test.txt][content][/writefile] [!] Do the actual connection with split paths [/!] [text]response=[TCPCONNECT host=developer.skipjackic.com&port=443&ssl=T] [TCPSEND]POST /scripts/evolvcc.dll?AuthorizeAPI HTTP/1.0[unurl]%0D%0A [/unurl][!] [/!]Host: developer.skipjackic.com[unurl]%0D%0A[/unurl][!] [/!]User-Agent: StoreBuilder[unurl]%0D%0A[/unurl][!] [/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/ unurl][!] [/!]Content-length: [CountChars][content][/CountChars][unurl]%0D%0A%0D %0A[/unurl][!] [/!][content][unurl]%0D%0A[/unurl][!] [/!][/TCPSEND][/TCPCONNECT][/text] [writefile file=sj_response.txt][response][/writefile] [text]response=[grep search="&replace=][response][/grep][/text] [text]response=[unurl][middle startafter=[url]%0D%0A[/url]&endbefore=] [url][response][/url][/middle][/unurl][/text] [text]response=[grep search=,&replace=][response][/grep][/text] [writefile file=sj_cleaned_response.txt][response][/writefile] [response] [listwords words=[response]&tabs=T][!] [/!][showif [index]=23]&m_status=[showif [word]=1]Approved[/showif] [showif [word]=0]Declined[/showif][showif [word]=3]Error[/showif][/ showif][!] [/!][showif [index]=26][text]response_1=[word][/text][/showif][!] [/!][showif [index]=21]&m_AuthNum=[word][/showif][!] [/!][showif [index]=6]&m_AddressResponse=[word][/showif][!] [/!][showif [index]=16]&m_RefNum=[word][/showif][!] [/!][showif [index]=38]&m_Response=[response_1]
Hash: [word][/ showif][!] [/!][/listwords] Tony Miller tmiller@thehawkeye.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SkipJack Authorize interface help (Kenneth Grome 2009)
  2. Re: [WebDNA] SkipJack Authorize interface help ("Dan Strong" 2009)
  3. Re: [WebDNA] SkipJack Authorize interface help ("Dan Strong" 2009)
  4. [WebDNA] SkipJack Authorize interface help (Tony Miller 2009)
Hey all, I've been working on an interface for SkipJack authorization in a WebDNA storebuilder site. I finally got the developer account set up and working and am making a connection with their server and getting a response back. I've been able to parse the response into a tabbed text file and write it to the drive. I don't know if the listwords section is working as I have yet to get any live data in the response, save the -39 error, which SJ support can be caused by a number of things. Here's the problem. The only way I can get the form data to process is to click the submit button on an actual web form. Is there a way to get WebDNA to send the submit button equivalent? They said that because the direct submit is working, it's all good on their end. Does putting the form data in a text variable ([content]) add something or subtract something during processing. The file I've written to the drive looks exactly like the original code. I'm not having any luck talking the customer into using Authorize.net. They are pretty set on SkipJack. Thanks for any insights. Working on a Mac G5/eCommerce 6.0. Here's the code: [!]clear out old values[/!] [text multi=T] sjname=&streetaddress=&city=&state=&zipcode=&shiptophone=&email=&ordernu mber=&orderstring=&accountnumber=&month=&year=[/text]
[text]content= Skipjack - <a target="_parent" href="page.dna?numero=223">[cart]</a>
                                                                     
HTML Serial #
Developer Serial #
Customer Name
Street Address
City
State
Zip Code
Ship to Phone #
Email
Order #
Order String
Amount
Credit Card
Expiry Month
Expiry Year
 
 

 [/text]  [writefile file=sj_test.txt][content][/writefile] [!] Do the actual connection with split paths [/!] [text]response=[TCPCONNECT host=developer.skipjackic.com&port=443&ssl=T] [tcpsend]POST /scripts/evolvcc.dll?AuthorizeAPI HTTP/1.0[unurl]%0D%0A [/unurl][!] [/!]Host: developer.skipjackic.com[unurl]%0D%0A[/unurl][!] [/!]User-Agent: StoreBuilder[unurl]%0D%0A[/unurl][!] [/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/ unurl][!] [/!]Content-length: [countchars][content][/CountChars][unurl]%0D%0A%0D %0A[/unurl][!] [/!][content][unurl]%0D%0A[/unurl][!] [/!][/TCPSEND][/TCPCONNECT][/text] [writefile file=sj_response.txt][response][/writefile] [text]response=[grep search="&replace=][response][/grep][/text] [text]response=[unurl][middle startafter=[url]%0D%0A[/url]&endbefore=] [url][response][/url][/middle][/unurl][/text] [text]response=[grep search=,&replace=][response][/grep][/text] [writefile file=sj_cleaned_response.txt][response][/writefile] [response] [listwords words=[response]&tabs=T][!] [/!][showif [index]=23]&m_status=[showif [word]=1]Approved[/showif] [showif [word]=0]Declined[/showif][showif [word]=3]Error[/showif][/ showif][!] [/!][showif [index]=26][text]response_1=[word][/text][/showif][!] [/!][showif [index]=21]&m_AuthNum=[word][/showif][!] [/!][showif [index]=6]&m_AddressResponse=[word][/showif][!] [/!][showif [index]=16]&m_RefNum=[word][/showif][!] [/!][showif [index]=38]&m_Response=[response_1]
Hash: [word][/ showif][!] [/!][/listwords] Tony Miller tmiller@thehawkeye.com Tony Miller

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:

http or https? (2001) Re1000001: Setting up shop (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Email notification to one of multiple vendors ? (1997) Chat Area (2000) [WebDNA] Authentication across domains (2009) Location of Webcat site in folder hierarchy (1997) WebDNA vs SQL ? (2002) WebCatalog on G3 Macs? (1997) WebCat2.0 [format thousands .0f] no go (1997) Re:2nd WebCatalog2 Feature Request (1996) Newbie problem blah blah blah (1997) Not really WebCat (1997) Simultaneous Users (1999) Writing individual lineitems to a db (2000) createfolder not behaving as expected (1999) reading a email (2000) The List is Changing (1997) Need help... (1997) locking variables? (2000)