VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: misticjeff on April 16, 2006, 06:45:47 AM

Title: FedEx Module / API Servers
Post by: misticjeff on April 16, 2006, 06:45:47 AM
OK,

I've got the FedEx Module installed and linked to the test server.  I've also read how you need to go to FedEx and request the address to their production servers.  This is where i'm baffled.

Can someone help me with this or IM me the information or god forbid the server address. I have a FedEx account and meter number and have been shipping with FedEx for over a year now with Zen Cart but would like to make the move to VirtueMart but this Module is a headache.

Jeff
Title: Re: FedEx Module / API Servers
Post by: antcomp on April 16, 2006, 07:50:31 AM
the Fedex module is still in Beta, so many of the features (everything except rate quotes) have yet to be implemented. This is how it works though:

1. sign in as an admin to edit your store and go to the Virtuemart component.
2. select Admin ---> configuration from the Virtuemart menu bar
3. select the shipping tab
4. click the check box next to the Fedex Module, also if fedex is your only shipping service, deselect the other boxes, then click save.
5.select Store ---> shipping module list from the Virtuemart menu bar
6. Select Configure Ship method for fedexDC
7. the language file has yet to be fixed so the boxes are blank this is what goes in each one:

1. the top box is where you enter your account number
2. the middle box is where you enter your meter number ( if you don't have one leave this blank and the cart will request one from fedex and fill it in for you upon the first connection attempt with fedex)
3. This box is where you enter the server address, (Fedex, won't let me give it out publicly, I'll PM you with it though)

8. If you want the cart to charge tax select the appropriate tax rate, if you charge a handling fee you can enter that in the last box. after all this click save and everything should work.

If you go to test this and you get some odd rates (like $0.27 for first overnight) there may be a bad line of code in your version (this was fixed a few months ago, so it should only happen if you have an old copy) let me know and I'll tell you how to fix this.
Title: Re: FedEx Module / API Servers
Post by: misticjeff on April 16, 2006, 08:22:24 AM
Hi Guys,

Thanks for the help...  got it working so that's one step closer..

Now...  How do I include images in an array?

If you'll notice in the FedEx output that it lists the shipping method and cost:

Express Standard Overnight ($65.74), expected delivery: TUE, 18Apr06
Express Saver ($22.74), expected delivery: THU, 20Apr06

However, i'd like to include the FedEx logo in front of the output like so:

(http://www.misticaudio.com/images/EXH2PS20.gif)Express Saver ($22.74), expected delivery: THU, 20Apr06

I'd also like to get rid of the "expected delivery day/date" and I know it's probably just a comment somewhere.

So... in the file fedex-tags.php there are all the FedEx tags and you can alter the text.  However,  i know next to nothing about coding so am not sure how to include code to grab an image.  Here's the code from the fedex-tags.php file:

var $FE_ST = array (
        '01' => 'Express Priority Overnight',
        '03' => 'Express Economy Two Day',
        '05' => 'Express Standard Overnight',
        '06' => 'Express First Overnight',
        '20' => 'Express Saver',
        '70' => 'Freight Overnight',
        '80' => 'Freight Two Day',
        '83' => 'Freight Express Saver',
        '86' => 'Freight International Priority',
        '90' => 'Ground Home Delivery',

How/Where can I place code to grab an image file in this array???

Thanks a bunch.

Jeff
Title: Re: FedEx Module / API Servers
Post by: misticjeff on April 16, 2006, 09:13:55 AM
More to add...

I'm getting bogus rates from the FedEx Module and they do not update as weights change.  Since I have a working Zen Cart store with FedEx I can compare exact weights, etc.  here's what i'm getting:

product - Widget
weight - 3.75 pounds

Correct FedEx Rates from Zen Cart FedEx Module which also coincide with my online shipping account with FedEx:

(FedEx First Overnight® )   $74.09
(FedEx Priority Overnight® )   $46.09
(FedEx Standard Overnight®)   $40.83
(FedEx 2Day® )   $18.65
(FedEx Express Saver®)   $17.64
(FedEx Home Delivery® )   $9.94

Same item from VirtueMart FedEx Module:

FedEx - Express Priority Overnight ($73.98)
FedEx - Express Economy Two Day ($24.75)
FedEx - Express First Overnight ($101.98)
FedEx - Express Standard Overnight ($65.74)
FedEx - Express Saver ($22.74)
FedEx - Ground Home Delivery ($7.83)
FedEx - Ground Business Delivery ($6.02)

You'll note the differences..  Also,  if i change the weight of the item to 10 pounds these rates do not change although they do with the UPS and USPS modules...  What would be the issue here?????
Title: Re: FedEx Module / API Servers
Post by: antcomp on April 20, 2006, 01:01:11 AM
I'm working on correcting this, as well as adding the logos and removing the date and time for you. Per a request from Fedex I cannot upload a copy with their logo present until they approve my request for useage of their logo on Virtuemart
Title: Re: FedEx Module / API Servers
Post by: misticjeff on April 20, 2006, 01:45:52 AM
Hi,

Thanks, that would be terrific!

I've previously gone through the FedEx Brand Identity approval process, had to for my Zen Cart install.  If FedEx will approve your module that would be way cool as the one for Zen Cart works perfectly with logos and all.

Keep us posted...

Jeff
Title: Re: FedEx Module / API Servers
Post by: ivan8r on May 03, 2006, 05:40:54 AM
Where can I get a copy of the FedEx Module? I've been looking all over the virtuemart site, and can't find a download.

Thanks!
Title: Re: FedEx Module / API Servers
Post by: super_yupi on May 04, 2006, 06:57:53 AM
I saw the Fedex Module here
http://virtuemart.net/index.php?option=com_smf&Itemid=71&topic=14414.30
Title: Re: FedEx Module / API Servers
Post by: mit on June 10, 2006, 06:17:46 AM
Could someone PM me the FedEx server address?  I'm trying to integrate the FedEx module, and that's the only information I don't have.  Thanks!!
Title: Re: FedEx Module / API Servers
Post by: mit on June 12, 2006, 18:02:12 PM
As a follow up to my previous post....I installed the FedEx module, configured it to include my FedEx account number, used the test server listed in the 'Read Me' file, and got the following error:

Error: FedEx Return Error 1247 : Required address field missing: Contact name
Error: Error updating the Meter Number

I need the FedEx for the rate quote, and not a shipping request.  I've spent over 30 hours on this, and would really appreciate it if someone could help me to get this module functioning properly.  Thanks in advance!
Title: Re: FedEx Module / API Servers
Post by: rolo923 on November 01, 2006, 20:24:03 PM
Hey all,
I have installed the Fedex module but I'm getting this on a one pound order

Ground Home Delivery ($2.06)
Ground Business Delivery ($0.22)

can I get rid of the business delivery or is there a fix somewhere for the rate?
Thanks

Title: Re: FedEx Module / API Servers
Post by: VMuser on November 21, 2006, 21:45:09 PM
Error: FedEx Return Error 1247 : Required address field missing: Contact name
Error: Error updating the Meter Number

This is due to the Store Contact Information not being filled out, or not being passed to the shipping module. In the Joomla Admin -> VirtureMart -> Store -> Edit Store -> Contact information

Title: Re: FedEx Module / API Servers
Post by: Sammy Russo on June 13, 2007, 17:24:30 PM
Quote from: mit on June 10, 2006, 06:17:46 AM
Could someone PM me the FedEx server address?  I'm trying to integrate the FedEx module, and that's the only information I don't have.  Thanks!!

From what i understand, you need to get the live URL from FEDEX after your site goes through their certification process.

Here is the url to the test server:
https://gatewaybeta.fedex.com:443/GatewayDC
Title: Re: FedEx Module / API Servers
Post by: Sammy Russo on June 13, 2007, 17:33:23 PM
So I'm trying to certify my process with FEDEX and they are asking some question i don't know how to answer. Does anyone here know if this FEDEX Mod uses...

1. Are you using FSM API or FSM Direct? DIRECT

2. Are you using XML or tagged (CTS) transactions?


Thanks

Title: Re: FedEx Module / API Servers
Post by: ksaha@tulieservices.com on April 11, 2009, 09:58:54 AM
I want to use fedex for virtue mart shipping. I have select the same from 'Configuration' and then 'List Payment Methods' of 'Store', I have seleccted FedEXdc and config it. I have it :

FedEx Account Number     : XXXX
FedEx Meter Number      : I left it blank.
FedEx Server Address    : https://gatewaybeta.fedex.com/GatewayDC(for test mode)
Tax Class               : 8.25%
Handling Fee            : 1.50
Allowed Services        : fedex 2day, overnight, groud
Signature Option        : Direct sign.
Rate Display Order      : desending

Now from frontend, when I am selecting a product(the product has size and weight set from admin), no shipping charge is adding, no such option is asking for. Where is the prob?
Title: Re: FedEx Module / API Servers
Post by: fidel on April 14, 2009, 01:08:54 AM
You may want to search a newer forum thread, such as the one listed immediately below.

http://forum.virtuemart.net/index.php?topic=49854.0

But, with both UPS and FedEx, I have had an array of issues throughout the years using Virtuemart, most prominently the lack of accuracy when calculating shipping rates.

For United States shopping carts, I have found that the following must be enabled in order to calculate shipping for any region of the world.




UNPUBLISHED: Priority Overnight / Standard Overnight / First Overnight / International Priority / Home Delivery

PUBLISHED: All others not mentioned above.




NOTE: Home Delivery does work but we decided to remove it. Also, while we do not want to use Priority Overnight, we had to enable it, since it was the only configuration option that would allow calculation of Canada. Also, the results were the same using several different meters. And shipping calculations remained exactly the same for addresses in two different states.

FOR MORE: If you guys would like, I can make the various tests that I performed viewable on my site by simply publishing in a forum with permissions to all. I'd have to remove some information, though.