# magepal/magento2-customshippingrate

> Set your own Custom Shipping rates for admin order or create predefined shipping methods for frontend customers

`composer require magepal/magento2-customshippingrate`

Canonical URL: https://packagento.com/magepal/magento2-customshippingrate

## At a glance

- **Vendor**: magepal (https://packagento.com/magepal.md)
- **Latest version**: 1.9.1 — released 2026-05-14
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/magepal/magento2-customshippingrate and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require magepal/magento2-customshippingrate:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Set your own Custom Shipping rates for admin order or create predefined shipping methods for frontend customers

## README

<a href="https://www.magepal.com" title="Magento Extension App Store"><img src="https://image.ibb.co/dHBkYH/Magepal_logo.png" width="100" align="right" alt="MagePal - Magento Extension MarketPlace" /></a>

## Custom Flat Fee Shipping Rates for Magento2 / Adobe Commerce

[![Total Downloads](https://poser.pugx.org/magepal/magento2-customshippingrate/downloads)](https://packagist.org/packages/magepal/magento2-customshippingrate)
[![Latest Stable Version](https://poser.pugx.org/magepal/magento2-customshippingrate/v/stable)](https://packagist.org/packages/magepal/magento2-customshippingrate)

<a href="https://www.magepal.com/magento2/extensions/shipping.html" ><img alt="Magento Shipping Extensions" src="https://user-images.githubusercontent.com/1415141/109374323-86591a00-7882-11eb-82c1-b5bb58ca77fe.png" /></a>

As a Magento / Adobe Commerce merchant completing with other major brands, providing simple flat rate shipping is essential to your business success. Our Magento 2 custom flat shipping method extension adds two essential functionality to your Magento store which gives you fully take control your store shipping options by providing the ability to quickly add custom flat fee shipping rates to both admin order creation or display a simple list of flat rates to your website customers. So whether you are using United States Postal Services, United Parcel Service, Federal Express, DHL or any other carriers, our Magento2 shipping extension makes it easy for you to quickly add simple flat rate shipping fees to your Magento site.

#### Custom Shipping Rate for Admin Order
Whether you are creating a new order or canceling and rewriting existing orders in Magento Admin, our admin shipping extension gives you the ability to apply a custom shipping rate, method, and description to any order. This free extension is essential for businesses that do a lot of phone orders or mail orders and want to offer special shipping cost for individual customers. With our admin shipping plugin extension changing shipping amount for a particular order is as easy as entering the shipping amount instead of choosing predefined standard shipping rates and invoice your customer as you would with any standard shipping rate.

#### Order Package Tracking
Want to add FedEx, UPS, USPS or DHL order package tracking to your Magento store? Learn more about our [Order Package Tracking for Magento 2](https://www.magepal.com/order-shipment-tracking-for-magento-2.html) extension. Improve your average customer acquisition cost by upselling more products and services to each customer.

#### Custom Shipping Rate for Admin Order
Whether you are creating a new order or canceling and rewriting existing orders in Magento Admin, our admin shipping extension gives you the ability to apply a custom shipping rate, method, and description to any order. This free extension is essential for businesses that do a lot of phone orders or mail orders and want to offer special shipping cost for individual customers. With our admin shipping plugin extension changing shipping amount for a particular order is as easy as entering the shipping amount instead of choosing predefined standard shipping rates and invoice your customer as you would with any standard shipping rate.

![Adobe Commerce Custom Shippiing Rate Admin](https://image.ibb.co/ijTPtH/Custom_Shipping_Rate_for_Magento2_by_Magepal.gif)

#### Frontend Shipping Methods
Instead of using complex shipping table rates, our extension simplifies your checkout process by giving you the ability to create an unlimited number of flat price shipping methods. Perfect for e-commerce stores that offer flat shipping price for all their products. Improve your order conversion rate by offering your customers a simple checkout process using our shipping extension

![Magento2 Custom Shippiing Method Frontend](https://image.ibb.co/hjHHDH/Custom_Shipping_Rate_for_Magento2_frontend.png)

#### How to Configure Magento / Adobe Commerce Shipping Rate
Setting up our shipping method is as simple as entering four options for your different rate.

![Magento2 Custom Shippiing price Configuration](https://user-images.githubusercontent.com/1415141/38053884-457a6ba6-32a3-11e8-86bd-97245b7a0356.png)


#### Documentation

 - [How to Install Custom Flat Fee Shipping Rates for Magento2](https://www.magepal.com/help/docs/configure-custom-shipping-methods-magento-2/#installation)

 - [How to Setup Custom Shipping Rates for Magento2](https://www.magepal.com/help/docs/configure-custom-shipping-methods-magento-2/#configuration)
 

#### Installation

###### Using Composer (recommended)

```
composer require magepal/magento2-customshippingrate
```

Contribution
---
Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests). For fast Premium Support visit our [Custom Shipping Rates](https://www.magepal.com/magento2/extensions/custom-shipping-rates-for-magento-2.html?utm_source=Custom%20Shipping%20Rates&utm_medium=Premium%20Support) product page for detail.


Support
---
If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/magepal/magento2-custom-shipping-rate/issues).

Need help setting up or want to customize this extension to meet your business needs? Please email support@magepal.com and if we like your idea we will add this feature for free or at a discounted rate.

_(README truncated for .md surface. Full README on https://packagento.com/magepal/magento2-customshippingrate.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.9.1 | 2026-05-14 |
| 1.9.0 | 2026-01-14 |
| 1.8.3 | 2025-04-16 |
| 1.8.2 | 2024-05-01 |
| 1.8.1 | 2023-03-16 |
| 1.8.0 | 2022-04-27 |
| 1.7.0 | 2021-02-27 |
| 1.6.7 | 2020-08-10 |
| 1.6.6 | 2020-07-03 |
| 1.6.5 | 2019-10-10 |

Showing 10 of 26 versions. Full release history on https://packagento.com/magepal/magento2-customshippingrate.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | 103.0.* |
| magento/module-backend | 102.0.* |
| magepal/magento2-core | >=1.1.14 |
| php | ~8.3.0\|~8.4.0\|~8.5.0 |

## Quality

Latest release (1.9.1) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | not tested | Pass | – | – |
| 2.4.8 | – | not tested | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 57 | 7 errors, 50 warnings (ruleset: Magento2) — 33 auto-fixable with phpcbf |
| PHPMD | Warning | 3 | 3 rule violations (IfStatementAssignment:2, UnusedFormalParameter:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | 4 | – | – |
| 2.4.8 | – | 4 | 4 | – |
| 2.4.9 | – | – | 4 | 4 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["magepal/magento2-customshippingrate"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

magepal is a Magento 2 vendor on Packagento. See https://packagento.com/magepal.md for their full catalogue.

