Re: [WebDNA] USPS shipping calculator

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 107896
interpreted = N
texte = Here is one from way back using FedEx. FedEx Cost Calculator
Assumes dropoff at fedex location (or scheduled pickup), and not oversized packaging.
Additional charges may apply for home delivery or other special options (see below).
Rates based upon shipping from zip code 92122. Replace rate and zone data by downloading from the fedex website.
Destination: (zip code= )
Weight: lbs.
Service:

[showif [action]=3Drate] [text]theCost=3D[/text] [text]theError=3D[/text] [!]Get the zone[/!] [search db=3Dzones.db&FROM_ZIPtype=3Dnum&TO_ZIPtype=3Dnum&leFROM_ZIPdatarq= =3D[destination]&geTO_ZIPdatarq=3D[destination]] [founditems] [showif [service]=3DGROUND] Ground Zone ([from_zip]-[to_zip]): [ground_zone]
[showif [ground_zone]=3DNA][text]theError=3DUnable to ship to this zip code[/text][/showif] [hideif [ground_zone]=3DNA] [!]look up the rate[/!] [search db=3Drates.db&ZONEtype=3Dnum&eqZONEdatarq=3D[ground_zone]&WEIGHTtyp= e=3Dnum&geWEIGHTdatarq=3D[weight]&asWEIGHTsort=3D1&max=3D1] [founditems] Weight: [weight] lbs.
Service: [service]
[text]theCost=3D[interpret][[service]][/interpret][/text] [showif [theCost]=3D] [text]theError=3DThis service is not available for this zip code (try priority overnight or 2nd day)[/text] [/showif] [hideif [theCost]=3D] Cost: $[theCost] [/hideif] [/founditems] [/search] [/hideif] [!]express_zone=3DNA[/!] [/showif] [hideif [service]=3DGROUND] Express Zone ([from_zip]-[to_zip]): [express_zone]
[showif [express_zone]=3DNA][text]theError=3DUnable to ship to this zip code[/text][/showif] [hideif [express_zone]=3DNA] [!]look up the rate[/!] [search db=3Drates.db&ZONEtype=3Dnum&eqZONEdatarq=3D[express_zone]&WEIGHTty= pe=3Dnum&geWEIGHTdatarq=3D[weight]&asWEIGHTsort=3D1&max=3D1] [founditems] Weight: [weight] lbs.
Service: [service]
[text]theCost=3D[interpret][[service]][/interpret][/text] [showif [theCost]=3D] [text]theError=3DThis service is not available for this zip code (try priority overnight or 2nd day)[/text] [/showif] [hideif [theCost]=3D] Cost: $[theCost] [/hideif] [/founditems] [/search] [/hideif] [!]express_zone=3DNA[/!] [/hideif] [!]service=3DGROUND[/!] [/founditems] [/search] [showif [theCost]=3D] Unable to price shipping.
[theError] [/showif]
FedEx Express Additional Charges:Special Handling Fees and Other ChargesCourier Pickup Charge=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $3 per p=ackageSaturday Pickup Service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 per pack=ageSaturday Delivery Service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 per packageSunday Delivery (FedEx Priority=A0=A0=A0=A0=A0 $20 per packageOvernight=A8)FedEx Collect on Delivery (C.O.D.)=A0=A0 $7.50 per packageAddress Correction=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $1=0 per correctionBilling Special Handling Fee=A0=A0=A0=A0=A0=A0=A0=A0 $10 per packageReroute of Shipment=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 =per packageResidential Delivery Charge=A0=A0=A0=A0=A0=A0=A0=A0=A0 $1 per package(FedEx Express Saver=A8)-----------------------------------------------------FedEx Ground Additional Charges:Accessorial Rates (priced per package)Residential Package SurchargeAn additional surcharge of $1.50 will applyto residential deliveries in rural areas. $1.05Declared Value over $100This amount applies for each additional$100 or fraction thereof. $0.35Additional Handling SurchargeAn additional handling charge applies to anypackage measuring more than 60 inches in lengthor any article, pail or container not fully encasedin an appropriate shipping container. $5.00Address Correction $5.00FedEx Home Delivery Call Tag Service* $4.75Acknowledgment of Delivery $1.25Signature Home DeliveryCost: $2/packageWith Signature: IncludedWith Signature & Auto P.O.D.: $3/packageFedEx=A8Date Certain Home DeliveryCost: $3/shipmentWith Signature: $3/shipment + $2/packageWith Signature & Auto P.O.D.: $3/shipment + $3/packageFedEx=A8Evening Home DeliveryCost: $7/shipmentWith Signature: $7/shipment + $2/packageWith Signature & Auto P.O.D.: $7/shipment + $3/packageFedEx=A8Appointment Home DeliveryCost: $15/shipmentWith Signature: IncludedWith Signature & Auto P.O.D.: $15/shipment + $1/packageC.O.D. Collection $6.00 per packageAdditional fees apply to Cash C.O.D.deliveries in the U.S.$6.00 or 2% of the amount to be collectedwhen the amount exceeds $300.00.$10.00 per package destined to a high-densityZIP code.U.S. to Canada C.O.D.s will be collected inCanadian currency.(Visit the FedEx Web site at fedex.com for a listof ZIP codes.)E-C.O.D. Collection $6.00 per packageE-C.O.D. (electronic collect on delivery) requiresan additional weekly service charge of $10.00for 48-hour service and $35.00 for 24-hour service.Auto P.O.D. Service $1.00 per packageAddress Correction $5.00 per packageFedEx Ground Call Tag Service $4.75 per packageElectronically Transmitted Call Tag $4.50 per packageA.O.D. (acknowledgment of delivery) $1.25 per packageHazardous Materials Charge $17.00 per packageWeekly Service Charge $7.00An additional charge of $3.50 will applyto customers who ship less than $50.00in weekly charges.Declared Value Over $100 $0.35This amount applies for each additional$100 or fraction thereof.Residential Package Surcharge $1.30An additional surcharge of $1.50 will apply toresidential pickups and deliveries in rural areas.Additional Handling Surcharge $5.00An additional handling charge applies to anypackage measuring more than 60 inches in lengthor any article, pail or container not fully encasedin an appropriate shipping container.Missing or Invalid Account Number $5.00An account number is invalid if it is not thecorrect account number for the bill-to party,or it is the account number for a recipient orthird party who fails to pay the shipping charges.
[/showif] [closedatabase db=3Dzones.db] [closedatabase db=3Drates.db] On Mon, Jan 2, 2012 at 9:39 AM, wrote: > > I ended up just doing it :-) > > All I needed was a simple shipping calculator for priority mail, which is= rather quick and painless to code as far as APIs go. > > Thanks Steve, and for anyone else doing these types of things, I think it= would be awesome to share code for communicating with various API's and cl= oud services. =A0While certainly we may have reservations to offer up speci= fic items freely, there is typically code examples, frameworks, etc in PHP,= Perl, and so forth=A0freely available in many cases. =A0It will be tremend= ous for future WebDNA programmers to have similar resources they can discov= er and use. > > I do plan to develop more for the shipping services down the line here. = =A0As of now though, I've created some neat mashups either through API's or= simple RSS feeds such as: > #CafePress store > #Twitter > #Google Checkout > #Google Calendar > #Youtube > #Ebay Store > #Amazon affiliate > #UPS > #USPS > > I'm hoping to get into Facebook integration rather soon. =A0And while I h= ave not gone as deep as one could into each of these services, I do at leas= t have some familiarity and code that could help another programmer get sta= rted. > > > On Jan 2, 2012, at 1:33 AM, Steve Raslevich wrote: > > Hello Aaron, > > Actually I subbed that exact job out to a friend. It is tracking and subm= itting shipments.=A0 I spoke with him last week and he told me he was finis= hing it up. Would you happen to have a FedEx tracking API=A0 or a distance = between zipcodes calculator to trade? Feel free to email me directly. > > Regards, > Steve > > aaronmichaelmusic@gmail.com wrote: > > Anyone by chance have a working shipping calculator for USPS??? > > The USPS API actually looks fairly easy, but it would be nice to save a l= ittle time. I've built a UPS calculator that I'm willing to offer up as so= mething to give back, or possibly a few other WebDNA scripts I've written t= o work with various APIs (ie Google & Amazon services) > > > Thanks!--------------------------------------------------------- > 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 > > --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Repor= ting: support@webdna.us > > > --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Repor= ting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] USPS shipping calculator (sal danna 2012)
  2. Re: [WebDNA] USPS shipping calculator (sal danna 2012)
  3. Re: [WebDNA] USPS shipping calculator (aaronmichaelmusic@gmail.com 2012)
  4. Re: [WebDNA] USPS shipping calculator (Steve Raslevich 2012)
  5. [WebDNA] USPS shipping calculator (aaronmichaelmusic@gmail.com 2012)
