Re: [WebDNA] Authorize.net and [tcpconnect]

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112799
interpreted = N
texte = 382 --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 25, 2016, at 4:18 PM, Donovan Brooke wrote: >=20 > Can you post your code Brian? >=20 > Donovan Sure thing. Below is the code I've been using successfully for several = years. The new Akamai URL only differs in that it has a "2" after = "secure" (in my LIVE GATEWAY section) -- i.e., "secure2.authorize.net" = instead of "secure.authorize.net." Thanks,=20 Brian --- [text = multi=3DT]o_status=3D&o_authcode=3D&o_reason=3D&o_hash=3D&o_transid=3D&o_a= vscode=3D[/text] [text multi=3DT show=3DF]content=3Dx_version=3D3.1&[!] [/!]x_relay_response=3DFALSE&[!] [/!]x_delim_data=3DTRUE&[!] [/!]x_login=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dlogin&returnfield=3DVALU= E][/decrypt]&[!] [/!]x_tran_key=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dpword&returnfield=3DVALU= E][/decrypt]&[!] [/!]x_type=3DAUTH_CAPTURE&x_Method=3DCC&[!] [/!]x_amount=3D[math][grandT][/math]&[!] [/!]x_card_num=3D[accountnum]&[!] [/!]x_exp_date=3D[format .2d][expmonth][/format][format = ..2d][expyear][/format]&[!] [/!]x_first_name=3D[firstname]&[!] [/!]x_last_name=3D[lastname]&[!] [/!]x_company=3D[company]&[!] [/!]x_address=3D[auth_address]&[!] [/!]x_city=3D[city]&[!] [/!]x_state=3D[showif [otherstate]=3D][state][/showif][hideif = [otherstate]=3D][otherstate][/hideif]&[!] [/!]x_zip=3D[zip]&[!] [/!]x_country=3D[country]&[!] [/!]x_phone=3D[phone]&[!] [/!]x_email=3D[email]&[!] [/!]x_email_customer=3DF&[!] [/!]x_ship_to_first_name=3D[shiptofirstname]&[!] [/!]x_ship_to_last_name=3D[shiptolastname]&[!] [/!]x_ship_to_company=3D[shiptocompany]&[!] [/!]x_ship_to_address=3D[auth_ship_to_address]&[!] [/!]x_ship_to_city=3D[shiptocity]&[!] [/!]x_ship_to_state=3D[showif = [shiptootherstate]=3D][shiptostate][/showif][hideif = [shiptootherstate]=3D][shiptootherstate][/hideif]&[!] [/!]x_ship_to_zip=3D[shiptozip]&[!] [/!]x_ship_to_country=3D[shiptocountry]&[!] [/!]x_tax=3D[fulltax]&[!] [/!]x_freight=3D[ship]&[!] [/!]x_invoice_num=3D[cart]&[!] [/!]x_test_request=3DFALSE&[!] [/!]x_description=3DOnline Order No. [ordernum] from OldFonts.com[/text] [!]***LIVE GATEWAY[/!] [text show=3DF]response=3D[tcpconnect = host=3Dsecure.authorize.net&port=3D443&ssl=3DT][!] [/!][tcpsend]POST /gateway/transact.dll HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]User-Agent: e3IP[unurl]%0D%0A[/unurl][!] [/!]Content-type: = application/x-www-form-urlencoded[unurl]%0D%0A[/unurl][!] [/!]Content-length: = [countchars][content][/countchars][unurl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!] [/!][content][unurl]%0D%0A[/unurl][!] [/!][/tcpsend][/tcpconnect][/text] [!]***RESPONSE[/!] [text show=3DF]response=3D[unurl][middle = startafter=3D[url]%0D%0A%0D%0A[/url]&endbefore=3D][url][response][/url][/m= iddle][/unurl][/text] [!][text show=3DF]response=3D[grep search=3D|&replace=3D= ][response][/grep][/text][/!] [listwords words=3D[response]&delimiters=3D|][!] [/!][showif [index]=3D1][text show=3DF]o_status=3D[showif = [word]=3D1]Approved[/showif][showif [word]=3D2]Declined[/showif][showif = [word]=3D3]Error[/showif][/text][/showif][!] [/!][showif [index]=3D4][text show=3DF]o_reason=3D[word][/text][/showif][!= ] [/!][showif [index]=3D5][text = show=3DF]o_authcode=3D[word][/text][/showif][!] [/!][showif [index]=3D6][text show=3DF]o_avscode=3D[word][/text][/showif][= !] [/!][showif [index]=3D7][text show=3DF]o_transid=3D[word][/text][/showif][= !] [/!][showif [index]=3D38][text = show=3DF]o_hash=3D[response_1][word][/text][/showif][!] [/!][/listwords] > On May 25, 2016, at 3:12 PM, Brian Willson wrote: >=20 >> Hi, folks. >>=20 >> For several years, I've used a [tcpconnect] script I found in the = archives here to conduct online sales via Authorize.net's AIM solution. = It's still working great. >>=20 >> However, Authorize.net will soon be using Akamai SureRoute to = optimize traffic, and they've rolled out some new secure URLs for = testing. Well, none of these new URLs work with my existing [tcpconnect] = script. The response I'm getting is (e.g.): >>=20 >> HTTP/1.0 400 Bad Request Server: AkamaiGHost Mime-Version: 1.0 = Content-Type: text/html Content-Length: 207 Expires: Wed, 25 May 2016 = 19:13:31 GMT Date: Wed, 25 May 2016 19:13:31 GMT Connection: close >>=20 >> This is especially odd since the URL I'm now successfully using... >>=20 >> secure.authorize.net/gateway/transact.dll >>=20 >> ... differs by only one character from the new Akamai one: >>=20 >> secure2.authorize.net/gateway/transact.dll >>=20 >> Is anyone else still using Authorize.net? And, if so, have you been = able to connect to any of the new Akamai URLs? Is it possible that a = POST via [tcpconnect] will simply not work with Authorize.net's new = routing system? >>=20 >> If so, I might be in the market for a new online commerce solution. >>=20 >> Thanks in advance. >>=20 >> Brian >>=20 >> --- >> Brian Willson >> www.3ip.com >>=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 >> Bug Reporting: support@webdna.us >=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 > Bug Reporting: support@webdna.us --- Brian Willson www.3ip.com --------------------------------------------------------- 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 --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On May = 25, 2016, at 4:18 PM, Donovan Brooke <dbrooke@euca.us> = wrote:

