Re: [WebDNA] SkipJack Authorize interface help

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103530
interpreted = N
texte = I suppose you could do a [TCPConnect] POST similar to this: [text]content=3D(whatever data you are sending)[/text] [TCPconnect host=3Dwww.paypal.com&port=3D443&ssl=3DT][!] [/!][TCPsend skipheader=3DT]POST developer.skipjackic.com/scripts/EvolvCC= .dll?AuthorizeAPI=20 HTTP/1.0[unURL]%0D%0A[/unURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unURL= ]%0D%0A[/unURL][!] [/!]Content-Type: application/x-www-form-urlencoded[unURL]%0D%0A[/unURL][= !] [/!]Content-Length: [countChars][content][/countChars][unURL]%0D%0A[/unUR= L][!] [/!][unURL]%0D%0A[/unURL][!] [/!][content][unURL]%0D%0A[/unURL][!] [/!][/TCPSend][!] [/!][/TCPconnect] Alternately, you could submit via javascript:
On Thu, 3 Sep 2009 16:07:06 -0500 Tony Miller wrote: > Hey all, >=20 > I've been working on an interface for SkipJack authorization in a WebD= NA storebuilder site. I=20 >finally got the developer account set up and working and am making a co= nnection with their=20 >server and getting a response back. I've been able to parse the respons= e into a tabbed text=20 >file and write it to the drive. I don't know if the listwords section i= s working as I have yet=20 >to get any live data in the response, save the -39 error, which SJ supp= ort can be caused by a=20 > number of things. >=20 > Here's the problem. The only way I can get the form data to process is= to click the submit=20 >button on an actual web form. Is there a way to get WebDNA to send the = submit button equivalent?=20 >They said that because the direct submit is working, it's all good on t= heir end. >=20 > Does putting the form data in a text variable ([content]) add somethin= g or subtract something=20 >during processing. The file I've written to the drive looks exactly lik= e the original code. >=20 > I'm not having any luck talking the customer into using Authorize.net.= They are pretty set on=20 >SkipJack. >=20 > Thanks for any insights. >=20 > Working on a Mac G5/eCommerce 6.0. >=20 > Here's the code: >=20 > www.w3.org/TR/html4/frameset.dtd"> > > > [!]clear out old values[/!] > [text multi=3DT] sjname=3D&streetaddress=3D&city=3D&state=3D&zipcode=3D= &shiptophone=3D&email=3D&ordernu=20 >mber=3D&orderstring=3D&accountnumber=3D&month=3D&year=3D[/text]
> [text]content=3D > Skipjack - [cart] > > > >
developer.skipjackic.com/scripts/EvolvCC.dll?AuthorizeAPI" > METHOD=3D"post"> >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  > 
HTML Serial #
Developer Serial #<= /td> > 
Customer Name
Street Address > 
City
State
Zip Code
Ship to Phone #
Email
Order # > 
Order String
Amount
Credit Card
Expiry Month
Expiry Year
 
 
Transaction" value=3D"Process Transaction" >
> 
>  > [/text] > =09 > [writefile file=3Dsj_test.txt][content][/writefile] >=20 > [!] Do the actual connection with split paths [/!] > [text]response=3D[TCPCONNECT host=3Ddeveloper.skipjackic.com&port=3D443= &ssl=3DT] > [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[/ unur= l][!] > [/!]Content-length: [CountChars][content][/CountChars][unurl]%0D%0A%0D = %0A[/unurl][!] > [/!][content][unurl]%0D%0A[/unurl][!] > [/!][/TCPSEND][/TCPCONNECT][/text] >=20 > [writefile file=3Dsj_response.txt][response][/writefile] >=20 > [text]response=3D[grep search=3D"&replace=3D][response][/grep][/text] > [text]response=3D[unurl][middle startafter=3D[url]%0D%0A[/url]&endbefor= e=3D]=20 >[url][response][/url][/middle][/unurl][/text] > [text]response=3D[grep search=3D,&replace=3D][response][/grep][/text] >=20 > [writefile file=3Dsj_cleaned_response.txt][response][/writefile] >=20 > [response] >=20 > [listwords words=3D[response]&tabs=3DT][!] > [/!][showif [index]=3D23]&m_status=3D[showif [word]=3D1]Approved[/showi= f] [showif=20 >[word]=3D0]Declined[/showif][showif [word]=3D3]Error[/showif][/ showif][= !] > [/!][showif [index]=3D26][text]response_1=3D[word][/text][/showif][!] > [/!][showif [index]=3D21]&m_AuthNum=3D[word][/showif][!] > [/!][showif [index]=3D6]&m_AddressResponse=3D[word][/showif][!] > [/!][showif [index]=3D16]&m_RefNum=3D[word][/showif][!] > [/!][showif [index]=3D38]&m_Response=3D[response_1]
Hash: [word][/ s= howif][!] > [/!][/listwords] >=20 > > >=20 >=20 > Tony Miller > tmiller@thehawkeye.com >=20 >=20 >=20 > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&categor= y=3D288 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)
I suppose you could do a [tcpconnect] POST similar to this: [text]content=3D(whatever data you are sending)[/text] [TCPconnect host=3Dwww.paypal.com&port=3D443&ssl=3DT][!] [/!][TCPsend skipheader=3DT]POST developer.skipjackic.com/scripts/EvolvCC= .dll?AuthorizeAPI=20 HTTP/1.0[unurl]%0D%0A[/unURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unURL= ]%0D%0A[/unURL][!] [/!]Content-Type: application/x-www-form-urlencoded[unurl]%0D%0A[/unURL][= !] [/!]Content-Length: [countchars][content][/countChars][unurl]%0D%0A[/unUR= L][!] [/!][unurl]%0D%0A[/unURL][!] [/!][content][unurl]%0D%0A[/unURL][!] [/!][/TCPSend][!] [/!][/TCPconnect] Alternately, you could submit via javascript:
On Thu, 3 Sep 2009 16:07:06 -0500 Tony Miller wrote: > Hey all, >=20 > I've been working on an interface for SkipJack authorization in a WebD= NA storebuilder site. I=20 >finally got the developer account set up and working and am making a co= nnection with their=20 >server and getting a response back. I've been able to parse the respons= e into a tabbed text=20 >file and write it to the drive. I don't know if the listwords section i= s working as I have yet=20 >to get any live data in the response, save the -39 error, which SJ supp= ort can be caused by a=20 > number of things. >=20 > Here's the problem. The only way I can get the form data to process is= to click the submit=20 >button on an actual web form. Is there a way to get WebDNA to send the = submit button equivalent?=20 >They said that because the direct submit is working, it's all good on t= heir end. >=20 > Does putting the form data in a text variable ([content]) add somethin= g or subtract something=20 >during processing. The file I've written to the drive looks exactly lik= e the original code. >=20 > I'm not having any luck talking the customer into using Authorize.net.= They are pretty set on=20 >SkipJack. >=20 > Thanks for any insights. >=20 > Working on a Mac G5/eCommerce 6.0. >=20 > Here's the code: >=20 > www.w3.org/TR/html4/frameset.dtd"> > > > [!]clear out old values[/!] > [text multi=3DT] sjname=3D&streetaddress=3D&city=3D&state=3D&zipcode=3D= &shiptophone=3D&email=3D&ordernu=20 >mber=3D&orderstring=3D&accountnumber=3D&month=3D&year=3D[/text]
> [text]content=3D > Skipjack - <a target="_parent" href="page.dna?numero=223">[cart]</a> > > > >
developer.skipjackic.com/scripts/EvolvCC.dll?AuthorizeAPI" > METHOD=3D"post"> >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  >  > 
HTML Serial #
Developer Serial #<= /td> > 
Customer Name
Street Address > 
City
State
Zip Code
Ship to Phone #
Email
Order # > 
Order String
Amount
Credit Card
Expiry Month
Expiry Year
 
 
Transaction" value=3D"Process Transaction" >
> 
>  > [/text] > =09 > [writefile file=3Dsj_test.txt][content][/writefile] >=20 > [!] Do the actual connection with split paths [/!] > [text]response=3D[TCPCONNECT host=3Ddeveloper.skipjackic.com&port=3D443= &ssl=3DT] > [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[/ unur= l][!] > [/!]Content-length: [countchars][content][/CountChars][unurl]%0D%0A%0D = %0A[/unurl][!] > [/!][content][unurl]%0D%0A[/unurl][!] > [/!][/TCPSEND][/TCPCONNECT][/text] >=20 > [writefile file=3Dsj_response.txt][response][/writefile] >=20 > [text]response=3D[grep search=3D"&replace=3D][response][/grep][/text] > [text]response=3D[unurl][middle startafter=3D[url]%0D%0A[/url]&endbefor= e=3D]=20 >[url][response][/url][/middle][/unurl][/text] > [text]response=3D[grep search=3D,&replace=3D][response][/grep][/text] >=20 > [writefile file=3Dsj_cleaned_response.txt][response][/writefile] >=20 > [response] >=20 > [listwords words=3D[response]&tabs=3DT][!] > [/!][showif [index]=3D23]&m_status=3D[showif [word]=3D1]Approved[/showi= f] [showif=20 >[word]=3D0]Declined[/showif][showif [word]=3D3]Error[/showif][/ showif][= !] > [/!][showif [index]=3D26][text]response_1=3D[word][/text][/showif][!] > [/!][showif [index]=3D21]&m_AuthNum=3D[word][/showif][!] > [/!][showif [index]=3D6]&m_AddressResponse=3D[word][/showif][!] > [/!][showif [index]=3D16]&m_RefNum=3D[word][/showif][!] > [/!][showif [index]=3D38]&m_Response=3D[response_1]
Hash: [word][/ s= howif][!] > [/!][/listwords] >=20 > > >=20 >=20 > Tony Miller > tmiller@thehawkeye.com >=20 >=20 >=20 > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&categor= y=3D288 "Dan Strong"

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:

Search returns all, not 20 (1997) Javascript/WebCatalog form population (2001) Re[2]: php vs WebCatalog (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) problem serving foreign languages text (1997) HELP! 10K hits per hour for pages that no longer exist! (2000) PCS Frames (1997) Help! WebCat2 bug (1997) platform of the server? (2000) Database Updates (1997) [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) emailer (1997) Protect (1997) [protect] on NT? (1997) RE: WebCatalog2 for NT Beta Request (1997) linetiems in thankyou.tpl (1997) [ConvertChars] problem (1997) WebCat2.0 [format thousands .0f] no go (1997) Sorting when searching with grouped fields (2002)