alert shows Invalid Shipping method while click continue button in Shipping Information section in Magento 1.9

alert shows Invalid Shipping method while click continue button in Shipping Information section in Magento 1.9

October 16, 2026 · Illustrated author avatarBy Stefan Bogdanescu
alert shows Invalid Shipping method while click continue button in Shipping Information section in Magento 1.9

Solving Invalid Shipping Method Alerts in Magento 1.9

You’re encountering an Invalid Shipping method alert when trying to proceed from the Shipping Information section of your Magento 1.9 checkout process. Let’s troubleshoot this issue step by step.

Understanding the Issue

Your current setup includes only the Billing, Shipping, Payment, and Order Review sections during checkout. When you try to move from Billing to Shipping, an alert pops up stating “Invalid Shipping method.” However, if you skip the Shipping section entirely, you can proceed normally to the Payment Information stage.

Analyzing the Controller Action

The core of your problem lies in the saveShippingAction() function within the OnepageController.php file located at app\code\core\Mage\Checkout\controllers.

public function saveShippingAction()
{
    ...

    $method = 'freeshipping_freeshipping';
    $result = $this->getOnepage()->saveShippingMethod($method);

    if (!isset($result['error'])) {
        ...
    }
}

The code is set up to save the Free Shipping method after saving the shipping address. However, the issue arises when this method isn’t actually enabled in your backend configuration.

Resolving the Issue

1. Enable Free Shipping Method

First, ensure that your Free Shipping method is properly configured and enabled. Navigate to the Magento admin panel:

  • Go to System → Configuration → Sales → Shipping Methods
  • Find the Free Shipping option
  • Set its Enabled status to Yes
  • Save all changes

2. Flush Cache

After updating your configuration, it’s crucial to flush Magento’s cache:

  • In your admin panel, navigate to System → Cache Management
  • Select all cache types (except for Config Cache)
  • Click the Flush Magento Cache button
  • Confirm by clicking Flush Cache Storage

3. Check Server Configuration

Since the issue doesn’t occur on your local machine but does appear on your server, there might be conflicts due to different environments or misconfigured settings.

Ensure that both machines have similar PHP versions and that all necessary extensions (like SOAP client for Magento’s shipping methods) are installed and enabled.

Best Practices for Shipping Method Management

To avoid such issues in the future:

  • Always ensure that your shipping methods are properly configured and enabled before running a live store.
  • Regularly check and maintain your server configuration to match your local development environment as closely as possible.
  • Keep your Magento version up-to-date with the latest security patches and stable releases.

Conclusion

The Invalid Shipping Method alert is resolved by correctly enabling the Free Shipping method in your backend configuration and ensuring that both your local and production environments are properly configured for Magento’s shipping functionality. Always double-check your server settings to prevent such environment-specific issues.

For more detailed guides on managing and troubleshooting Magento, consider exploring our comprehensive tutorials at Laravel Company. We provide expert insights and best practices for working with this powerful e-commerce platform.

Magento 1 Checkout Admin Configuration

Our network