Can = you post your code Brian?

Donovan


Sure thing. Below is the code I've been using = successfully for several years. The new Akamai URL only differs in that = it has a "2" after "secure" (in my LIVE GATEWAY section) -- i.e., "secure2.authorize.net" instead of "secure.authorize.net."

Thanks, 
Brian

---

[text = multi=3DT]o_status=3D&o_authcode=3D&o_reason=3D&o_hash=3D&= o_transid=3D&o_avscode=3D[/text]

[text multi=3DT = show=3DF]content=3Dx_version=3D3.1&[!]
[/!]x_relay_response=3D= FALSE&[!]
[/!]x_delim_data=3DTRUE&[!]
[/!]x_lo= gin=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dlogin&return= field=3DVALUE][/decrypt]&[!]
[/!]x_tran_key=3D[decrypt = seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dpword&return= field=3DVALUE][/decrypt]&[!]
[/!]x_type=3DAUTH_CAPTURE&x= _Method=3DCC&[!]
[/!]x_amount=3D[math][grandT][/math]&[!= ]
[/!]x_card_num=3D[accountnum]&[!]
[/!]x_exp_date= =3D[format .2d][expmonth][/format][format = ..2d][expyear][/format]&[!]
[/!]x_first_name=3D[firstname]&am= p;[!]
[/!]x_last_name=3D[lastname]&[!]
[/!]x_compa= ny=3D[company]&[!]
[/!]x_address=3D[auth_address]&[!]
[/!]x_city=3D[city]&[!]
[/!]x_state=3D[showif = [otherstate]=3D][state][/showif][hideif = [otherstate]=3D][otherstate][/hideif]&[!]
[/!]x_zip=3D[zip]&= amp;[!]
[/!]x_country=3D[country]&[!]
[/!]x_phone=3D= [phone]&[!]
[/!]x_email=3D[email]&[!]
[/!]x_em= ail_customer=3DF&[!]
[/!]x_ship_to_first_name=3D[shiptofirst= name]&[!]
[/!]x_ship_to_last_name=3D[shiptolastname]&[!]=
[/!]x_ship_to_company=3D[shiptocompany]&[!]
[/!]x= _ship_to_address=3D[auth_ship_to_address]&[!]
[/!]x_ship_to_= city=3D[shiptocity]&[!]
[/!]x_ship_to_state=3D[showif = [shiptootherstate]=3D][shiptostate][/showif][hideif = [shiptootherstate]=3D][shiptootherstate][/hideif]&[!]
[/!]x_= ship_to_zip=3D[shiptozip]&[!]
[/!]x_ship_to_country=3D[shipt= ocountry]&[!]
[/!]x_tax=3D[fulltax]&[!]
[/!]x_= freight=3D[ship]&[!]
[/!]x_invoice_num=3D[cart]&[!]
[/!]x_test_request=3DFALSE&[!]
[/!]x_description=3DOnl= ine Order No. [ordernum] from OldFonts.com[/text]

