fedex

How track by Tracking Number Unique Identifier?

烂漫一生 提交于 2019-12-08 02:47:49
问题 I'm having issues attempting to track a package by Tracking Number Unique Identifier. I'm working with the sample PHP code from Fedex Developer Resource Center. How can I track it using the TrackingNumberUniqueIdentifier? $path_to_wsdl = __DIR__ . "/WSDL/FEDEX/TrackService_v6.wsdl"; ini_set("soap.wsdl_cache_enabled", "0"); $client = new \Soapclient($path_to_wsdl, array('trace' => 1)); $request = array( 'WebAuthenticationDetail' => array( 'UserCredential' => array( 'Key' => #KEY#, 'Password' =

Fedex PHP soap api with multiple service types?

雨燕双飞 提交于 2019-12-07 06:45:01
问题 i am using fedex soap api for retrieving shipping rates, but in ServiceType i am able to send only one type i.e. PRIORITY_OVERNIGHT, how can i send multiple Services in one request like GROUND_HOME_DELIVERY, INTERNATIONAL_ECONOMY, PRIORITY_OVERNIGHT,STANDARD_OVERNIGHT? 回答1: You can omit the $request['RequestedShipment']['ServiceType'] from the request and FedEx will return all available shipping methods. You'll then need to loop through the $response->RateReplyDetails array to extract each

How track by Tracking Number Unique Identifier?

孤者浪人 提交于 2019-12-06 14:12:02
I'm having issues attempting to track a package by Tracking Number Unique Identifier. I'm working with the sample PHP code from Fedex Developer Resource Center. How can I track it using the TrackingNumberUniqueIdentifier? $path_to_wsdl = __DIR__ . "/WSDL/FEDEX/TrackService_v6.wsdl"; ini_set("soap.wsdl_cache_enabled", "0"); $client = new \Soapclient($path_to_wsdl, array('trace' => 1)); $request = array( 'WebAuthenticationDetail' => array( 'UserCredential' => array( 'Key' => #KEY#, 'Password' => #PASSWORD# ) ), 'ClientDetail' => array( 'AccountNumber' => #SHIPACCOUNT#, 'MeterNumber' => #METER# )

FedEx 556 - No valid services available. when there should be

偶尔善良 提交于 2019-12-05 01:23:12
问题 Hi I'm trying to use the wsdl api to get shipping cost calculated for my website. I'm using opencart and this module (http://www.opencart.com/index.php?route=extension/extension/info&extension_id=2055&filter_search=fedex&sort=e.date_modified&order=DESC). On checkout I'm getting this error: WARNING::556::There are no valid services available. But I tried the same from and to address on the calculator on the fedex website and it gives me two services: International Priority and International

Magento Fedex Shipping Method Currency

半城伤御伤魂 提交于 2019-12-02 15:42:51
问题 I have magento site with base currency and display is IDR, but the Fedex shipping was calculated the USD price. How can I set the Fedex display currency in IDR? Any help will be appreciate Thanks 回答1: on fedex.com/us/developer/ you will find the fedex developer manual. on page 36 for rate services it offers a solution for your question. RequestedShipment/ Preferred Currency: optional field - indicates the currency the caller requests to have used in all returned monetary values (when a choice

Magento Fedex Shipping Method Currency

别来无恙 提交于 2019-12-02 10:25:31
I have magento site with base currency and display is IDR, but the Fedex shipping was calculated the USD price. How can I set the Fedex display currency in IDR? Any help will be appreciate Thanks on fedex.com/us/developer/ you will find the fedex developer manual. on page 36 for rate services it offers a solution for your question. RequestedShipment/ Preferred Currency: optional field - indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). <xs:element name="PreferredCurrency" type="xs:string" minOccurs="0"> <xs:annotation> <xs

Fedex Web Services: ERROR 9040 - Can't pull up tracking

放肆的年华 提交于 2019-12-01 22:24:56
问题 I'm having issues attempting to pull up tracking info using Fedex's Web Services. I am using a valid tracking number and I'm able to view the details on Fedex's site. However, I get an error 9040 "No information for the following shipments has been received by our system yet. Please try again or contact Customer Service at 1.800.Go.FedEx(R) 800.463.3339." Am I leaving something out? My code: <?php $path_to_wsdl = "URL_TO_WSDL"; ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient

Fedex Web Services: ERROR 9040 - Can't pull up tracking

我是研究僧i 提交于 2019-12-01 19:12:23
I'm having issues attempting to pull up tracking info using Fedex's Web Services. I am using a valid tracking number and I'm able to view the details on Fedex's site. However, I get an error 9040 "No information for the following shipments has been received by our system yet. Please try again or contact Customer Service at 1.800.Go.FedEx(R) 800.463.3339." Am I leaving something out? My code: <?php $path_to_wsdl = "URL_TO_WSDL"; ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient($path_to_wsdl, array('trace' => 1)); $request['WebAuthenticationDetail'] = array( 'UserCredential' =

Woocommerce, hide shipping method based on shipping class

╄→尐↘猪︶ㄣ 提交于 2019-11-30 14:52:44
I'm trying to hide all but one shipping method based on the shipping class, essentially forcing the FedEx overnight method when a product belonging to a specific class is selected. I'm starting with this code , and modifying it as indicated below: add_filter( 'woocommerce_available_shipping_methods', 'hide_shipping_based_on_class' , 10, 1 ); function check_cart_for_share() { // load the contents of the cart into an array. global $woocommerce; $cart = $woocommerce->cart->cart_contents; $found = false; // loop through the array looking for the tag you set. Switch to true if the tag is found.

Tracking API for Fedex and UPS [closed]

*爱你&永不变心* 提交于 2019-11-30 06:26:23
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Is there any JavaScript API available for tracking Fedex and UPS packages? 回答1: I googled for same but couldn't found any. Then i decide to it by server side in ROR here it is how to get UPS and Fedex xml request and response from their test servers For Fedex: track_no = '111111111111' (This is test track no)