[WebDNA] Working Authorize.net script if you wanna post...

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 114988
interpreted = N
texte = 2616 --000000000000ca1289059b230810 Content-Type: text/plain; charset="UTF-8" Working Authorize.net script if you wanna post... [text]content= *Sandbox API Login HERE* *Sandbox API Transaction Key HERE* 2020[cart] authCaptureTransaction 19.96 5424000000000015 2020-12 999 99999456654 Ellen Johnson Souveniropolis
14 Main Street
Pecan Springs TX 44628 USA
[IPADDRESS] INVOICE_NUMBER 20200102-AB2519-[cart]
[/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] [text]XML=[Middle StartBefore=&EndBefore=][XML][/Middle][/text] [text]resultCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]Code=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]CodeText=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]userFields=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]INVOICE_NUMBER=[Middle StartAfter=&EndBefore=][userFields][/Middle][/text] refId=[refId]
resultCode=[resultCode]
Code=[Code]
CodeText=[CodeText]
INVOICE_NUMBER=[INVOICE_NUMBER]
[Showif [resultCode]=Ok] [text]transId=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]authCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] transId=[transId]
authCode=[authCode]
[/Showif] [Showif [resultCode]=Error] [text]errorCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]errorText=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] errorCode=[errorCode]
errorText=[errorText]
[/Showif]
XML=[XML]
-- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --000000000000ca1289059b230810 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Working Authorize.net script if you wanna post...

=
[text]content=3D
<createTransactionRequest xmlns=3D"A= netApi/xml/v1/schema/AnetApiSchema.xsd">
=C2=A0 <merchantAuth= entication>
=C2=A0 =C2=A0 <name>Sandbox API Login HERE&l= t;/name>
=C2=A0 =C2=A0 <transactionKey>Sandbox API Transacti= on Key HERE</transactionKey>
=C2=A0 </merchantAuthenticatio= n>
=C2=A0 <refId>2020[cart]</refId>
=C2=A0 <transac= tionRequest>
=C2=A0 =C2=A0 <transactionType>authCaptureTransact= ion</transactionType>
=C2=A0 =C2=A0 <amount>19.96</amount= >
=C2=A0 =C2=A0 <payment>
=C2=A0 =C2=A0 =C2=A0 <creditCar= d>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardNumber>5424000000000015<= /cardNumber>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <expirationDate>2020-1= 2</expirationDate>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardCode>999= </cardCode>
=C2=A0 =C2=A0 =C2=A0 </creditCard>
=C2=A0 =C2= =A0 </payment>

=C2=A0 =C2=A0<customer>
=C2=A0 =C2=A0 = =C2=A0 <id>99999456654</id>
=C2=A0 =C2=A0 </customer><= br>
=C2=A0 =C2=A0 <billTo>
=C2=A0 =C2=A0 =C2=A0 <firstName&g= t;Ellen</firstName>
=C2=A0 =C2=A0 =C2=A0 <lastName>Johnson&l= t;/lastName>
=C2=A0 =C2=A0 =C2=A0 <company>Souveniropolis</c= ompany>
=C2=A0 =C2=A0 =C2=A0 <address>14 Main Street</addres= s>
=C2=A0 =C2=A0 =C2=A0 <city>Pecan Springs</city>
=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</co= untry>
=C2=A0 =C2=A0 </billTo>
<customerIP>[IPADDRESS]= </customerIP>
=C2=A0 =C2=A0 <userFields>
=C2=A0 =C2=A0 = =C2=A0 <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>INVOICE= _NUMBER</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <value>20200102-A= B2519-[cart]</value>
=C2=A0 =C2=A0 =C2=A0 </userField> =C2= =A0
=C2=A0 =C2=A0 </userFields>
=C2=A0 </transactionRequest= >
</createTransactionRequest>[/text]