[!]***LIVE GATEWAY[/!]

[text show=3DF]response=3D[tcpconnect host=3Dsecure.authorize.net&port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /gateway/transact.dll = HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]User-Agent: = e3IP[unurl]%0D%0A[/unurl][!]
[/!]Content-type: = application/x-www-form-urlencoded[unurl]%0D%0A[/unurl][!]
[/!]Co= ntent-length: = [countchars][content][/countchars][unurl]%0D%0A[/unurl][!]
[/!][= unurl]%0D%0A[/unurl][!]
[/!][content][unurl]%0D%0A[/unurl][!]
[/!][/tcpsend][/tcpconnect][/text]


[!]***RESPONSE[/!]

[text show=3DF]response=3D[unurl][middle = startafter=3D[url]%0D%0A%0D%0A[/url]&endbefore=3D][url][response][/url= ][/middle][/unurl][/text]

[!][text = show=3DF]response=3D[grep search=3D|&replace=3D= ][response][/grep][/text][/!]

[listwords = words=3D[response]&delimiters=3D|][!]
[/!][showif = [index]=3D1][text show=3DF]o_status=3D[showif = [word]=3D1]Approved[/showif][showif [word]=3D2]Declined[/showif][showif = [word]=3D3]Error[/showif][/text][/showif][!]
[/!][showif = [index]=3D4][text = show=3DF]o_reason=3D[word][/text][/showif][!]
[/!][showif = [index]=3D5][text = show=3DF]o_authcode=3D[word][/text][/showif][!]
[/!][showif = [index]=3D6][text = show=3DF]o_avscode=3D[word][/text][/showif][!]
[/!][showif = [index]=3D7][text = show=3DF]o_transid=3D[word][/text][/showif][!]
[/!][showif = [index]=3D38][text = show=3DF]o_hash=3D[response_1][word][/text][/showif][!]
[/!][/li= stwords]


On = May 25, 2016, at 3:12 PM, Brian Willson <willson@3ip.com> = wrote:

Hi, folks.

For = several years, I've used a [tcpconnect] script I found in the archives = here to conduct online sales via Authorize.net's AIM solution. It's still working = great.

