Forums / Addon Shipping Modules / fedex webservices shipping quote

fedex webservices shipping quote

Started by aditya369 on 15 Feb 2012, 12:58 PM · Views: 6,263

Results 1 to 13 of 13
15 Feb 2012, 12:58 PM
#1
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

fedex webservices shipping quote

Hello All,

I would like to show the estimated shipping cost in the product info page. can anyone help me how to do this?

I have installed "FedEx Web Services" in the shipping module. But it is showing up "Error in processing transaction". Well, I guess that it will show the shipping cost in the checkout page. But I want some thing click here and see "Instant Shipping Quote" section. I am looking for this feature using fedex webservices.

Can anyone help me in this or guide me how to do this?

21 Feb 2012, 8:56 PM
#2
taerox avatar

taerox

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

Re: fedex webservices shipping quote

I'm having a similar problem. I cannot use the web services api at all. The error message is very helpful...
"Error in processing transaction."

I can't even proceed to the checkout page.

If I disable numinex's addon and change it to flat rate, it works perfectly.

I am using php 5.3 as required.

Please help!

22 Feb 2012, 3:27 PM
#3
jimcrown avatar

jimcrown

New Zenner

Join Date:
Sep 2007
Location:
Illinois
Posts:
16
Plugin Contributions:
0

Re: fedex webservices shipping quote

It is my nderstanding after talking to FedEx that they are no longer supporting the API system. They want everyone to switch over to web services system that will require password, acct number, meter number and a production URL in order to access it.
Just learned this today and am trying to get tthe next step to convert to this system.

22 Feb 2012, 6:16 PM
#4
taerox avatar

taerox

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

Re: fedex webservices shipping quote

Please see the attached error. This is during step 1 of 3 "Delivery Information"

Does anyone actually have this module working?

Attachment #10175

23 Feb 2012, 12:28 PM
#5
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: fedex webservices shipping quote

taerox:

Please see the attached error. This is during step 1 of 3 "Delivery Information"

Does anyone actually have this module working?

Attachment #10175
Hello Taerox,

I was able to fix my issue. As Jim Crown told FedEx no longer supports API, We need to move on with FedEx webservices. First of all, you need to register with fedEx and need to get "Test Account Number,Test Meter Number, Developer Test Key and Developer Password". These will be provided by FedEx. Then download the Zencart Module from "https://www.numinix.com/fedex-web-services-shipping". Extract the zip folder and Modify the below files and upload the files to your server retaining the folder structure or follow docs/readme.txt file from the zip.

  1. includes/library/fedex-common.php5
    Change XXX/YYY in the below lines with the information provided by FedEx.
    if($var == 'shipaccount') Return 'XXX'; //FedEx Test Account Number
    if($var == 'billaccount') Return 'XXX'; //FedEx Test Account Number
    if($var == 'meter') Return 'XXX'; //FedEx Test Meter Number
    if($var == 'key') Return 'XXX'; //FedEx Developer Test Key
    if($var == 'password') Return 'XXX'; //FedEx Developer Password

  2. includes/modules/shipping/fedexwebservices.php
    Change the below lines
    @define('MODULE_SHIPPING_FEDEX_WEB_SERVICES_KEY', 'PpFEn9QGjnR4Wdb2'); // FedEx Developer Test Key
    @define('MODULE_SHIPPING_FEDEX_WEB_SERVICES_PWD', 'u4hXPKKcpKBw9RQ4n1hBvsJAH'); //FedEx Developer Password

  3. includes/wsdl/RateService_v9.wsdl
    Go to end of the file and find the Below section
    <service name="RateService">
    <port name="RateServicePort" binding="ns:RateServiceSoapBinding">
    <s1:address location="https://gateway.fedex.com/web-services/"/>
    </port>
    </service>
    In this, replace "<s1:address location="https://gateway.fedex.com/web-services/"/>" with the test FedEx service URL "<s1:address location="https://gatewaybeta.fedex.com/web-services/"/>"

