Fedex shipping

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vidyadoiphode
Forum Newbie
Posts: 14
Joined: Wed Oct 04, 2006 4:46 am

Fedex shipping

Post by vidyadoiphode »

hello,
i am using fedex shipping to calculate shipping price.
my script doesnt give me ground shipping value, it gives other [rices properly.
can anyone tell me any solution?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Fedex shipping

Post by Christopher »

vidyadoiphode wrote:can anyone tell me any solution?
Not without seeing the script.
(#10850)
tristanlee85
Forum Contributor
Posts: 172
Joined: Fri Dec 19, 2003 7:28 am

Post by tristanlee85 »

Could you elaborate a little more, such as the script you are using, how you are defining the rate tables, etc...
vidyadoiphode
Forum Newbie
Posts: 14
Joined: Wed Oct 04, 2006 4:46 am

Post by vidyadoiphode »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Code: Select all

$fedex->setCarrierCode("FDXE");
    $fedex->setDropoffType("REGULARPICKUP");
    $fedex->setService($service, $serviceName);
    $fedex->setPackaging("YOURPACKAGING");
    $fedex->setWeightUnits("LBS");
    $fedex->setWeight(17);
    $fedex->setOriginStateOrProvinceCode("CA");
    $fedex->setOriginPostalCode(90014);
    $fedex->setOriginCountryCode("US");
   
   $fedex->setDestStateOrProvinceCode("CA");
    $fedex->setDestPostalCode(90210);
    $fedex->setDestCountryCode("US");
    $fedex->setPayorType("SENDER");

i am using fedex.php.
and set all above variable with account number and meter number


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Where did you get this class from?
Post Reply