However, Authorize.net will soon be = using Akamai SureRoute to optimize traffic, and they've rolled out some = new secure URLs for testing. Well, none of these new URLs work with my = existing [tcpconnect] script. The response I'm getting is (e.g.):

HTTP/1.0 400 Bad Request Server: AkamaiGHost = Mime-Version: 1.0 Content-Type: text/html Content-Length: 207 Expires: = Wed, 25 May 2016 19:13:31 GMT Date: Wed, 25 May 2016 19:13:31 GMT = Connection: close

This is especially odd = since the URL I'm now successfully using...

=  secure.authorize.net/gateway/transact.dll
... differs by only one character from the new Akamai = one:

 secure2.authorize.net/gateway/transact.dll

Is anyone else still using Authorize.net? And, if so, = have you been able to connect to any of the new Akamai URLs? Is it = possible that a POST via [tcpconnect] will simply not work with Authorize.net's new routing = system?

If so, I might be in the market for = a new online commerce solution.

Thanks in = advance.

Brian

---
Brian Willson
www.3ip.com

---------------------------------------------------------
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://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
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://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us


---
Brian = Willson
www.3ip.com
= --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Authorize.net and [tcpconnect] ("IBS Ltd." 2016)
  2. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  3. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  4. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  5. Re: [WebDNA] Authorize.net and [tcpconnect] (Donovan Brooke 2016)
  6. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  7. Re: [WebDNA] Authorize.net and [tcpconnect] (Jym Duane 2016)
  8. Re: [WebDNA] Authorize.net and [tcpconnect] (Jym Duane 2016)
  9. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  10. Re: [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
  11. Re: [WebDNA] Authorize.net and [tcpconnect] (Jym Duane 2016)
  12. Re: [WebDNA] Authorize.net and [tcpconnect] (Donovan Brooke 2016)
  13. [WebDNA] Authorize.net and [tcpconnect] (Brian Willson 2016)
382 --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 25, 2016, at 4:18 PM, Donovan Brooke wrote: >=20 > Can you post your code Brian? >=20 > Donovan Sure thing. Below is the code I've been using successfully for several = years. The new Akamai URL only differs in that it has a "2" after = "secure" (in my LIVE GATEWAY section) -- i.e., "secure2.authorize.net" = instead of "secure.authorize.net." Thanks,=20 Brian --- [text = multi=3DT]o_status=3D&o_authcode=3D&o_reason=3D&o_hash=3D&o_transid=3D&o_a= vscode=3D[/text] [text multi=3DT show=3DF]content=3Dx_version=3D3.1&[!] [/!]x_relay_response=3DFALSE&[!] [/!]x_delim_data=3DTRUE&[!] [/!]x_login=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dlogin&returnfield=3DVALU= E][/decrypt]&[!] [/!]x_tran_key=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dpword&returnfield=3DVALU= E][/decrypt]&[!] [/!]x_type=3DAUTH_CAPTURE&x_Method=3DCC&[!] [/!]x_amount=3D[math][grandT][/math]&[!] [/!]x_card_num=3D[accountnum]&[!] [/!]x_exp_date=3D[format .2d][expmonth][/format][format = ..2d][expyear][/format]&[!] [/!]x_first_name=3D[firstname]&[!] [/!]x_last_name=3D[lastname]&[!] [/!]x_company=3D[company]&[!] [/!]x_address=3D[auth_address]&[!] [/!]x_city=3D[city]&[!] [/!]x_state=3D[showif [otherstate]=3D][state][/showif][hideif = [otherstate]=3D][otherstate][/hideif]&[!] [/!]x_zip=3D[zip]&[!] [/!]x_country=3D[country]&[!] [/!]x_phone=3D[phone]&[!] [/!]x_email=3D[email]&[!] [/!]x_email_customer=3DF&[!] [/!]x_ship_to_first_name=3D[shiptofirstname]&[!] [/!]x_ship_to_last_name=3D[shiptolastname]&[!] [/!]x_ship_to_company=3D[shiptocompany]&[!] [/!]x_ship_to_address=3D[auth_ship_to_address]&[!] [/!]x_ship_to_city=3D[shiptocity]&[!] [/!]x_ship_to_state=3D[showif = [shiptootherstate]=3D][shiptostate][/showif][hideif = [shiptootherstate]=3D][shiptootherstate][/hideif]&[!] [/!]x_ship_to_zip=3D[shiptozip]&[!] [/!]x_ship_to_country=3D[shiptocountry]&[!] [/!]x_tax=3D[fulltax]&[!] [/!]x_freight=3D[ship]&[!] [/!]x_invoice_num=3D[cart]&[!] [/!]x_test_request=3DFALSE&[!] [/!]x_description=3DOnline Order No. [ordernum] from OldFonts.com[/text] [!]***LIVE GATEWAY[/!] [text show=3DF]response=3D[tcpconnect = host=3Dsecure.authorize.net&port=3D443&ssl=3DT][!] [/!][tcpsend]POST /gateway/transact.dll HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]User-Agent: e3IP[unurl]%0D%0A[/unurl][!] [/!]Content-type: = application/x-www-form-urlencoded[unurl]%0D%0A[/unurl][!] [/!]Content-length: = [countchars][content][/countchars][unurl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!] [/!][content][unurl]%0D%0A[/unurl][!] [/!][/tcpsend][/tcpconnect][/text] [!]***RESPONSE[/!] [text show=3DF]response=3D[unurl][middle = startafter=3D[url]%0D%0A%0D%0A[/url]&endbefore=3D][url][response][/url][/m= iddle][/unurl][/text] [!][text show=3DF]response=3D[grep search=3D|&replace=3D= ][response][/grep][/text][/!] [listwords words=3D[response]&delimiters=3D|][!] [/!][showif [index]=3D1][text show=3DF]o_status=3D[showif = [word]=3D1]Approved[/showif][showif [word]=3D2]Declined[/showif][showif = [word]=3D3]Error[/showif][/text][/showif][!] [/!][showif [index]=3D4][text show=3DF]o_reason=3D[word][/text][/showif][!= ] [/!][showif [index]=3D5][text = show=3DF]o_authcode=3D[word][/text][/showif][!] [/!][showif [index]=3D6][text show=3DF]o_avscode=3D[word][/text][/showif][= !] [/!][showif [index]=3D7][text show=3DF]o_transid=3D[word][/text][/showif][= !] [/!][showif [index]=3D38][text = show=3DF]o_hash=3D[response_1][word][/text][/showif][!] [/!][/listwords] > On May 25, 2016, at 3:12 PM, Brian Willson wrote: >=20 >> Hi, folks. >>=20 >> For several years, I've used a [tcpconnect] script I found in the = archives here to conduct online sales via Authorize.net's AIM solution. = It's still working great. >>=20 >> However, Authorize.net will soon be using Akamai SureRoute to = optimize traffic, and they've rolled out some new secure URLs for = testing. Well, none of these new URLs work with my existing [tcpconnect] = script. The response I'm getting is (e.g.): >>=20 >> HTTP/1.0 400 Bad Request Server: AkamaiGHost Mime-Version: 1.0 = Content-Type: text/html Content-Length: 207 Expires: Wed, 25 May 2016 = 19:13:31 GMT Date: Wed, 25 May 2016 19:13:31 GMT Connection: close >>=20 >> This is especially odd since the URL I'm now successfully using... >>=20 >> secure.authorize.net/gateway/transact.dll >>=20 >> ... differs by only one character from the new Akamai one: >>=20 >> secure2.authorize.net/gateway/transact.dll >>=20 >> Is anyone else still using Authorize.net? And, if so, have you been = able to connect to any of the new Akamai URLs? Is it possible that a = POST via [tcpconnect] will simply not work with Authorize.net's new = routing system? >>=20 >> If so, I might be in the market for a new online commerce solution. >>=20 >> Thanks in advance. >>=20 >> Brian >>=20 >> --- >> Brian Willson >> www.3ip.com >>=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 >> Bug Reporting: support@webdna.us >=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 > Bug Reporting: support@webdna.us --- Brian Willson www.3ip.com --------------------------------------------------------- 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 --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On May = 25, 2016, at 4:18 PM, Donovan Brooke <dbrooke@euca.us> = wrote:

Can = you post your code Brian?

Donovan


Sure thing. Below is the code I've been using = successfully for several years. The new Akamai URL only differs in that = it has a "2" after "secure" (in my LIVE GATEWAY section) -- i.e., "secure2.authorize.net" instead of "secure.authorize.net."

Thanks, 
Brian

---

[text = multi=3DT]o_status=3D&o_authcode=3D&o_reason=3D&o_hash=3D&= o_transid=3D&o_avscode=3D[/text]

[text multi=3DT = show=3DF]content=3Dx_version=3D3.1&[!]
[/!]x_relay_response=3D= FALSE&[!]
[/!]x_delim_data=3DTRUE&[!]
[/!]x_lo= gin=3D[decrypt seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dlogin&return= field=3DVALUE][/decrypt]&[!]
[/!]x_tran_key=3D[decrypt = seed=3DG4U3_paPp%$][lookup = db=3Dvault/an_login.db&lookinfield=3DPREF&value=3Dpword&return= field=3DVALUE][/decrypt]&[!]
[/!]x_type=3DAUTH_CAPTURE&x= _Method=3DCC&[!]
[/!]x_amount=3D[math][grandT][/math]&[!= ]
[/!]x_card_num=3D[accountnum]&[!]
[/!]x_exp_date= =3D[format .2d][expmonth][/format][format = ..2d][expyear][/format]&[!]
[/!]x_first_name=3D[firstname]&am= p;[!]
[/!]x_last_name=3D[lastname]&[!]
[/!]x_compa= ny=3D[company]&[!]
[/!]x_address=3D[auth_address]&[!]
[/!]x_city=3D[city]&[!]
[/!]x_state=3D[showif = [otherstate]=3D][state][/showif][hideif = [otherstate]=3D][otherstate][/hideif]&[!]
[/!]x_zip=3D[zip]&= amp;[!]
[/!]x_country=3D[country]&[!]
[/!]x_phone=3D= [phone]&[!]
[/!]x_email=3D[email]&[!]
[/!]x_em= ail_customer=3DF&[!]
[/!]x_ship_to_first_name=3D[shiptofirst= name]&[!]
[/!]x_ship_to_last_name=3D[shiptolastname]&[!]=
[/!]x_ship_to_company=3D[shiptocompany]&[!]
[/!]x= _ship_to_address=3D[auth_ship_to_address]&[!]
[/!]x_ship_to_= city=3D[shiptocity]&[!]
[/!]x_ship_to_state=3D[showif = [shiptootherstate]=3D][shiptostate][/showif][hideif = [shiptootherstate]=3D][shiptootherstate][/hideif]&[!]
[/!]x_= ship_to_zip=3D[shiptozip]&[!]
[/!]x_ship_to_country=3D[shipt= ocountry]&[!]
[/!]x_tax=3D[fulltax]&[!]
[/!]x_= freight=3D[ship]&[!]
[/!]x_invoice_num=3D[cart]&[!]
[/!]x_test_request=3DFALSE&[!]
[/!]x_description=3DOnl= ine Order No. [ordernum] from OldFonts.com[/text]

[!]***LIVE GATEWAY[/!]

[text show=3DF]response=3D[tcpconnect host=3Dsecure.authorize.net&port=3D443&ssl=3DT][!]
[/!][tcpsend]POST /gateway/transact.dll = HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]User-Agent: = e3IP[unurl]%0D%0A[/unurl][!]
[/!]Content-type: = application/x-www-form-urlencoded[unurl]%0D%0A[/unurl][!]
[/!]Co= ntent-length: = [countchars][content][/countchars][unurl]%0D%0A[/unurl][!]
[/!][= unurl]%0D%0A[/unurl][!]
[/!][content][unurl]%0D%0A[/unurl][!]
[/!][/tcpsend][/tcpconnect][/text]


