[WebDNA] Authorize working connection...

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114979
interpreted = N
texte = 2607 --000000000000d2766a059af8aab3 Content-Type: text/plain; charset="UTF-8" Didn't get much help for the talk list put this works and maybe they can add it to their website for others.... searching the webDNA website I could not find anything recent (like 20 years ago)... hard to believe with Webcatalog and eCommerce they never got it quite together... Note: "" needs to be changed to get "successful" transactions after you run it... ++++++++++++++++++++++++++++++++++++ [text]content= [ YOUR API LOGIN P3u95bQpv] [ YOUR TRANSACTION KEY HZ32z3fP4hTG2] 123444856 authCaptureTransaction 5 5424000000000015 2020-12 999 INV-12345448 Product Description 1 vase Cannes logo 5KP3u95bQpv 18 45.00 4.26 level2 tax name level2 tax 8.55 duty name duty description 4.26 level2 tax name level2 tax 456654 99999456654 Ellen Johnson Souveniropolis
14 Main Street
Pecan Springs TX 44628 USA
China Bayles Thyme for Tea
12 Main Street
Pecan Springs TX 44628 USA
192.168.1.1 MerchantDefinedFieldName1 MerchantDefinedFieldValue1 favorite_color blue
[/text] [text]response=[tcpconnect host=apitest.authorize.net&port=443&ssl=T][!] [/!][tcpsend]POST /xml/v1/request.api HTTP/1.0[UnURL]%0D%0A[/UnURL][!] [/!]Host: apitest.authorize.net:443[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[/UnURL][!] [/!][content][UnURL]%0D%0A[/UnURL][!] [/!][/TCPSend][/tcpconnect][/text] [response] ++++++++++++++++++++++++++++++++++++++++++++++++++++ Not sure if anyone has an easier way to parse out the XML data and this is an example or how I do it on a google GEO TCPConnection.... [text]BEFORE=[countchars][response][/countchars][/text] [text]PRE=[convertwords table=addr][response][/convertwords][/text] [text]AFTER=[countchars][PRE][/countchars][/text] [text]END=[FindString source=[PRE]&find=][/text] [text]THEFILE=[getchars start=0&end=[math][END]+10[/math]][PRE][/getchars][/text] [text]cords=[THEFILE][/text] [text]STATUS=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [text]TYPEPRE=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [Showif [TYPEPRE]^][text]TYPEPRE=[getchars start=0&EndBefore=][TYPEPRE][/getchars][/text][/Showif] [text]G_TYPE=[getchars start=0&End=[math][countchars][TYPEPRE][/countchars]-8[/math]][TYPEPRE][/getchars][/text] [Showif [STATUS]=ok] [text]components=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [text]componentsEND=[countchars][components][/countchars][/text] [text]Test1=[FindString source=[components]&find=][/text] [text]test2=[FindString source=[getchars start=[math][Test1]+22[/math]&end=][components][/getchars]&find=][/text] [text]test3=[FindString source=[getchars start=[math][Test1]+22+[Test2]+22[/math]&end=][components][/getchars]&find=][/text] -- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --000000000000d2766a059af8aab3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Didn't get much help for the talk list put this works = and maybe they can add it to their website for others.... searching the web= DNA website I could not find anything recent (like 20 years ago)... hard to= believe with Webcatalog and eCommerce they never got it quite together...<= div>Note: "<refId>" needs to be changed to get "succes= sful" transactions after you run it...

[text]content=3D
<createTransactionRequest = xmlns=3D"AnetApi/xml/v1/schema/AnetApiSchema.xsd">
=C2=A0 &= lt;merchantAuthentication>
=C2=A0 =C2=A0 <name>[=C2=A0 YOUR API= LOGIN P3u95bQpv]</name>
=C2=A0 =C2=A0 <transactionKey>[ YOU= R TRANSACTION KEY HZ32z3fP4hTG2]</transactionKey>
=C2=A0 </merc= hantAuthentication>
=C2=A0 <refId>123444856</refId>
= =C2=A0 <transactionRequest>
=C2=A0 =C2=A0 <transactionType>a= uthCaptureTransaction</transactionType>
=C2=A0 =C2=A0 <amount&g= t;5</amount>
=C2=A0 =C2=A0 <payment>
=C2=A0 =C2=A0 =C2=A0= <creditCard>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardNumber>542400= 0000000015</cardNumber>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <expiration= Date>2020-12</expirationDate>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <c= ardCode>999</cardCode>
=C2=A0 =C2=A0 =C2=A0 </creditCard>=
=C2=A0 =C2=A0 </payment>
=C2=A0 =C2=A0 <order>
=C2=A0= =C2=A0 =C2=A0<invoiceNumber>INV-12345448</invoiceNumber>
= =C2=A0 =C2=A0 =C2=A0<description>Product Description</description&= gt;
=C2=A0 =C2=A0 </order>
=C2=A0 =C2=A0 <lineItems>
= =C2=A0 =C2=A0 =C2=A0 <lineItem>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <it= emId>1</itemId>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>vase<= ;/name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <description>Cannes logo 5K= P3u95bQpv </description>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <quantity&= gt;18</quantity>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <unitPrice>45.0= 0</unitPrice>
=C2=A0 =C2=A0 =C2=A0 </lineItem>
=C2=A0 =C2= =A0 </lineItems>
=C2=A0 =C2=A0 <tax>
=C2=A0 =C2=A0 =C2=A0= <amount>4.26</amount>
=C2=A0 =C2=A0 =C2=A0 <name>leve= l2 tax name</name>
=C2=A0 =C2=A0 =C2=A0 <description>level2 = tax</description>
=C2=A0 =C2=A0 </tax>
=C2=A0 =C2=A0 <= duty>
=C2=A0 =C2=A0 =C2=A0 <amount>8.55</amount>
=C2= =A0 =C2=A0 =C2=A0 <name>duty name</name>
=C2=A0 =C2=A0 =C2= =A0 <description>duty description</description>
=C2=A0 =C2= =A0 </duty>
=C2=A0 =C2=A0 <shipping>
=C2=A0 =C2=A0 =C2=A0= <amount>4.26</amount>
=C2=A0 =C2=A0 =C2=A0 <name>leve= l2 tax name</name>
=C2=A0 =C2=A0 =C2=A0 <description>level2 = tax</description>
=C2=A0 =C2=A0 </shipping>
=C2=A0 =C2=A0= <poNumber>456654</poNumber>
=C2=A0 =C2=A0 <customer><= br>=C2=A0 =C2=A0 =C2=A0 <id>99999456654</id>
=C2=A0 =C2=A0 &= lt;/customer>
=C2=A0 =C2=A0 <billTo>
=C2=A0 =C2=A0 =C2=A0 &l= t;firstName>Ellen</firstName>
=C2=A0 =C2=A0 =C2=A0 <lastName= >Johnson</lastName>
=C2=A0 =C2=A0 =C2=A0 <company>Souveni= ropolis</company>
=C2=A0 =C2=A0 =C2=A0 <address>14 Main Stre= et</address>
=C2=A0 =C2=A0 =C2=A0 <city>Pecan Springs</ci= ty>
=C2=A0 =C2=A0 =C2=A0 <state>TX</state>
=C2=A0 =C2= =A0 =C2=A0 <zip>44628</zip>
=C2=A0 =C2=A0 =C2=A0 <country= >USA</country>
=C2=A0 =C2=A0 </billTo>
=C2=A0 =C2=A0 &= lt;shipTo>
=C2=A0 =C2=A0 =C2=A0 <firstName>China</firstName&= gt;
=C2=A0 =C2=A0 =C2=A0 <lastName>Bayles</lastName>
=C2= =A0 =C2=A0 =C2=A0 <company>Thyme for Tea</company>
=C2=A0 = =C2=A0 =C2=A0 <address>12 Main Street</address>
=C2=A0 =C2= =A0 =C2=A0 <city>Pecan Springs</city>
=C2=A0 =C2=A0 =C2=A0 &= lt;state>TX</state>
=C2=A0 =C2=A0 =C2=A0 <zip>44628</z= ip>
=C2=A0 =C2=A0 =C2=A0 <country>USA</country>
=C2=A0= =C2=A0 </shipTo>
=C2=A0 =C2=A0 <customerIP>192.168.1.1</= customerIP>
=C2=A0 =C2=A0 <userFields>
=C2=A0 =C2=A0 =C2=A0 = <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>MerchantDefine= dFieldName1</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <value>Mercha= ntDefinedFieldValue1</value>
=C2=A0 =C2=A0 =C2=A0 </userField&g= t;
=C2=A0 =C2=A0 =C2=A0 <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0= <name>favorite_color</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <= ;value>blue</value>
=C2=A0 =C2=A0 =C2=A0 </userField>
= =C2=A0 =C2=A0 </userFields>
=C2=A0 </transactionRequest>
= </createTransactionRequest>[/text]


[text]response=3D[tcpco= nnect host=3Dapitest.authorize.net= &port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /xml/v1/request.ap= i HTTP/1.0[UnURL]%0D%0A[/UnURL][!]
[/!]Host: apitest.authorize.net:443[U= nURL]%0D%0A[/UnURL][!]
[/!]User-Agent: StoreBuilder[UnURL]%0D%0A[/UnURL]= [!]
[/!]Content-type: application/x-www-form-urlencoded[UnURL]%0D%0A[/Un= URL][!]
[/!]Content-length: [CountChars][content][/CountChars][UnURL]%0D= %0A[/UnURL][!]
[/!][content][UnURL]%0D%0A[/UnURL][!]
[/!][/TCPSend][/= tcpconnect][/text]

[response]
++++++++++++++++= ++++++++++++++++++++++++++++++++++++
Not sure if anyone has a= n easier way to parse out the XML data and this is an example or how I do i= t on a google GEO TCPConnection....=C2=A0

[text]BE= FORE=3D[countchars][response][/countchars][/text]

[text]PRE=3D[conve= rtwords table=3Daddr][response][/convertwords][/text]

[text]AFTER=3D= [countchars][PRE][/countchars][/text]

[text]END=3D[FindString source= =3D[PRE]&find=3D</result>][/text]

[text]THEFILE=3D[getchar= s start=3D0&end=3D[math][END]+10[/math]][PRE][/getchars][/text]

= [text]cords=3D[THEFILE][/text]

[text]STATUS=3D[Middle StartAfter=3D&= lt;status>&EndBefore=3D</status>][cords][/Middle][/text]
[text]TYPEPRE=3D[Middle StartAfter=3D<type>&EndBefore=3D<for= matted_address>][cords][/Middle][/text]
[Showif [TYPEPRE]^</type&g= t;][text]TYPEPRE=3D[getchars start=3D0&EndBefore=3D</type>][TYPEP= RE][/getchars][/text][/Showif]

[text]G_TYPE=3D[getchars start=3D0&am= p;End=3D[math][countchars][TYPEPRE][/countchars]-8[/math]][TYPEPRE][/getcha= rs][/text]

[Showif [STATUS]=3Dok]

[text]components=3D[Middle = StartAfter=3D</formatted_address>&EndBefore=3D<geometry>][c= ords][/Middle][/text]
[text]componentsEND=3D[countchars][components][/co= untchars][/text]

[text]Test1=3D[FindString source=3D[components]&= ;find=3D<address_component>][/text]

[text]test2=3D[FindString = source=3D[getchars start=3D[math][Test1]+22[/math]&end=3D][components][= /getchars]&find=3D<address_component>][/text]

[text]test3= =3D[FindString source=3D[getchars start=3D[math][Test1]+22+[Test2]+22[/math= ]&end=3D][components][/getchars]&find=3D<address_component>][= /text]



--
Brian Harrington
Auto Gla= ss Xpress
2655 Millersport Hwy. Suite 1063
Getzville, N= Y 14068
(716) 861-2029
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000d2766a059af8aab3-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2020)
  2. Re: [WebDNA] Authorize working connection... (Diane Blackmore 2020)
  3. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2020)
  4. Re: [WebDNA] Authorize working connection... (christophe.billiottet@webdna.us 2020)
  5. Re: [WebDNA] Authorize working connection... (Diane Blackmore 2020)
  6. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2020)
  7. Re: [WebDNA] Authorize working connection... (Diane Blackmore 2020)
  8. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2020)
  9. Re: [WebDNA] Authorize working connection... (Diane Blackmore 2020)
  10. Re: [WebDNA] Authorize working connection... (Brian Harrington 2020)
  11. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2020)
  12. Re: [WebDNA] Authorize working connection... (Brian Harrington 2020)
  13. Re: [WebDNA] Authorize working connection... (Brian Harrington 2019)
  14. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2019)
  15. Re: [WebDNA] Authorize working connection... (Stuart Tremain 2019)
  16. Re: [WebDNA] Authorize working connection... (Brian Harrington 2019)
  17. Re: [WebDNA] Authorize working connection... (Brian Harrington 2019)
  18. Re: [WebDNA] Authorize working connection... (christophe.billiottet@webdna.us 2019)
  19. [WebDNA] Authorize working connection... (Brian Harrington 2019)
