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 there something 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 comming back (10th Value of the % deliminated response) is always comming back as "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:

    
  1. Re: UPS Online tool ( Stuart Tremain 2007)
  2. Re: UPS Online tool ( Donovan Brooke 2007)
  3. Re: UPS Online tool ( Stuart Tremain 2007)
  4. Re: UPS Online tool ( Matthew A Perosi 2007)
  5. UPS Online tool ( Stuart Tremain 2007)
  6. UPS online tools Country code error ( sal danna 2005)
  7. Re: UPS Online ( 2004)
  8. UPS Online ( Mark Laws 2004)
  9. UPS online ( Donovan Brooke 2003)
  10. UPS Online ( Jesse Williams-Proudman 2003)
  11. Re: UPS online - Alaska and Hawaii (Larry Goodhew 2003)
  12. UPS online - Alaska and Hawaii (Mark D. Laws 2003)
  13. Re: UPS online tools assuming one package per item no matterthe quantity. (Kenneth Grome 2003)
  14. Re: UPS online tools assuming one package per item no matterthe quantity. (Ben Swihart 2003)
  15. Re: UPS online tools assuming one package per item no matterthe quantity. (Brian Boegershausen 2003)
  16. Re: UPS online tools assuming one package per item no matterthequantity. (Donovan 2003)
  17. Re: UPS Online help (Jay Van Vark 2003)
  18. Re: UPS Online help (Chris List Recipient 2003)
  19. Re: UPS Online help (Mark D. Laws 2003)
Hello, UPS online apparently stopped working for a client of mine. Did something change in the TCP connect code or is there something 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 comming back (10th Value of the % deliminated response) is always comming back as "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:

WebCat b13 CGI -shownext- (1997) 2nd WebCatalog2 Feature Request (1996) Authenticate (1997) Just made store and move file from webcatalog......... (2000) Re:2nd WebCatalog2 Feature Request (1996) OT - royalty free images (2002) Help getting [shownext] to increment (2003) [math] are you there? (1999) Webcat no longer supported? (2006) orderfile and setlineitems (1998) Open Databases on Restart (1999) FAX orders (1996) Quit revisited (1997) RE: combining strings (1997) Help with nested search (1998) Webcat/Webmerchant (1998) Stupid Format grrrrrrrr.... (2004) nested showif? (1998) no global [username] or [password] displayed ... (1997) Word Bolding (1996)