[text]response= =3D[tcpconnect host=3Dapitest.auth= orize.net&port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /xml/v1/r= equest.api HTTP/1.0[UnURL]%0D%0A[/UnURL][!]
[/!]Host: apitest.authorize.= net:443[UnURL]%0D%0A[/UnURL][!]
[/!]User-Agent: StoreBuilder[UnURL]%0D%0= A[/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][!]
[/!][/T= CPSend][/tcpconnect][/text]

[text]XML=3D[Middle StartBefore=3D<cr= eateTransactionResponse][response][/Middle][/text]

[text]refId=3D[Mi= ddle StartAfter=3D<refId>&EndBefore=3D</refId>][XML][/Middl= e][/text]
[text]resultCode=3D[Middle StartAfter=3D<resultCode>&= ;EndBefore=3D</resultCode>][XML][/Middle][/text]
[text]Code=3D[Mid= dle StartAfter=3D<code>&EndBefore=3D</code><text>][XM= L][/Middle][/text]
[text]CodeText=3D[Middle StartAfter=3D<text>&am= p;EndBefore=3D</text>][XML][/Middle][/text]

[text]userFields= =3D[Middle StartAfter=3D<userFields>&EndBefore=3D</userFields&= gt;][XML][/Middle][/text]
[text]INVOICE_NUMBER=3D[Middle StartAfter=3D&l= t;value>&EndBefore=3D</value>][userFields][/Middle][/text]
= refId=3D[refId]<br>
resultCode=3D[resultCode]<br>
Code=3D= [Code]<br>
CodeText=3D[CodeText]<br>
INVOICE_NUMBER=3D[IN= VOICE_NUMBER]<br>

[Showif [resultCode]=3DOk]
[text]transId= =3D[Middle StartAfter=3D<transId>&EndBefore=3D</transId>][X= ML][/Middle][/text]
[text]authCode=3D[Middle StartAfter=3D<authCode&g= t;&EndBefore=3D</authCode>][XML][/Middle][/text]
transId=3D[tr= ansId]<br>
authCode=3D[authCode]<br>
[/Showif]
[Showif= [resultCode]=3DError]
[text]errorCode=3D[Middle StartAfter=3D<errorC= ode>&EndBefore=3D</errorCode>][XML][/Middle][/text]
[text]e= rrorText=3D[Middle StartAfter=3D<errorText>&EndBefore=3D</erro= rText>][XML][/Middle][/text]
errorCode=3D[errorCode]<br>
err= orText=3D[errorText]<br>
[/Showif]
<hr>

XML=3D[XML= ]<hr>

--
Brian Harrington
Auto Glass Xpress
2655 Miller= sport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-202= 9
--------------------------------------------------------- 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 --000000000000ca1289059b230810-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Working Authorize.net script if you wanna post... (Brian Harrington 2020)
2616 --000000000000ca1289059b230810 Content-Type: text/plain; charset="UTF-8" Working Authorize.net script if you wanna post... [text]content= *Sandbox API Login HERE* *Sandbox API Transaction Key HERE* 2020[cart] authCaptureTransaction 19.96 5424000000000015 2020-12 999 99999456654 Ellen Johnson Souveniropolis
14 Main Street
Pecan Springs TX 44628 USA
[ipaddress] INVOICE_NUMBER 20200102-AB2519-[cart]
[/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] [text]XML=[Middle StartBefore=[text]refId=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]resultCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]Code=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]CodeText=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]userFields=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]INVOICE_NUMBER=[Middle StartAfter=&EndBefore=][userFields][/Middle][/text] refId=[refId]
resultCode=[resultCode]
Code=[Code]
CodeText=[CodeText]
INVOICE_NUMBER=[INVOICE_NUMBER]
[Showif [resultCode]=Ok] [text]transId=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]authCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] transId=[transId]
authCode=[authCode]
[/Showif] [Showif [resultCode]=Error] [text]errorCode=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] [text]errorText=[Middle StartAfter=&EndBefore=][XML][/Middle][/text] errorCode=[errorCode]
errorText=[errorText]
[/Showif]
XML=[XML]
-- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --000000000000ca1289059b230810 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Working Authorize.net script if you wanna post...

=
[text]content=3D
<createTransactionRequest xmlns=3D"A= netApi/xml/v1/schema/AnetApiSchema.xsd">
=C2=A0 <merchantAuth= entication>
=C2=A0 =C2=A0 <name>Sandbox API Login HERE&l= t;/name>
=C2=A0 =C2=A0 <transactionKey>Sandbox API Transacti= on Key HERE</transactionKey>
=C2=A0 </merchantAuthenticatio= n>
=C2=A0 <refId>2020[cart]</refId>
=C2=A0 <transac= tionRequest>
=C2=A0 =C2=A0 <transactionType>authCaptureTransact= ion</transactionType>
=C2=A0 =C2=A0 <amount>19.96</amount= >
=C2=A0 =C2=A0 <payment>
=C2=A0 =C2=A0 =C2=A0 <creditCar= d>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardNumber>5424000000000015<= /cardNumber>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <expirationDate>2020-1= 2</expirationDate>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <cardCode>999= </cardCode>
=C2=A0 =C2=A0 =C2=A0 </creditCard>
=C2=A0 =C2= =A0 </payment>