[!]***RESPONSE[/!]

[text show=3DF]response=3D[unurl][middle = startafter=3D[url]%0D%0A%0D%0A[/url]&endbefore=3D][url][response][/url= ][/middle][/unurl][/text]

[!][text = show=3DF]response=3D[grep search=3D|&replace=3D= ][response][/grep][/text][/!]

[listwords = words=3D[response]&delimiters=3D|][!]
[/!][showif = [index]=3D1][text show=3DF]o_status=3D[showif = [word]=3D1]Approved[/showif][showif [word]=3D2]Declined[/showif][showif = [word]=3D3]Error[/showif][/text][/showif][!]
[/!][showif = [index]=3D4][text = show=3DF]o_reason=3D[word][/text][/showif][!]
[/!][showif = [index]=3D5][text = show=3DF]o_authcode=3D[word][/text][/showif][!]
[/!][showif = [index]=3D6][text = show=3DF]o_avscode=3D[word][/text][/showif][!]
[/!][showif = [index]=3D7][text = show=3DF]o_transid=3D[word][/text][/showif][!]
[/!][showif = [index]=3D38][text = show=3DF]o_hash=3D[response_1][word][/text][/showif][!]
[/!][/li= stwords]


On = May 25, 2016, at 3:12 PM, Brian Willson <willson@3ip.com> = wrote:

