紛紛在Magento的聯邦快遞帳號,而是試圖結帳我收到的時候:Magento的:設立聯邦快遞送貨,但它仍然是現在可供用戶
這種運輸方式是當前不可用。如果您想使用此送貨方式發貨,請與我們聯繫。
發現這一點:http://www.magentocommerce.com/boards/viewthread/6996/P0/ 貨幣是美元,ZIP是10033(看起來很好)
他們的建議是:
// find:
$responseBody = curl_exec($ch);
// add:
Mage::log($responseBody);
試過了,可是沒有錯誤!這裏的答案:
<?xml version="1.0" encoding="UTF-8"?>
<FDXRateAvailableServicesReply xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ReplyHeader></ReplyHeader>
<Entry>
<Service>GROUNDHOMEDELIVERY</Service>
<Packaging>YOURPACKAGING</Packaging>
<TimeInTransit>1</TimeInTransit>
<EstimatedCharges>
<DimWeightUsed>false</DimWeightUsed>
<BilledWeight>10.0</BilledWeight>
<DiscountedCharges>
<BaseCharge>6.86</BaseCharge>
<TotalDiscount>0.00</TotalDiscount>
<TotalSurcharge>3.24</TotalSurcharge>
<NetCharge>10.10</NetCharge>
<EarnedDiscount>0.00</EarnedDiscount>
</DiscountedCharges>
</EstimatedCharges>
<SignatureOption>NONE</SignatureOption>
</Entry>
<Entry>
<Service>FEDEXGROUND</Service>
<Packaging>YOURPACKAGING</Packaging>
<TimeInTransit>1</TimeInTransit>
<EstimatedCharges>
<DimWeightUsed>false</DimWeightUsed>
<BilledWeight>10.0</BilledWeight>
<DiscountedCharges>
<BaseCharge>6.86</BaseCharge>
<TotalDiscount>0.00</TotalDiscount>
<TotalSurcharge>3.56</TotalSurcharge>
<NetCharge>10.42</NetCharge>
<EarnedDiscount>0.00</EarnedDiscount>
</DiscountedCharges>
</EstimatedCharges>
<SignatureOption>NONE</SignatureOption>
</Entry>
</FDXRateAvailableServicesReply>
因此,它得到的報價,但還是說:「這種運輸方式是當前不可用。如果你想使用這種運輸方式運送,請與我們聯繫。」在前端。
下一步該去哪裏?