Here is one from way back using FedEx. FedEx Cost Calculator
Assumes dropoff at fedex location (or scheduled pickup), and not oversized packaging.
Additional charges may apply for home delivery or other special options (see below).
Rates based upon shipping from zip code 92122. Replace rate and zone data by downloading from the fedex website.
Destination: (zip code= )
Weight: lbs.
Service:

[showif [action]=3Drate] [text]theCost=3D[/text] [text]theError=3D[/text] [!]Get the zone[/!] [search db=3Dzones.db&FROM_ZIPtype=3Dnum&TO_ZIPtype=3Dnum&leFROM_ZIPdatarq= =3D[destination]&geTO_ZIPdatarq=3D[destination]] [founditems] [showif [service]=3DGROUND] Ground Zone ([from_zip]-[to_zip]): [ground_zone]
[showif [ground_zone]=3DNA][text]theError=3DUnable to ship to this zip code[/text][/showif] [hideif [ground_zone]=3DNA] [!]look up the rate[/!] [search db=3Drates.db&ZONEtype=3Dnum&eqZONEdatarq=3D[ground_zone]&WEIGHTtyp= e=3Dnum&geWEIGHTdatarq=3D[weight]&asWEIGHTsort=3D1&max=3D1] [founditems] Weight: [weight] lbs.
Service: [service]
[text]theCost=3D[interpret][[service]][/interpret][/text] [showif [theCost]=3D] [text]theError=3DThis service is not available for this zip code (try priority overnight or 2nd day)[/text] [/showif] [hideif [theCost]=3D] Cost: $[theCost] [/hideif] [/founditems] [/search] [/hideif] [!]express_zone=3DNA[/!] [/showif] [hideif [service]=3DGROUND] Express Zone ([from_zip]-[to_zip]): [express_zone]
[showif [express_zone]=3DNA][text]theError=3DUnable to ship to this zip code[/text][/showif] [hideif [express_zone]=3DNA] [!]look up the rate[/!] [search db=3Drates.db&ZONEtype=3Dnum&eqZONEdatarq=3D[express_zone]&WEIGHTty= pe=3Dnum&geWEIGHTdatarq=3D[weight]&asWEIGHTsort=3D1&max=3D1] [founditems] Weight: [weight] lbs.
Service: [service]
[text]theCost=3D[interpret][[service]][/interpret][/text] [showif [theCost]=3D] [text]theError=3DThis service is not available for this zip code (try priority overnight or 2nd day)[/text] [/showif] [hideif [theCost]=3D] Cost: $[theCost] [/hideif] [/founditems] [/search] [/hideif] [!]express_zone=3DNA[/!] [/hideif] [!]service=3DGROUND[/!] [/founditems] [/search] [showif [theCost]=3D] Unable to price shipping.
[theError] [/showif]
FedEx Express Additional Charges:Special Handling Fees and Other ChargesCourier Pickup Charge=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $3 per p=ackageSaturday Pickup Service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 per pack=ageSaturday Delivery Service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 per packageSunday Delivery (FedEx Priority=A0=A0=A0=A0=A0 $20 per packageOvernight=A8)FedEx Collect on Delivery (C.O.D.)=A0=A0 $7.50 per packageAddress Correction=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $1=0 per correctionBilling Special Handling Fee=A0=A0=A0=A0=A0=A0=A0=A0 $10 per packageReroute of Shipment=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $10 =per packageResidential Delivery Charge=A0=A0=A0=A0=A0=A0=A0=A0=A0 $1 per package(FedEx Express Saver=A8)-----------------------------------------------------FedEx Ground Additional Charges:Accessorial Rates (priced per package)Residential Package SurchargeAn additional surcharge of $1.50 will applyto residential deliveries in rural areas. $1.05Declared Value over $100This amount applies for each additional$100 or fraction thereof. $0.35Additional Handling SurchargeAn additional handling charge applies to anypackage measuring more than 60 inches in lengthor any article, pail or container not fully encasedin an appropriate shipping container. $5.00Address Correction $5.00FedEx Home Delivery Call Tag Service* $4.75Acknowledgment of Delivery $1.25Signature Home DeliveryCost: $2/packageWith Signature: IncludedWith Signature & Auto P.O.D.: $3/packageFedEx=A8Date Certain Home DeliveryCost: $3/shipmentWith Signature: $3/shipment + $2/packageWith Signature & Auto P.O.D.: $3/shipment + $3/packageFedEx=A8Evening Home DeliveryCost: $7/shipmentWith Signature: $7/shipment + $2/packageWith Signature & Auto P.O.D.: $7/shipment + $3/packageFedEx=A8Appointment Home DeliveryCost: $15/shipmentWith Signature: IncludedWith Signature & Auto P.O.D.: $15/shipment + $1/packageC.O.D. Collection $6.00 per packageAdditional fees apply to Cash C.O.D.deliveries in the U.S.$6.00 or 2% of the amount to be collectedwhen the amount exceeds $300.00.$10.00 per package destined to a high-densityZIP code.U.S. to Canada C.O.D.s will be collected inCanadian currency.(Visit the FedEx Web site at fedex.com for a listof ZIP codes.)E-C.O.D. Collection $6.00 per packageE-C.O.D. (electronic collect on delivery) requiresan additional weekly service charge of $10.00for 48-hour service and $35.00 for 24-hour service.Auto P.O.D. Service $1.00 per packageAddress Correction $5.00 per packageFedEx Ground Call Tag Service $4.75 per packageElectronically Transmitted Call Tag $4.50 per packageA.O.D. (acknowledgment of delivery) $1.25 per packageHazardous Materials Charge $17.00 per packageWeekly Service Charge $7.00An additional charge of $3.50 will applyto customers who ship less than $50.00in weekly charges.Declared Value Over $100 $0.35This amount applies for each additional$100 or fraction thereof.Residential Package Surcharge $1.30An additional surcharge of $1.50 will apply toresidential pickups and deliveries in rural areas.Additional Handling Surcharge $5.00An additional handling charge applies to anypackage measuring more than 60 inches in lengthor any article, pail or container not fully encasedin an appropriate shipping container.Missing or Invalid Account Number $5.00An account number is invalid if it is not thecorrect account number for the bill-to party,or it is the account number for a recipient orthird party who fails to pay the shipping charges.
[/showif] [closedatabase db=3Dzones.db] [closedatabase db=3Drates.db] On Mon, Jan 2, 2012 at 9:39 AM, wrote: > > I ended up just doing it :-) > > All I needed was a simple shipping calculator for priority mail, which is= rather quick and painless to code as far as APIs go. > > Thanks Steve, and for anyone else doing these types of things, I think it= would be awesome to share code for communicating with various API's and cl= oud services. =A0While certainly we may have reservations to offer up speci= fic items freely, there is typically code examples, frameworks, etc in PHP,= Perl, and so forth=A0freely available in many cases. =A0It will be tremend= ous for future WebDNA programmers to have similar resources they can discov= er and use. > > I do plan to develop more for the shipping services down the line here. = =A0As of now though, I've created some neat mashups either through API's or= simple RSS feeds such as: > #CafePress store > #Twitter > #Google Checkout > #Google Calendar > #Youtube > #Ebay Store > #Amazon affiliate > #UPS > #USPS > > I'm hoping to get into Facebook integration rather soon. =A0And while I h= ave not gone as deep as one could into each of these services, I do at leas= t have some familiarity and code that could help another programmer get sta= rted. > > > On Jan 2, 2012, at 1:33 AM, Steve Raslevich wrote: > > Hello Aaron, > > Actually I subbed that exact job out to a friend. It is tracking and subm= itting shipments.=A0 I spoke with him last week and he told me he was finis= hing it up. Would you happen to have a FedEx tracking API=A0 or a distance = between zipcodes calculator to trade? Feel free to email me directly. > > Regards, > Steve > > aaronmichaelmusic@gmail.com wrote: > > Anyone by chance have a working shipping calculator for USPS??? > > The USPS API actually looks fairly easy, but it would be nice to save a l= ittle time. I've built a UPS calculator that I'm willing to offer up as so= mething to give back, or possibly a few other WebDNA scripts I've written t= o work with various APIs (ie Google & Amazon services) > > > Thanks!--------------------------------------------------------- > 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 > > --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Repor= ting: support@webdna.us > > > --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Repor= ting: support@webdna.us sal danna

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:

Re:Emailer and encryption (1997) cookies crumbling (1999) errormessages.db (1997) More on the email templates (1997) Error Lob.db records error message not name (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) too many nested tags ... (1997) multi-paragraph fields (1997) BUG NOTICE: (2003) process SSI (1998) Applescript in Webcatalog problem (1997) Photo Album (2000) Searching multiple fields from one form field (1997) BUG REPORT -- Refusing connections! (1999) Bug Report, maybe (1997) HELP WITH DATES (1997) Sub Categories (2000) A little syntax help (1997) [NT] ie 4.0 required (1997) [WebDNA] SendMail Problems, 453 (2016)