UPS online
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53534
interpreted = N
texte = Hello,UPS online apparently stopped working for a client of mine.Did something change in the TCP connect code or is theresomething any of you can spot in that code (below) that could reveal why?--start--[text]response=[middle startafter=UPSOnLine&endbefore=][!] [/!][tcpconnect host=www.ups.com&port=80][tcpsend][!] [/!]GET /using/services/rave/qcostcgi.cgi?[!] [/!]accept_UPS_license_agreement=yes[!] [/!]&10_action=3[!] [/!]&14_origCountry=US[!] [/!]&15_origPostal=[lookup db=admin/ups.db&lookinfield=shr_id&value=UPSONLINE&returnfield=shr_zip¬found=92122][!] [/!]&22_destCountry=US[!] [/!]&19_destPostal=[shiptozip][!] [!]&49_residential=NO[!] [/!]&47_rate_chart=Regular+Daily+Pickup[!] [/!]&48_container=00[!] [/!]&13_product=[getchars start=11][shipvia][/getchars][!] [/!]&23_weight=[total][!] [/!]&weight_std=lbs. HTTP/1.0 [UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][/tcpsend][/tcpconnect][!][/!][/middle][/text]--end--I am getting a response from UPS apparently but the total charge commingback (10th Value of the % deliminated response) is always comming backas "0" no matter what weight ("[total]") is sent.(response code is comming back as a "3")Thanks,Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hello,UPS online apparently stopped working for a client of mine.Did something change in the TCP connect code or is theresomething any of you can spot in that code (below) that could reveal why?--start--[text]response=[middle startafter=UPSOnLine&endbefore=][!] [/!][tcpconnect host=www.ups.com&port=80][tcpsend][!] [/!]GET /using/services/rave/qcostcgi.cgi?[!] [/!]accept_UPS_license_agreement=yes[!] [/!]&10_action=3[!] [/!]&14_origCountry=US[!] [/!]&15_origPostal=[lookup db=admin/ups.db&lookinfield=shr_id&value=UPSONLINE&returnfield=shr_zip¬found=92122][!] [/!]&22_destCountry=US[!] [/!]&19_destPostal=[shiptozip][!] [!]&49_residential=NO[!] [/!]&47_rate_chart=Regular+Daily+Pickup[!] [/!]&48_container=00[!] [/!]&13_product=[getchars start=11][shipvia][/getchars][!] [/!]&23_weight=[total][!] [/!]&weight_std=lbs. HTTP/1.0 [unurl]%0D%0A%0D%0A[/UnURL][!] [/!][/tcpsend][/tcpconnect][!][/!][/middle][/text]--end--I am getting a response from UPS apparently but the total charge commingback (10th Value of the % deliminated response) is always comming backas "0" no matter what weight ("[total]") is sent.(response code is comming back as a "3")Thanks,Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan Brooke
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:
P1: How to make webcatalog more stable. - LONG (1999)
OT: Euros to Dollars (2008)
PCS Frames (1997)
Getting total number of items ordered (1997)
Searching multiple fields from one form field (1997)
Help! WebCat2 bug (1997)
Signal Raised (1997)
WSDL Wizard (2003)
WebDelivery downloads alias, not original ? (1997)
Variable prices and Formulas.db (1997)
Group Updates (1998)
Date search and sendmail (1997)
[WebDNA] Best practice re: password storage (2013)
Running on Empty (1999)
Stock Quotes (2000)
How is it done? (1998)
TCP Connect (2003)
Sorting Numbers (1997)
Searching multiple Databases (1997)
Notepad problems (1998)