Another FedEx class update

FedEx supports only 150 pound per package, so if you are trying to calculate rates for package which weight more than 150 you get an error. The fix was made and now PackageCount is automatically counted by given weight.

You can download updated FedEx class from this post.

PHP: FedEx shipping rates calculator updated

One user was using my FedEx class and could not get rates for Ground service. I have just figured out what was the problem. First of all Ground and Home delivery are ground services and you must set Carrier code to FDXG.

$fedex->setCarrierCode("FDXG");

After this I found few bugs witch I fixed and now you can download updated FedEx class from this post.

406 Not Acceptable error

This is an error I got today:

406 Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.

I saw it for the first time and tried to find out where’s the problem. And the problem was in Apache mod_security. I have disabled mod_security specific to resolve the 406 errors. Sometimes mod_security rules are too strict for some web applications.

In order to disable mod_security add this line to .htaccess file: SecFilterEngine Off

Godaddy promo code | renew .NET

My anekdotai.net domain expiration was going to the end so today i decided to renew it. And first of all I was looking for godaddy promo codes. Most of them were not working or already expired but there are two codes still working:

$6.99 .NET domains!(Register or Renew).
gdr0709a

Renew your domain! Enjoy special savings for .COM, .NET, .ORG, .INFO, .MOBI and .TV renewals. $7.50
gdbb776

PHP: FedEx shipping rates calculator

FedEx Ship Manager (FSM) Direct was designed to allow customers to connect directly to the FedEx back end systems using their own communications protocol. Welcome to FSM Direct!
You can compose FedEx XML Transactions to interface between your e-commerce application and the FedEx server and vice versa.
This solution is applicable only to those customers that have the development resources and knowledge to develop their own FedEx interface.

Before you begin:
FSM Direct Site Registration: To register in the FSM Direct program, go to http://www.fedex.com/us/solutions/wis/. Register and complete the brief registration form.

Steps for developing your own communications protocol and integrating it into your application are listed below.

  • Read and accept the FedEx Ship Manager Direct license agreement.
  • Review the FedEx Direct Documentation: Determine if this alternative or FedEx API is appropriate for your application.
  • Develop your application.
  • Send an email to websupport@fedex.com. Request to be set up for testing. Attach FedEx Express and/or FedEx Ground account number(s).
  • Test your application.

All documentation can be found here:

http://www.fedex.com/us/solutions/wis/pdf/fsm_directmanual.pdf

http://www.fedex.com/us/solutions/wis/pdf/xml_transguide.pdf

Here’s more about this class
Read the rest of this entry »