2607 --000000000000d2766a059af8aab3 Content-Type: text/plain; charset="UTF-8" Didn't get much help for the Talk List put this works and maybe they can add it to their website for others.... searching the webDNA website I could not find anything recent (like 20 years ago)... hard to believe with Webcatalog and eCommerce they never got it quite together... Note: "" needs to be changed to get "successful" transactions after you run it... ++++++++++++++++++++++++++++++++++++ [text]content= [ YOUR API LOGIN P3u95bQpv] [ YOUR TRANSACTION KEY HZ32z3fP4hTG2] 123444856 authCaptureTransaction 5 5424000000000015 2020-12 999 INV-12345448 Product Description 1 vase Cannes logo 5KP3u95bQpv 18 45.00 4.26 level2 tax name level2 tax 8.55 duty name duty description 4.26 level2 tax name level2 tax 456654 99999456654 Ellen Johnson Souveniropolis
14 Main Street
Pecan Springs TX 44628 USA
China Bayles Thyme for Tea
12 Main Street
Pecan Springs TX 44628 USA
192.168.1.1 MerchantDefinedFieldName1 MerchantDefinedFieldValue1 favorite_color blue
[/text] [text]response=[tcpconnect host=apitest.authorize.net&port=443&ssl=T][!] [/!][tcpsend]POST /xml/v1/request.api HTTP/1.0[unurl]%0D%0A[/UnURL][!] [/!]Host: apitest.authorize.net:443[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[/UnURL][!] [/!][content][unurl]%0D%0A[/UnURL][!] [/!][/TCPSend][/tcpconnect][/text] [response] ++++++++++++++++++++++++++++++++++++++++++++++++++++ Not sure if anyone has an easier way to parse out the XML data and this is an example or how I do it on a google GEO TCPConnection.... [text]BEFORE=[countchars][response][/countchars][/text] [text]PRE=[convertwords table=addr][response][/convertwords][/text] [text]AFTER=[countchars][PRE][/countchars][/text] [text]END=[FindString source=[PRE]&find=][/text] [text]THEFILE=[getchars start=0&end=[math][END]+10[/math]][PRE][/getchars][/text] [text]cords=[THEFILE][/text] [text]STATUS=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [text]TYPEPRE=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [Showif [TYPEPRE]^][text]TYPEPRE=[getchars start=0&EndBefore=][TYPEPRE][/getchars][/text][/Showif] [text]G_TYPE=[getchars start=0&End=[math][countchars][TYPEPRE][/countchars]-8[/math]][TYPEPRE][/getchars][/text] [Showif [STATUS]=ok] [text]components=[Middle StartAfter=&EndBefore=][cords][/Middle][/text] [text]componentsEND=[countchars][components][/countchars][/text] [text]Test1=[FindString source=[components]&find=][/text] [text]test2=[FindString source=[getchars start=[math][Test1]+22[/math]&end=][components][/getchars]&find=][/text] [text]test3=[FindString source=[getchars start=[math][Test1]+22+[Test2]+22[/math]&end=][components][/getchars]&find=][/text] -- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --000000000000d2766a059af8aab3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Didn't get much help for the Talk List put this works = and maybe they can add it to their website for others.... searching the web= DNA website I could not find anything recent (like 20 years ago)... hard to= believe with Webcatalog and eCommerce they never got it quite together...<= div>Note: "<refId>" needs to be changed to get "succes= sful" transactions after you run it...

[text]content=3D
<createTransactionRequest = xmlns=3D"AnetApi/xml/v1/schema/AnetApiSchema.xsd">
=C2=A0 &= lt;merchantAuthentication>
=C2=A0 =C2=A0 <name>[=C2=A0 YOUR API= LOGIN P3u95bQpv]</name>
=C2=A0 =C2=A0 <transactionKey>[ YOU= R TRANSACTION KEY HZ32z3fP4hTG2]</transactionKey>
=C2=A0 </merc= hantAuthentication>
=C2=A0 <refId>123444856</refId>
= =C2=A0 <transactionRequest>
=C2=A0 =C2=A0 <transactionType>a= uthCaptureTransaction</transactionType>
=C2=A0 =C2=A0 <amount&g= t;5</amount>
=C2=A0 =C2=A0 <payment>
=C2=A0 =C2=A0 =C2=A0= <creditCard>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardNumber>542400= 0000000015</cardNumber>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <expiration= Date>2020-12</expirationDate>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <c= ardCode>999</cardCode>
=C2=A0 =C2=A0 =C2=A0 </creditCard>=
=C2=A0 =C2=A0 </payment>
=C2=A0 =C2=A0 <order>
=C2=A0= =C2=A0 =C2=A0<invoiceNumber>INV-12345448</invoiceNumber>
= =C2=A0 =C2=A0 =C2=A0<description>Product Description</description&= gt;
=C2=A0 =C2=A0 </order>
=C2=A0 =C2=A0 <lineItems>
= =C2=A0 =C2=A0 =C2=A0 <lineItem>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <it= emId>1</itemId>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>vase<= ;/name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <description>Cannes logo 5K= P3u95bQpv </description>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <quantity&= gt;18</quantity>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <unitPrice>45.0= 0</unitPrice>
=C2=A0 =C2=A0 =C2=A0 </lineItem>
=C2=A0 =C2= =A0 </lineItems>
=C2=A0 =C2=A0 <tax>
=C2=A0 =C2=A0 =C2=A0= <amount>4.26</amount>
=C2=A0 =C2=A0 =C2=A0 <name>leve= l2 tax name</name>
=C2=A0 =C2=A0 =C2=A0 <description>level2 = tax</description>
=C2=A0 =C2=A0 </tax>
=C2=A0 =C2=A0 <= duty>
=C2=A0 =C2=A0 =C2=A0 <amount>8.55</amount>
=C2= =A0 =C2=A0 =C2=A0 <name>duty name</name>
=C2=A0 =C2=A0 =C2= =A0 <description>duty description</description>
=C2=A0 =C2= =A0 </duty>
=C2=A0 =C2=A0 <shipping>
=C2=A0 =C2=A0 =C2=A0= <amount>4.26</amount>
=C2=A0 =C2=A0 =C2=A0 <name>leve= l2 tax name</name>
=C2=A0 =C2=A0 =C2=A0 <description>level2 = tax</description>
=C2=A0 =C2=A0 </shipping>
=C2=A0 =C2=A0= <poNumber>456654</poNumber>
=C2=A0 =C2=A0 <customer><= br>=C2=A0 =C2=A0 =C2=A0 <id>99999456654</id>
=C2=A0 =C2=A0 &= lt;/customer>
=C2=A0 =C2=A0 <billTo>
=C2=A0 =C2=A0 =C2=A0 &l= t;firstName>Ellen</firstName>
=C2=A0 =C2=A0 =C2=A0 <lastName= >Johnson</lastName>
=C2=A0 =C2=A0 =C2=A0 <company>Souveni= ropolis</company>
=C2=A0 =C2=A0 =C2=A0 <address>14 Main Stre= et</address>
=C2=A0 =C2=A0 =C2=A0 <city>Pecan Springs</ci= ty>
=C2=A0 =C2=A0 =C2=A0 <state>TX</state>
=C2=A0 =C2= =A0 =C2=A0 <zip>44628</zip>
=C2=A0 =C2=A0 =C2=A0 <country= >USA</country>
=C2=A0 =C2=A0 </billTo>
=C2=A0 =C2=A0 &= lt;shipTo>
=C2=A0 =C2=A0 =C2=A0 <firstName>China</firstName&= gt;
=C2=A0 =C2=A0 =C2=A0 <lastName>Bayles</lastName>
=C2= =A0 =C2=A0 =C2=A0 <company>Thyme for Tea</company>
=C2=A0 = =C2=A0 =C2=A0 <address>12 Main Street</address>
=C2=A0 =C2= =A0 =C2=A0 <city>Pecan Springs</city>
=C2=A0 =C2=A0 =C2=A0 &= lt;state>TX</state>
=C2=A0 =C2=A0 =C2=A0 <zip>44628</z= ip>
=C2=A0 =C2=A0 =C2=A0 <country>USA</country>
=C2=A0= =C2=A0 </shipTo>
=C2=A0 =C2=A0 <customerIP>192.168.1.1</= customerIP>
=C2=A0 =C2=A0 <userFields>
=C2=A0 =C2=A0 =C2=A0 = <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>MerchantDefine= dFieldName1</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <value>Mercha= ntDefinedFieldValue1</value>
=C2=A0 =C2=A0 =C2=A0 </userField&g= t;
=C2=A0 =C2=A0 =C2=A0 <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0= <name>favorite_color</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <= ;value>blue</value>
=C2=A0 =C2=A0 =C2=A0 </userField>
= =C2=A0 =C2=A0 </userFields>
=C2=A0 </transactionRequest>
= </createTransactionRequest>[/text]


[text]response=3D[tcpco= nnect host=3Dapitest.authorize.net= &port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /xml/v1/request.ap= i HTTP/1.0[unurl]%0D%0A[/UnURL][!]
[/!]Host: apitest.authorize.net:443[U= nURL]%0D%0A[/UnURL][!]
[/!]User-Agent: StoreBuilder[unurl]%0D%0A[/UnURL]= [!]
[/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/Un= URL][!]
[/!]Content-length: [countchars][content][/CountChars][unurl]%0D= %0A[/UnURL][!]
[/!][content][unurl]%0D%0A[/UnURL][!]
[/!][/TCPSend][/= tcpconnect][/text]

[response]
++++++++++++++++= ++++++++++++++++++++++++++++++++++++
Not sure if anyone has a= n easier way to parse out the XML data and this is an example or how I do i= t on a google GEO TCPConnection....=C2=A0

[text]BE= FORE=3D[countchars][response][/countchars][/text]

[text]PRE=3D[conve= rtwords table=3Daddr][response][/convertwords][/text]

[text]AFTER=3D= [countchars][PRE][/countchars][/text]

[text]END=3D[FindString source= =3D[PRE]&find=3D</result>][/text]

[text]THEFILE=3D[getchar= s start=3D0&end=3D[math][END]+10[/math]][PRE][/getchars][/text]

= [text]cords=3D[THEFILE][/text]

[text]STATUS=3D[Middle StartAfter=3D&= lt;status>&EndBefore=3D</status>][cords][/Middle][/text]
[text]TYPEPRE=3D[Middle StartAfter=3D<type>&EndBefore=3D<for= matted_address>][cords][/Middle][/text]
[Showif [TYPEPRE]^</type&g= t;][text]TYPEPRE=3D[getchars start=3D0&EndBefore=3D</type>][TYPEP= RE][/getchars][/text][/Showif]

[text]G_TYPE=3D[getchars start=3D0&am= p;End=3D[math][countchars][TYPEPRE][/countchars]-8[/math]][TYPEPRE][/getcha= rs][/text]

[Showif [STATUS]=3Dok]

[text]components=3D[Middle = StartAfter=3D</formatted_address>&EndBefore=3D<geometry>][c= ords][/Middle][/text]
[text]componentsEND=3D[countchars][components][/co= untchars][/text]

[text]Test1=3D[FindString source=3D[components]&= ;find=3D<address_component>][/text]

[text]test2=3D[FindString = source=3D[getchars start=3D[math][Test1]+22[/math]&end=3D][components][= /getchars]&find=3D<address_component>][/text]

[text]test3= =3D[FindString source=3D[getchars start=3D[math][Test1]+22+[Test2]+22[/math= ]&end=3D][components][/getchars]&find=3D<address_component>][= /text]



--
Brian Harrington
Auto Gla= ss Xpress
2655 Millersport Hwy. Suite 1063
Getzville, N= Y 14068
(716) 861-2029
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000d2766a059af8aab3-- . Brian Harrington

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:

WebCat2 - [format thousands] (1997) Cookie Newbie (2002) Frames and WebCat (1997) Summary search -- speed (1997) FAX orders (1996) WebCat2b15MacPlugin - showing [math] (1997) tab as word delimiter (2000) database freeze (1997) RE: ShowNext Command (1997) Troubles with Selection Drop Down List Search (1998) Webcatalog Future?!? (2000) Encrypting userid for email (2000) Multiple Ad databases? (1997) remove line item (2000) Emailer setup (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Protect (1997) WebDNA for Window 2000 Server (2003) about this server and links to who (1997) Searching multiple Databases (1997)