MagentoでFedExアカウントを設定しましたが、チェックアウトしようとすると次のようになります。
この配送方法は現在ご利用いただけません。この配送方法での発送をご希望の場合は、お問い合わせください。
これを見つけました: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>
そのため、見積もりは取得されますが、「この配送方法は現在利用できません。この配送方法を使用して配送する場合は、お問い合わせください」と表示されます。フロントエンドで。
次にどこを見ればいいですか?