I have a test running to see if we can/will use HikaShop, but I can't make the Fedex plugin work.
I managed to get the testing key to work (thanks to the post about changing the .wsdl to gatewaybeta)
but now i have two errors i can not get past.
---
This shipment qualifies for FedEx Home Delivery. Please resubmit your request with serviceType Ground Home Delivery.
There are no valid services available.
---
tried three different addresses, two of which are business address with fedex accounts and they all show up as Home delivery.
also the no services makes no sense, as home delivery is turned on, and it is selected... there also is a Free Pickup servics available.
---
Shipping method
FedEx Ground (Home Delivery) $13.20
1 package(s)
Free Instore Pickup Free shipping
---
the more disturbing error, may be the cause... i dont know
----
Warning: Invalid argument supplied for foreach() in /***********/plugins/hikashopshipping/fedex/fedex.php on line 344
----
the contents of that section code are as follows... line 344 is bold
---
function _getRates(&$rate, &$order, $heavyProduct, $null){
$db = JFactory::getDBO();
$total_price = 0;
$config =& hikashop_config();
$this->main_currency = $config->get('main_currency',1);
$currency = hikashop_get('class.currency');
$this->currency = $currency->get($this->main_currency);
$data=$this->currency->currency_code;
foreach($order->products as $k=>$v){
foreach($v->prices as $price){
$total_price = $total_price + $price->price_value;
}
}
$data=@$rate->shipping_params->account_number;
$data=@$rate->shipping_params->meter_id;
$data=@$rate->shipping_params->api_key;
$data=@$rate->shipping_params->api_password;
$data=@$rate->shipping_params->show_eta;
---
something is odd here... i dont get it
can anyone help!