=C2=A0 =C2=A0<customer>
=C2=A0 =C2=A0 = =C2=A0 <id>99999456654</id>
=C2=A0 =C2=A0 </customer><= br>
=C2=A0 =C2=A0 <billTo>
=C2=A0 =C2=A0 =C2=A0 <firstName&g= t;Ellen</firstName>
=C2=A0 =C2=A0 =C2=A0 <lastName>Johnson&l= t;/lastName>
=C2=A0 =C2=A0 =C2=A0 <company>Souveniropolis</c= ompany>
=C2=A0 =C2=A0 =C2=A0 <address>14 Main Street</addres= s>
=C2=A0 =C2=A0 =C2=A0 <city>Pecan Springs</city>
=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</co= untry>
=C2=A0 =C2=A0 </billTo>
<customerIP>[ipaddress]= </customerIP>
=C2=A0 =C2=A0 <userFields>
=C2=A0 =C2=A0 = =C2=A0 <userField>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>INVOICE= _NUMBER</name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <value>20200102-A= B2519-[cart]</value>
=C2=A0 =C2=A0 =C2=A0 </userField> =C2= =A0
=C2=A0 =C2=A0 </userFields>
=C2=A0 </transactionRequest= >
</createTransactionRequest>[/text]


[text]response= =3D[tcpconnect host=3Dapitest.auth= orize.net&port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /xml/v1/r= equest.api HTTP/1.0[unurl]%0D%0A[/UnURL][!]
[/!]Host: apitest.authorize.= net:443[unurl]%0D%0A[/UnURL][!]
[/!]User-Agent: StoreBuilder[unurl]%0D%0= A[/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][!]
[/!][/T= CPSend][/tcpconnect][/text]

[text]XML=3D[Middle StartBefore=3D<cr= eateTransactionResponse][response][/Middle][/text]

[text]refId=3D[Mi= ddle StartAfter=3D<refId>&EndBefore=3D</refId>][XML][/Middl= e][/text]
[text]resultCode=3D[Middle StartAfter=3D<resultCode>&= ;EndBefore=3D</resultCode>][XML][/Middle][/text]
[text]Code=3D[Mid= dle StartAfter=3D<code>&EndBefore=3D</code><text>][XM= L][/Middle][/text]
[text]CodeText=3D[Middle StartAfter=3D<text>&am= p;EndBefore=3D</text>][XML][/Middle][/text]

[text]userFields= =3D[Middle StartAfter=3D<userFields>&EndBefore=3D</userFields&= gt;][XML][/Middle][/text]
[text]INVOICE_NUMBER=3D[Middle StartAfter=3D&l= t;value>&EndBefore=3D</value>][userFields][/Middle][/text]
= refId=3D[refId]<br>
resultCode=3D[resultCode]<br>
Code=3D= [Code]<br>
CodeText=3D[CodeText]<br>
INVOICE_NUMBER=3D[IN= VOICE_NUMBER]<br>

[Showif [resultCode]=3DOk]
[text]transId= =3D[Middle StartAfter=3D<transId>&EndBefore=3D</transId>][X= ML][/Middle][/text]
[text]authCode=3D[Middle StartAfter=3D<authCode&g= t;&EndBefore=3D</authCode>][XML][/Middle][/text]
transId=3D[tr= ansId]<br>
authCode=3D[authCode]<br>
[/Showif]
[Showif= [resultCode]=3DError]
[text]errorCode=3D[Middle StartAfter=3D<errorC= ode>&EndBefore=3D</errorCode>][XML][/Middle][/text]
[text]e= rrorText=3D[Middle StartAfter=3D<errorText>&EndBefore=3D</erro= rText>][XML][/Middle][/text]
errorCode=3D[errorCode]<br>
err= orText=3D[errorText]<br>
[/Showif]
<hr>

XML=3D[XML= ]<hr>

--
Brian Harrington
Auto Glass Xpress
2655 Miller= sport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-202= 9
--------------------------------------------------------- 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 --000000000000ca1289059b230810-- . 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:

PIXO support (1997) Associative lookup style? + bit more (1997) PIXO support (1997) Nesting format tags (1997) 2nd WebCatalog2 Feature Request (1996) Strange intermittent WebDNA problems (2008) Using Plug-In while running 1.6.1 (1997) Not much on today :( (2004) Custom Tags or Modular Code (2001) listfields question (2005) MATH PROBLEM (1997) WebCatalog for guestbook ? (1997) problems with WebCat-Plugin (1997) [OT] Appropriate Signature??? (2003) Large databases in WebCat (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCat2 several catalogs? (1997) [sendmail] on NT? (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Tax and Shipping Examples (1997)