That's it... You are ready to test the FedEx webservices online on your store.
Once you are satisfied with your testing, modify the above files with your Original Info that was given by FedEx.

Hope this helps you..
Thanks,
Aditya

23 Feb 2012, 8:33 PM
#6
mattgulden avatar

mattgulden

New Zenner

Join Date:
May 2008
Posts:
9
Plugin Contributions:
0

Re: fedex webservices shipping quote

Aditya,

Thanks so much for providing this, you are an angel.
I'm having trouble finding the "developer password" though. I have the developer key, test account # and test meter # but the only password I have is for account on fedex.com website, which doesn't work.

-Matt

23 Feb 2012, 11:54 PM
#7
mattgulden avatar

mattgulden

New Zenner

Join Date:
May 2008
Posts:
9
Plugin Contributions:
0

Re: fedex webservices shipping quote

Nevermind, they send this in a separate e-mail I think. I just didn't get it because it went to the store owner e-mail. D'oh.

25 Feb 2012, 5:59 PM
#8
mattgulden avatar

mattgulden

New Zenner

Join Date:
May 2008
Posts:
9
Plugin Contributions:
0

Re: fedex webservices shipping quote

Also when you're changing your testing credentials to the production credentials, don't forget to go change "gatewaybeta.fedex.com" back to "gateway.fedex.com" in the rateservice file.
Mine's working now, in zen cart 1.5.

25 Feb 2012, 6:36 PM
#9
mattgulden avatar

mattgulden

New Zenner

Join Date:
May 2008
Posts:
9
Plugin Contributions:
0

Re: fedex webservices shipping quote

and it's quoting accurately, to the penny, what she has to end up paying. Thank you aditya, numinix, and zen cart team.

28 Feb 2012, 11:58 AM
#10
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: fedex webservices shipping quote

mattgulden:

Also when you're changing your testing credentials to the production credentials, don't forget to go change "gatewaybeta.fedex.com" back to "gateway.fedex.com" in the rateservice file.
Mine's working now, in zen cart 1.5.
Hi Matt,

Happy to Help You...

and thanks for your quote "Also when you're changing your testing credentials to the production credentials, don't forget to go change "gatewaybeta.fedex.com" back to "gateway.fedex.com" in the rateservice file."

Thanks,
Aditya

28 Feb 2012, 5:28 PM
#11
michaelchu avatar

michaelchu

Zen Follower

Join Date:
Nov 2011
Posts:
121
Plugin Contributions:
0

Re: fedex webservices shipping quote

Been trying to find where I can modify the appearance of the rate quote list but can't seem to locate it. Just trying to add the deliver by time next to each available service. Ex: FedEx 2nd Day (Deliver by 7:00 pm)
Would appreciate any suggestions.

13 Jun 2012, 5:40 PM
#12
ammnxxx avatar

ammnxxx

New Zenner

Join Date:
Apr 2012
Posts:
5
Plugin Contributions:
0

Re: fedex webservices shipping quote

hello aditya369 . follow the steps mentioned above and nothing mind my web service sigie fedex without estimating the price of shipping. I had installed the module for a long, but from one day to another stopped working, just download the new vercion published in https://www.numinix.com (1.3.1) but does not work either, I do and I'm desperate, no meeting solution.

16 Aug 2012, 5:54 PM
#13
serg avatar

serg

New Zenner

Join Date:
Jan 2012
Posts:
60
Plugin Contributions:
0

Re: fedex webservices shipping quote

Hey guys! i have installed this following the directions on post 5! THANK YOU BY THE WAY! but I don't know if it's a zen cart issue or fedex but i want the shipping calculated by weight. when I add a bunch of stuff to the cart the shipping stays the same. is it the aactual fedex account with flat shipping or zen cart? someone help please I can't figure this out! thank you
here's my site
https://www.josephfilippiwinery.com/store