Hi, folks.

For = several years, I've used a [tcpconnect] script I found in the archives = here to conduct online sales via Authorize.net's AIM solution. It's still working = great.

However, Authorize.net will soon be = using Akamai SureRoute to optimize traffic, and they've rolled out some = new secure URLs for testing. Well, none of these new URLs work with my = existing [tcpconnect] script. The response I'm getting is (e.g.):

HTTP/1.0 400 Bad Request Server: AkamaiGHost = Mime-Version: 1.0 Content-Type: text/html Content-Length: 207 Expires: = Wed, 25 May 2016 19:13:31 GMT Date: Wed, 25 May 2016 19:13:31 GMT = Connection: close

This is especially odd = since the URL I'm now successfully using...

=  secure.authorize.net/gateway/transact.dll
... differs by only one character from the new Akamai = one:

 secure2.authorize.net/gateway/transact.dll

Is anyone else still using Authorize.net? And, if so, = have you been able to connect to any of the new Akamai URLs? Is it = possible that a POST via [tcpconnect] will simply not work with Authorize.net's new routing = system?

If so, I might be in the market for = a new online commerce solution.

Thanks in = advance.

Brian

---
Brian Willson
www.3ip.com

---------------------------------------------------------
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://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
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://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us


---
Brian = Willson
www.3ip.com
= --Apple-Mail=_7B872F0D-8DDF-432E-99EB-E1C8E192CC18-- . Brian Willson

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:

Fwd: Problem with order (1998) Re[2]: [format] problems (2000) same product in cart (1997) Doing VALIDCARD right? (1998) WebCatalog can't find database (1997) PCS Frames (1997) select multiple (1997) How to sent up OS X server to use localhost (2003) WebCat 3.04-3.07 plug-in dying on server.... (2000) using showpage and showcart commands (1996) Summing fields (1997) Forms & Tables (1998) Snake Bites (1997) Grep Master Needed (2003) WebDNA on OS X Tiger (2006) WCS Newbie question (1997) Emailer setup (1997) RAM variables (1997) WebCat2b12 - nesting [tags] (1997) Listserver problem (1997)